1. Packages
  2. Azure Native v2
  3. API Docs
  4. eventgrid
  5. Client
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.eventgrid.Client

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

The Client resource. Azure REST API version: 2023-06-01-preview.

Other available API versions: 2023-12-15-preview, 2024-06-01-preview, 2024-12-15-preview.

Example Usage

Clients_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var client = new AzureNative.EventGrid.Client("client", new()
    {
        Attributes = new Dictionary<string, object?>
        {
            ["deviceTypes"] = new[]
            {
                "Fan",
                "Light",
                "AC",
            },
            ["floor"] = 3,
            ["room"] = "345",
        },
        ClientCertificateAuthentication = new AzureNative.EventGrid.Inputs.ClientCertificateAuthenticationArgs
        {
            ValidationScheme = AzureNative.EventGrid.ClientCertificateValidationScheme.SubjectMatchesAuthenticationName,
        },
        ClientName = "exampleClientName1",
        Description = "This is a test client",
        NamespaceName = "exampleNamespaceName1",
        ResourceGroupName = "examplerg",
        State = AzureNative.EventGrid.ClientState.Enabled,
    });

});
Copy
package main

import (
	eventgrid "github.com/pulumi/pulumi-azure-native-sdk/eventgrid/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := eventgrid.NewClient(ctx, "client", &eventgrid.ClientArgs{
			Attributes: pulumi.Any(map[string]interface{}{
				"deviceTypes": []string{
					"Fan",
					"Light",
					"AC",
				},
				"floor": 3,
				"room":  "345",
			}),
			ClientCertificateAuthentication: &eventgrid.ClientCertificateAuthenticationArgs{
				ValidationScheme: pulumi.String(eventgrid.ClientCertificateValidationSchemeSubjectMatchesAuthenticationName),
			},
			ClientName:        pulumi.String("exampleClientName1"),
			Description:       pulumi.String("This is a test client"),
			NamespaceName:     pulumi.String("exampleNamespaceName1"),
			ResourceGroupName: pulumi.String("examplerg"),
			State:             pulumi.String(eventgrid.ClientStateEnabled),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.eventgrid.Client;
import com.pulumi.azurenative.eventgrid.ClientArgs;
import com.pulumi.azurenative.eventgrid.inputs.ClientCertificateAuthenticationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var client = new Client("client", ClientArgs.builder()
            .attributes(Map.ofEntries(
                Map.entry("deviceTypes",                 
                    "Fan",
                    "Light",
                    "AC"),
                Map.entry("floor", 3),
                Map.entry("room", "345")
            ))
            .clientCertificateAuthentication(ClientCertificateAuthenticationArgs.builder()
                .validationScheme("SubjectMatchesAuthenticationName")
                .build())
            .clientName("exampleClientName1")
            .description("This is a test client")
            .namespaceName("exampleNamespaceName1")
            .resourceGroupName("examplerg")
            .state("Enabled")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const client = new azure_native.eventgrid.Client("client", {
    attributes: {
        deviceTypes: [
            "Fan",
            "Light",
            "AC",
        ],
        floor: 3,
        room: "345",
    },
    clientCertificateAuthentication: {
        validationScheme: azure_native.eventgrid.ClientCertificateValidationScheme.SubjectMatchesAuthenticationName,
    },
    clientName: "exampleClientName1",
    description: "This is a test client",
    namespaceName: "exampleNamespaceName1",
    resourceGroupName: "examplerg",
    state: azure_native.eventgrid.ClientState.Enabled,
});
Copy
import pulumi
import pulumi_azure_native as azure_native

client = azure_native.eventgrid.Client("client",
    attributes={
        "deviceTypes": [
            "Fan",
            "Light",
            "AC",
        ],
        "floor": 3,
        "room": "345",
    },
    client_certificate_authentication={
        "validation_scheme": azure_native.eventgrid.ClientCertificateValidationScheme.SUBJECT_MATCHES_AUTHENTICATION_NAME,
    },
    client_name="exampleClientName1",
    description="This is a test client",
    namespace_name="exampleNamespaceName1",
    resource_group_name="examplerg",
    state=azure_native.eventgrid.ClientState.ENABLED)
Copy
resources:
  client:
    type: azure-native:eventgrid:Client
    properties:
      attributes:
        deviceTypes:
          - Fan
          - Light
          - AC
        floor: 3
        room: '345'
      clientCertificateAuthentication:
        validationScheme: SubjectMatchesAuthenticationName
      clientName: exampleClientName1
      description: This is a test client
      namespaceName: exampleNamespaceName1
      resourceGroupName: examplerg
      state: Enabled
Copy

Create Client Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Client(name: string, args: ClientArgs, opts?: CustomResourceOptions);
@overload
def Client(resource_name: str,
           args: ClientArgs,
           opts: Optional[ResourceOptions] = None)

@overload
def Client(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           namespace_name: Optional[str] = None,
           resource_group_name: Optional[str] = None,
           attributes: Optional[Any] = None,
           authentication: Optional[ClientAuthenticationArgs] = None,
           authentication_name: Optional[str] = None,
           client_certificate_authentication: Optional[ClientCertificateAuthenticationArgs] = None,
           client_name: Optional[str] = None,
           description: Optional[str] = None,
           state: Optional[Union[str, ClientState]] = None)
func NewClient(ctx *Context, name string, args ClientArgs, opts ...ResourceOption) (*Client, error)
public Client(string name, ClientArgs args, CustomResourceOptions? opts = null)
public Client(String name, ClientArgs args)
public Client(String name, ClientArgs args, CustomResourceOptions options)
type: azure-native:eventgrid:Client
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ClientArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ClientArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ClientArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ClientArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ClientArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var clientResource = new AzureNative.Eventgrid.Client("clientResource", new()
{
    NamespaceName = "string",
    ResourceGroupName = "string",
    Attributes = "any",
    Authentication = 
    {
        { "certificateSubject", 
        {
            { "commonName", "string" },
            { "countryCode", "string" },
            { "organization", "string" },
            { "organizationUnit", "string" },
        } },
        { "certificateThumbprint", 
        {
            { "primary", "string" },
            { "secondary", "string" },
        } },
    },
    AuthenticationName = "string",
    ClientCertificateAuthentication = 
    {
        { "allowedThumbprints", new[]
        {
            "string",
        } },
        { "validationScheme", "string" },
    },
    ClientName = "string",
    Description = "string",
    State = "string",
});
Copy
example, err := eventgrid.NewClient(ctx, "clientResource", &eventgrid.ClientArgs{
	NamespaceName:     "string",
	ResourceGroupName: "string",
	Attributes:        "any",
	Authentication: map[string]interface{}{
		"certificateSubject": map[string]interface{}{
			"commonName":       "string",
			"countryCode":      "string",
			"organization":     "string",
			"organizationUnit": "string",
		},
		"certificateThumbprint": map[string]interface{}{
			"primary":   "string",
			"secondary": "string",
		},
	},
	AuthenticationName: "string",
	ClientCertificateAuthentication: map[string]interface{}{
		"allowedThumbprints": []string{
			"string",
		},
		"validationScheme": "string",
	},
	ClientName:  "string",
	Description: "string",
	State:       "string",
})
Copy
var clientResource = new Client("clientResource", ClientArgs.builder()
    .namespaceName("string")
    .resourceGroupName("string")
    .attributes("any")
    .authentication(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .authenticationName("string")
    .clientCertificateAuthentication(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .clientName("string")
    .description("string")
    .state("string")
    .build());
Copy
client_resource = azure_native.eventgrid.Client("clientResource",
    namespace_name=string,
    resource_group_name=string,
    attributes=any,
    authentication={
        certificateSubject: {
            commonName: string,
            countryCode: string,
            organization: string,
            organizationUnit: string,
        },
        certificateThumbprint: {
            primary: string,
            secondary: string,
        },
    },
    authentication_name=string,
    client_certificate_authentication={
        allowedThumbprints: [string],
        validationScheme: string,
    },
    client_name=string,
    description=string,
    state=string)
Copy
const clientResource = new azure_native.eventgrid.Client("clientResource", {
    namespaceName: "string",
    resourceGroupName: "string",
    attributes: "any",
    authentication: {
        certificateSubject: {
            commonName: "string",
            countryCode: "string",
            organization: "string",
            organizationUnit: "string",
        },
        certificateThumbprint: {
            primary: "string",
            secondary: "string",
        },
    },
    authenticationName: "string",
    clientCertificateAuthentication: {
        allowedThumbprints: ["string"],
        validationScheme: "string",
    },
    clientName: "string",
    description: "string",
    state: "string",
});
Copy
type: azure-native:eventgrid:Client
properties:
    attributes: any
    authentication:
        certificateSubject:
            commonName: string
            countryCode: string
            organization: string
            organizationUnit: string
        certificateThumbprint:
            primary: string
            secondary: string
    authenticationName: string
    clientCertificateAuthentication:
        allowedThumbprints:
            - string
        validationScheme: string
    clientName: string
    description: string
    namespaceName: string
    resourceGroupName: string
    state: string
Copy

Client Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Client resource accepts the following input properties:

NamespaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the namespace.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription.
Attributes object
Attributes for the client. Supported values are int, bool, string, string[]. Example: "attributes": { "room": "345", "floor": 12, "deviceTypes": ["Fan", "Light"] }
Authentication Pulumi.AzureNative.EventGrid.Inputs.ClientAuthentication
Authentication information for the client.
AuthenticationName string
The name presented by the client for authentication. The default value is the name of the resource.
ClientCertificateAuthentication Pulumi.AzureNative.EventGrid.Inputs.ClientCertificateAuthentication
The client certificate authentication information.
ClientName Changes to this property will trigger replacement. string
The client name.
Description string
Description for the Client resource.
State string | Pulumi.AzureNative.EventGrid.ClientState
Indicates if the client is enabled or not. Default value is Enabled.
NamespaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the namespace.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription.
Attributes interface{}
Attributes for the client. Supported values are int, bool, string, string[]. Example: "attributes": { "room": "345", "floor": 12, "deviceTypes": ["Fan", "Light"] }
Authentication ClientAuthenticationArgs
Authentication information for the client.
AuthenticationName string
The name presented by the client for authentication. The default value is the name of the resource.
ClientCertificateAuthentication ClientCertificateAuthenticationArgs
The client certificate authentication information.
ClientName Changes to this property will trigger replacement. string
The client name.
Description string
Description for the Client resource.
State string | ClientStateEnum
Indicates if the client is enabled or not. Default value is Enabled.
namespaceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the namespace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the user's subscription.
attributes Object
Attributes for the client. Supported values are int, bool, string, string[]. Example: "attributes": { "room": "345", "floor": 12, "deviceTypes": ["Fan", "Light"] }
authentication ClientAuthentication
Authentication information for the client.
authenticationName String
The name presented by the client for authentication. The default value is the name of the resource.
clientCertificateAuthentication ClientCertificateAuthentication
The client certificate authentication information.
clientName Changes to this property will trigger replacement. String
The client name.
description String
Description for the Client resource.
state String | ClientState
Indicates if the client is enabled or not. Default value is Enabled.
namespaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the namespace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription.
attributes any
Attributes for the client. Supported values are int, bool, string, string[]. Example: "attributes": { "room": "345", "floor": 12, "deviceTypes": ["Fan", "Light"] }
authentication ClientAuthentication
Authentication information for the client.
authenticationName string
The name presented by the client for authentication. The default value is the name of the resource.
clientCertificateAuthentication ClientCertificateAuthentication
The client certificate authentication information.
clientName Changes to this property will trigger replacement. string
The client name.
description string
Description for the Client resource.
state string | ClientState
Indicates if the client is enabled or not. Default value is Enabled.
namespace_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the namespace.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group within the user's subscription.
attributes Any
Attributes for the client. Supported values are int, bool, string, string[]. Example: "attributes": { "room": "345", "floor": 12, "deviceTypes": ["Fan", "Light"] }
authentication ClientAuthenticationArgs
Authentication information for the client.
authentication_name str
The name presented by the client for authentication. The default value is the name of the resource.
client_certificate_authentication ClientCertificateAuthenticationArgs
The client certificate authentication information.
client_name Changes to this property will trigger replacement. str
The client name.
description str
Description for the Client resource.
state str | ClientState
Indicates if the client is enabled or not. Default value is Enabled.
namespaceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the namespace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the user's subscription.
attributes Any
Attributes for the client. Supported values are int, bool, string, string[]. Example: "attributes": { "room": "345", "floor": 12, "deviceTypes": ["Fan", "Light"] }
authentication Property Map
Authentication information for the client.
authenticationName String
The name presented by the client for authentication. The default value is the name of the resource.
clientCertificateAuthentication Property Map
The client certificate authentication information.
clientName Changes to this property will trigger replacement. String
The client name.
description String
Description for the Client resource.
state String | "Enabled" | "Disabled"
Indicates if the client is enabled or not. Default value is Enabled.

Outputs

All input properties are implicitly available as output properties. Additionally, the Client resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
Name of the resource.
ProvisioningState string
Provisioning state of the Client resource.
SystemData Pulumi.AzureNative.EventGrid.Outputs.SystemDataResponse
The system metadata relating to the Client resource.
Type string
Type of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Name of the resource.
ProvisioningState string
Provisioning state of the Client resource.
SystemData SystemDataResponse
The system metadata relating to the Client resource.
Type string
Type of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Name of the resource.
provisioningState String
Provisioning state of the Client resource.
systemData SystemDataResponse
The system metadata relating to the Client resource.
type String
Type of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
Name of the resource.
provisioningState string
Provisioning state of the Client resource.
systemData SystemDataResponse
The system metadata relating to the Client resource.
type string
Type of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
Name of the resource.
provisioning_state str
Provisioning state of the Client resource.
system_data SystemDataResponse
The system metadata relating to the Client resource.
type str
Type of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Name of the resource.
provisioningState String
Provisioning state of the Client resource.
systemData Property Map
The system metadata relating to the Client resource.
type String
Type of the resource.

Supporting Types

ClientAuthentication
, ClientAuthenticationArgs

CertificateSubject Pulumi.AzureNative.EventGrid.Inputs.ClientCertificateSubjectDistinguishedName
The CA certificate subject name used for authentication.
CertificateThumbprint Pulumi.AzureNative.EventGrid.Inputs.ClientCertificateThumbprint
The self signed certificate's thumbprints data used for authentication.
CertificateSubject ClientCertificateSubjectDistinguishedName
The CA certificate subject name used for authentication.
CertificateThumbprint ClientCertificateThumbprint
The self signed certificate's thumbprints data used for authentication.
certificateSubject ClientCertificateSubjectDistinguishedName
The CA certificate subject name used for authentication.
certificateThumbprint ClientCertificateThumbprint
The self signed certificate's thumbprints data used for authentication.
certificateSubject ClientCertificateSubjectDistinguishedName
The CA certificate subject name used for authentication.
certificateThumbprint ClientCertificateThumbprint
The self signed certificate's thumbprints data used for authentication.
certificate_subject ClientCertificateSubjectDistinguishedName
The CA certificate subject name used for authentication.
certificate_thumbprint ClientCertificateThumbprint
The self signed certificate's thumbprints data used for authentication.
certificateSubject Property Map
The CA certificate subject name used for authentication.
certificateThumbprint Property Map
The self signed certificate's thumbprints data used for authentication.

ClientAuthenticationResponse
, ClientAuthenticationResponseArgs

CertificateSubject ClientCertificateSubjectDistinguishedNameResponse
The CA certificate subject name used for authentication.
CertificateThumbprint ClientCertificateThumbprintResponse
The self signed certificate's thumbprints data used for authentication.
certificateSubject ClientCertificateSubjectDistinguishedNameResponse
The CA certificate subject name used for authentication.
certificateThumbprint ClientCertificateThumbprintResponse
The self signed certificate's thumbprints data used for authentication.
certificateSubject ClientCertificateSubjectDistinguishedNameResponse
The CA certificate subject name used for authentication.
certificateThumbprint ClientCertificateThumbprintResponse
The self signed certificate's thumbprints data used for authentication.
certificate_subject ClientCertificateSubjectDistinguishedNameResponse
The CA certificate subject name used for authentication.
certificate_thumbprint ClientCertificateThumbprintResponse
The self signed certificate's thumbprints data used for authentication.
certificateSubject Property Map
The CA certificate subject name used for authentication.
certificateThumbprint Property Map
The self signed certificate's thumbprints data used for authentication.

ClientCertificateAuthentication
, ClientCertificateAuthenticationArgs

AllowedThumbprints List<string>
The list of thumbprints that are allowed during client authentication. This property is required only if the validationScheme is 'ThumbprintMatch'.
ValidationScheme string | Pulumi.AzureNative.EventGrid.ClientCertificateValidationScheme
The validation scheme used to authenticate the client. Default value is SubjectMatchesAuthenticationName.
AllowedThumbprints []string
The list of thumbprints that are allowed during client authentication. This property is required only if the validationScheme is 'ThumbprintMatch'.
ValidationScheme string | ClientCertificateValidationScheme
The validation scheme used to authenticate the client. Default value is SubjectMatchesAuthenticationName.
allowedThumbprints List<String>
The list of thumbprints that are allowed during client authentication. This property is required only if the validationScheme is 'ThumbprintMatch'.
validationScheme String | ClientCertificateValidationScheme
The validation scheme used to authenticate the client. Default value is SubjectMatchesAuthenticationName.
allowedThumbprints string[]
The list of thumbprints that are allowed during client authentication. This property is required only if the validationScheme is 'ThumbprintMatch'.
validationScheme string | ClientCertificateValidationScheme
The validation scheme used to authenticate the client. Default value is SubjectMatchesAuthenticationName.
allowed_thumbprints Sequence[str]
The list of thumbprints that are allowed during client authentication. This property is required only if the validationScheme is 'ThumbprintMatch'.
validation_scheme str | ClientCertificateValidationScheme
The validation scheme used to authenticate the client. Default value is SubjectMatchesAuthenticationName.
allowedThumbprints List<String>
The list of thumbprints that are allowed during client authentication. This property is required only if the validationScheme is 'ThumbprintMatch'.
validationScheme String | "SubjectMatchesAuthenticationName" | "DnsMatchesAuthenticationName" | "UriMatchesAuthenticationName" | "IpMatchesAuthenticationName" | "EmailMatchesAuthenticationName" | "ThumbprintMatch"
The validation scheme used to authenticate the client. Default value is SubjectMatchesAuthenticationName.

ClientCertificateAuthenticationResponse
, ClientCertificateAuthenticationResponseArgs

AllowedThumbprints List<string>
The list of thumbprints that are allowed during client authentication. This property is required only if the validationScheme is 'ThumbprintMatch'.
ValidationScheme string
The validation scheme used to authenticate the client. Default value is SubjectMatchesAuthenticationName.
AllowedThumbprints []string
The list of thumbprints that are allowed during client authentication. This property is required only if the validationScheme is 'ThumbprintMatch'.
ValidationScheme string
The validation scheme used to authenticate the client. Default value is SubjectMatchesAuthenticationName.
allowedThumbprints List<String>
The list of thumbprints that are allowed during client authentication. This property is required only if the validationScheme is 'ThumbprintMatch'.
validationScheme String
The validation scheme used to authenticate the client. Default value is SubjectMatchesAuthenticationName.
allowedThumbprints string[]
The list of thumbprints that are allowed during client authentication. This property is required only if the validationScheme is 'ThumbprintMatch'.
validationScheme string
The validation scheme used to authenticate the client. Default value is SubjectMatchesAuthenticationName.
allowed_thumbprints Sequence[str]
The list of thumbprints that are allowed during client authentication. This property is required only if the validationScheme is 'ThumbprintMatch'.
validation_scheme str
The validation scheme used to authenticate the client. Default value is SubjectMatchesAuthenticationName.
allowedThumbprints List<String>
The list of thumbprints that are allowed during client authentication. This property is required only if the validationScheme is 'ThumbprintMatch'.
validationScheme String
The validation scheme used to authenticate the client. Default value is SubjectMatchesAuthenticationName.

ClientCertificateSubjectDistinguishedName
, ClientCertificateSubjectDistinguishedNameArgs

CommonName string
The common name field in the subject name. The allowed limit is 64 characters and it should be specified.
CountryCode string
The country code field in the subject name. If present, the country code should be represented by two-letter code defined in ISO 2166-1 (alpha-2). For example: 'US'.
Organization string
The organization field in the subject name. If present, the allowed limit is 64 characters.
OrganizationUnit string
The organization unit field in the subject name. If present, the allowed limit is 32 characters.
CommonName string
The common name field in the subject name. The allowed limit is 64 characters and it should be specified.
CountryCode string
The country code field in the subject name. If present, the country code should be represented by two-letter code defined in ISO 2166-1 (alpha-2). For example: 'US'.
Organization string
The organization field in the subject name. If present, the allowed limit is 64 characters.
OrganizationUnit string
The organization unit field in the subject name. If present, the allowed limit is 32 characters.
commonName String
The common name field in the subject name. The allowed limit is 64 characters and it should be specified.
countryCode String
The country code field in the subject name. If present, the country code should be represented by two-letter code defined in ISO 2166-1 (alpha-2). For example: 'US'.
organization String
The organization field in the subject name. If present, the allowed limit is 64 characters.
organizationUnit String
The organization unit field in the subject name. If present, the allowed limit is 32 characters.
commonName string
The common name field in the subject name. The allowed limit is 64 characters and it should be specified.
countryCode string
The country code field in the subject name. If present, the country code should be represented by two-letter code defined in ISO 2166-1 (alpha-2). For example: 'US'.
organization string
The organization field in the subject name. If present, the allowed limit is 64 characters.
organizationUnit string
The organization unit field in the subject name. If present, the allowed limit is 32 characters.
common_name str
The common name field in the subject name. The allowed limit is 64 characters and it should be specified.
country_code str
The country code field in the subject name. If present, the country code should be represented by two-letter code defined in ISO 2166-1 (alpha-2). For example: 'US'.
organization str
The organization field in the subject name. If present, the allowed limit is 64 characters.
organization_unit str
The organization unit field in the subject name. If present, the allowed limit is 32 characters.
commonName String
The common name field in the subject name. The allowed limit is 64 characters and it should be specified.
countryCode String
The country code field in the subject name. If present, the country code should be represented by two-letter code defined in ISO 2166-1 (alpha-2). For example: 'US'.
organization String
The organization field in the subject name. If present, the allowed limit is 64 characters.
organizationUnit String
The organization unit field in the subject name. If present, the allowed limit is 32 characters.

ClientCertificateSubjectDistinguishedNameResponse
, ClientCertificateSubjectDistinguishedNameResponseArgs

CommonName string
The common name field in the subject name. The allowed limit is 64 characters and it should be specified.
CountryCode string
The country code field in the subject name. If present, the country code should be represented by two-letter code defined in ISO 2166-1 (alpha-2). For example: 'US'.
Organization string
The organization field in the subject name. If present, the allowed limit is 64 characters.
OrganizationUnit string
The organization unit field in the subject name. If present, the allowed limit is 32 characters.
CommonName string
The common name field in the subject name. The allowed limit is 64 characters and it should be specified.
CountryCode string
The country code field in the subject name. If present, the country code should be represented by two-letter code defined in ISO 2166-1 (alpha-2). For example: 'US'.
Organization string
The organization field in the subject name. If present, the allowed limit is 64 characters.
OrganizationUnit string
The organization unit field in the subject name. If present, the allowed limit is 32 characters.
commonName String
The common name field in the subject name. The allowed limit is 64 characters and it should be specified.
countryCode String
The country code field in the subject name. If present, the country code should be represented by two-letter code defined in ISO 2166-1 (alpha-2). For example: 'US'.
organization String
The organization field in the subject name. If present, the allowed limit is 64 characters.
organizationUnit String
The organization unit field in the subject name. If present, the allowed limit is 32 characters.
commonName string
The common name field in the subject name. The allowed limit is 64 characters and it should be specified.
countryCode string
The country code field in the subject name. If present, the country code should be represented by two-letter code defined in ISO 2166-1 (alpha-2). For example: 'US'.
organization string
The organization field in the subject name. If present, the allowed limit is 64 characters.
organizationUnit string
The organization unit field in the subject name. If present, the allowed limit is 32 characters.
common_name str
The common name field in the subject name. The allowed limit is 64 characters and it should be specified.
country_code str
The country code field in the subject name. If present, the country code should be represented by two-letter code defined in ISO 2166-1 (alpha-2). For example: 'US'.
organization str
The organization field in the subject name. If present, the allowed limit is 64 characters.
organization_unit str
The organization unit field in the subject name. If present, the allowed limit is 32 characters.
commonName String
The common name field in the subject name. The allowed limit is 64 characters and it should be specified.
countryCode String
The country code field in the subject name. If present, the country code should be represented by two-letter code defined in ISO 2166-1 (alpha-2). For example: 'US'.
organization String
The organization field in the subject name. If present, the allowed limit is 64 characters.
organizationUnit String
The organization unit field in the subject name. If present, the allowed limit is 32 characters.

ClientCertificateThumbprint
, ClientCertificateThumbprintArgs

Primary string
The primary thumbprint used for validation.
Secondary string
The secondary thumbprint used for validation.
Primary string
The primary thumbprint used for validation.
Secondary string
The secondary thumbprint used for validation.
primary String
The primary thumbprint used for validation.
secondary String
The secondary thumbprint used for validation.
primary string
The primary thumbprint used for validation.
secondary string
The secondary thumbprint used for validation.
primary str
The primary thumbprint used for validation.
secondary str
The secondary thumbprint used for validation.
primary String
The primary thumbprint used for validation.
secondary String
The secondary thumbprint used for validation.

ClientCertificateThumbprintResponse
, ClientCertificateThumbprintResponseArgs

Primary string
The primary thumbprint used for validation.
Secondary string
The secondary thumbprint used for validation.
Primary string
The primary thumbprint used for validation.
Secondary string
The secondary thumbprint used for validation.
primary String
The primary thumbprint used for validation.
secondary String
The secondary thumbprint used for validation.
primary string
The primary thumbprint used for validation.
secondary string
The secondary thumbprint used for validation.
primary str
The primary thumbprint used for validation.
secondary str
The secondary thumbprint used for validation.
primary String
The primary thumbprint used for validation.
secondary String
The secondary thumbprint used for validation.

ClientCertificateValidationScheme
, ClientCertificateValidationSchemeArgs

SubjectMatchesAuthenticationName
SubjectMatchesAuthenticationName
DnsMatchesAuthenticationName
DnsMatchesAuthenticationName
UriMatchesAuthenticationName
UriMatchesAuthenticationName
IpMatchesAuthenticationName
IpMatchesAuthenticationName
EmailMatchesAuthenticationName
EmailMatchesAuthenticationName
ThumbprintMatch
ThumbprintMatch
ClientCertificateValidationSchemeSubjectMatchesAuthenticationName
SubjectMatchesAuthenticationName
ClientCertificateValidationSchemeDnsMatchesAuthenticationName
DnsMatchesAuthenticationName
ClientCertificateValidationSchemeUriMatchesAuthenticationName
UriMatchesAuthenticationName
ClientCertificateValidationSchemeIpMatchesAuthenticationName
IpMatchesAuthenticationName
ClientCertificateValidationSchemeEmailMatchesAuthenticationName
EmailMatchesAuthenticationName
ClientCertificateValidationSchemeThumbprintMatch
ThumbprintMatch
SubjectMatchesAuthenticationName
SubjectMatchesAuthenticationName
DnsMatchesAuthenticationName
DnsMatchesAuthenticationName
UriMatchesAuthenticationName
UriMatchesAuthenticationName
IpMatchesAuthenticationName
IpMatchesAuthenticationName
EmailMatchesAuthenticationName
EmailMatchesAuthenticationName
ThumbprintMatch
ThumbprintMatch
SubjectMatchesAuthenticationName
SubjectMatchesAuthenticationName
DnsMatchesAuthenticationName
DnsMatchesAuthenticationName
UriMatchesAuthenticationName
UriMatchesAuthenticationName
IpMatchesAuthenticationName
IpMatchesAuthenticationName
EmailMatchesAuthenticationName
EmailMatchesAuthenticationName
ThumbprintMatch
ThumbprintMatch
SUBJECT_MATCHES_AUTHENTICATION_NAME
SubjectMatchesAuthenticationName
DNS_MATCHES_AUTHENTICATION_NAME
DnsMatchesAuthenticationName
URI_MATCHES_AUTHENTICATION_NAME
UriMatchesAuthenticationName
IP_MATCHES_AUTHENTICATION_NAME
IpMatchesAuthenticationName
EMAIL_MATCHES_AUTHENTICATION_NAME
EmailMatchesAuthenticationName
THUMBPRINT_MATCH
ThumbprintMatch
"SubjectMatchesAuthenticationName"
SubjectMatchesAuthenticationName
"DnsMatchesAuthenticationName"
DnsMatchesAuthenticationName
"UriMatchesAuthenticationName"
UriMatchesAuthenticationName
"IpMatchesAuthenticationName"
IpMatchesAuthenticationName
"EmailMatchesAuthenticationName"
EmailMatchesAuthenticationName
"ThumbprintMatch"
ThumbprintMatch

ClientState
, ClientStateArgs

Enabled
Enabled
Disabled
Disabled
ClientStateEnabled
Enabled
ClientStateDisabled
Disabled
Enabled
Enabled
Disabled
Disabled
Enabled
Enabled
Disabled
Disabled
ENABLED
Enabled
DISABLED
Disabled
"Enabled"
Enabled
"Disabled"
Disabled

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:eventgrid:Client exampleClientName1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/clients/{clientName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi