Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The domains resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.EventGrid/domains resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.EventGrid/domains@2019-06-01' = {
location: 'string'
name: 'string'
properties: {}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.EventGrid/domains
Name | Description | Value |
---|---|---|
location | Location of the resource. | string (required) |
name | The resource name | string (required) |
properties | Properties of the domain. | DomainProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
DomainProperties
Name | Description | Value |
---|
TrackedResourceTags
Name | Description | Value |
---|
Usage Examples
Azure Verified Modules
The following Azure Verified Modules can be used to deploy this resource type.
Module | Description |
---|---|
Event Grid Domain | AVM Resource Module for Event Grid Domain |
ARM template resource definition
The domains resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.EventGrid/domains resource, add the following JSON to your template.
{
"type": "Microsoft.EventGrid/domains",
"apiVersion": "2019-06-01",
"name": "string",
"location": "string",
"properties": {
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.EventGrid/domains
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2019-06-01' |
location | Location of the resource. | string (required) |
name | The resource name | string (required) |
properties | Properties of the domain. | DomainProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.EventGrid/domains' |
DomainProperties
Name | Description | Value |
---|
TrackedResourceTags
Name | Description | Value |
---|
Usage Examples
Terraform (AzAPI provider) resource definition
The domains 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/domains resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.EventGrid/domains@2019-06-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
}
}
}
Property Values
Microsoft.EventGrid/domains
Name | Description | Value |
---|---|---|
location | Location of the resource. | string (required) |
name | The resource name | string (required) |
properties | Properties of the domain. | DomainProperties |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.EventGrid/domains@2019-06-01" |
DomainProperties
Name | Description | Value |
---|
TrackedResourceTags
Name | Description | Value |
---|