Microsoft.EventGrid namespaces/clients 2023-12-15-preview

Bicep resource definition

The namespaces/clients resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.EventGrid/namespaces/clients resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.EventGrid/namespaces/clients@2023-12-15-preview' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    attributes: {
      {customized property}: any(...)
    }
    authenticationName: 'string'
    clientCertificateAuthentication: {
      allowedThumbprints: [
        'string'
      ]
      validationScheme: 'string'
    }
    description: 'string'
    state: 'string'
  }
}

Property Values

ClientCertificateAuthentication

Name Description Value
allowedThumbprints The list of thumbprints that are allowed during client authentication. This property is required only if the validationScheme is 'ThumbprintMatch'. string[]
validationScheme The validation scheme used to authenticate the client. Default value is SubjectMatchesAuthenticationName. 'DnsMatchesAuthenticationName'
'EmailMatchesAuthenticationName'
'IpMatchesAuthenticationName'
'SubjectMatchesAuthenticationName'
'ThumbprintMatch'
'UriMatchesAuthenticationName'

ClientProperties

Name Description Value
attributes Attributes for the client. Supported values are int, bool, string, string[].
Example:
"attributes": { "room": "345", "floor": 12, "deviceTypes": ["Fan", "Light"] }
ClientPropertiesAttributes
authenticationName The name presented by the client for authentication. The default value is the name of the resource. string
clientCertificateAuthentication The client certificate authentication information. ClientCertificateAuthentication
description Description for the Client resource. string
state Indicates if the client is enabled or not. Default value is Enabled. 'Disabled'
'Enabled'

ClientPropertiesAttributes

Name Description Value

Microsoft.EventGrid/namespaces/clients

Name Description Value
name The resource name string

Constraints:
Min length = 1
Max length = 128
Pattern = ^[-a-zA-Z0-9:\._]*$ (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: namespaces
properties The properties of client. ClientProperties

ARM template resource definition

The namespaces/clients resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.EventGrid/namespaces/clients resource, add the following JSON to your template.

{
  "type": "Microsoft.EventGrid/namespaces/clients",
  "apiVersion": "2023-12-15-preview",
  "name": "string",
  "properties": {
    "attributes": {
      "{customized property}": {}
    },
    "authenticationName": "string",
    "clientCertificateAuthentication": {
      "allowedThumbprints": [ "string" ],
      "validationScheme": "string"
    },
    "description": "string",
    "state": "string"
  }
}

Property Values

ClientCertificateAuthentication

Name Description Value
allowedThumbprints The list of thumbprints that are allowed during client authentication. This property is required only if the validationScheme is 'ThumbprintMatch'. string[]
validationScheme The validation scheme used to authenticate the client. Default value is SubjectMatchesAuthenticationName. 'DnsMatchesAuthenticationName'
'EmailMatchesAuthenticationName'
'IpMatchesAuthenticationName'
'SubjectMatchesAuthenticationName'
'ThumbprintMatch'
'UriMatchesAuthenticationName'

ClientProperties

Name Description Value
attributes Attributes for the client. Supported values are int, bool, string, string[].
Example:
"attributes": { "room": "345", "floor": 12, "deviceTypes": ["Fan", "Light"] }
ClientPropertiesAttributes
authenticationName The name presented by the client for authentication. The default value is the name of the resource. string
clientCertificateAuthentication The client certificate authentication information. ClientCertificateAuthentication
description Description for the Client resource. string
state Indicates if the client is enabled or not. Default value is Enabled. 'Disabled'
'Enabled'

ClientPropertiesAttributes

Name Description Value

Microsoft.EventGrid/namespaces/clients

Name Description Value
apiVersion The api version '2023-12-15-preview'
name The resource name string

Constraints:
Min length = 1
Max length = 128
Pattern = ^[-a-zA-Z0-9:\._]*$ (required)
properties The properties of client. ClientProperties
type The resource type 'Microsoft.EventGrid/namespaces/clients'

Usage Examples

Terraform (AzAPI provider) resource definition

The namespaces/clients resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.EventGrid/namespaces/clients resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.EventGrid/namespaces/clients@2023-12-15-preview"
  name = "string"
  body = jsonencode({
    properties = {
      attributes = {
        {customized property} = ?
      }
      authenticationName = "string"
      clientCertificateAuthentication = {
        allowedThumbprints = [
          "string"
        ]
        validationScheme = "string"
      }
      description = "string"
      state = "string"
    }
  })
}

Property Values

ClientCertificateAuthentication

Name Description Value
allowedThumbprints The list of thumbprints that are allowed during client authentication. This property is required only if the validationScheme is 'ThumbprintMatch'. string[]
validationScheme The validation scheme used to authenticate the client. Default value is SubjectMatchesAuthenticationName. 'DnsMatchesAuthenticationName'
'EmailMatchesAuthenticationName'
'IpMatchesAuthenticationName'
'SubjectMatchesAuthenticationName'
'ThumbprintMatch'
'UriMatchesAuthenticationName'

ClientProperties

Name Description Value
attributes Attributes for the client. Supported values are int, bool, string, string[].
Example:
"attributes": { "room": "345", "floor": 12, "deviceTypes": ["Fan", "Light"] }
ClientPropertiesAttributes
authenticationName The name presented by the client for authentication. The default value is the name of the resource. string
clientCertificateAuthentication The client certificate authentication information. ClientCertificateAuthentication
description Description for the Client resource. string
state Indicates if the client is enabled or not. Default value is Enabled. 'Disabled'
'Enabled'

ClientPropertiesAttributes

Name Description Value

Microsoft.EventGrid/namespaces/clients

Name Description Value
name The resource name string

Constraints:
Min length = 1
Max length = 128
Pattern = ^[-a-zA-Z0-9:\._]*$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: namespaces
properties The properties of client. ClientProperties
type The resource type "Microsoft.EventGrid/namespaces/clients@2023-12-15-preview"