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 partnerNamespaces 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/partnerNamespaces resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.EventGrid/partnerNamespaces@2020-04-01-preview' = {
scope: resourceSymbolicName or scope
location: 'string'
name: 'string'
properties: {
partnerRegistrationFullyQualifiedId: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.EventGrid/partnerNamespaces
| Name | Description | Value |
|---|---|---|
| location | Location of the resource. | string (required) |
| name | The resource name | string (required) |
| properties | Properties of the partner namespace. | PartnerNamespaceProperties |
| scope | Use when creating a resource at a scope that is different than the deployment scope. | Set this property to the symbolic name of a resource to apply the extension resource. |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
PartnerNamespaceProperties
| Name | Description | Value |
|---|---|---|
| partnerRegistrationFullyQualifiedId | The fully qualified ARM Id of the partner registration that should be associated with this partner namespace. This takes the following format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}. |
string |
TrackedResourceTags
| Name | Description | Value |
|---|
ARM template resource definition
The partnerNamespaces 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/partnerNamespaces resource, add the following JSON to your template.
{
"type": "Microsoft.EventGrid/partnerNamespaces",
"apiVersion": "2020-04-01-preview",
"name": "string",
"location": "string",
"properties": {
"partnerRegistrationFullyQualifiedId": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.EventGrid/partnerNamespaces
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2020-04-01-preview' |
| location | Location of the resource. | string (required) |
| name | The resource name | string (required) |
| properties | Properties of the partner namespace. | PartnerNamespaceProperties |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| type | The resource type | 'Microsoft.EventGrid/partnerNamespaces' |
PartnerNamespaceProperties
| Name | Description | Value |
|---|---|---|
| partnerRegistrationFullyQualifiedId | The fully qualified ARM Id of the partner registration that should be associated with this partner namespace. This takes the following format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}. |
string |
TrackedResourceTags
| Name | Description | Value |
|---|
Usage Examples
Terraform (AzAPI provider) resource definition
The partnerNamespaces 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/partnerNamespaces resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.EventGrid/partnerNamespaces@2020-04-01-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
partnerRegistrationFullyQualifiedId = "string"
}
}
}
Property Values
Microsoft.EventGrid/partnerNamespaces
| Name | Description | Value |
|---|---|---|
| location | Location of the resource. | string (required) |
| name | The resource name | string (required) |
| parent_id | The ID of the resource to apply this extension resource to. | string (required) |
| properties | Properties of the partner namespace. | PartnerNamespaceProperties |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "Microsoft.EventGrid/partnerNamespaces@2020-04-01-preview" |
PartnerNamespaceProperties
| Name | Description | Value |
|---|---|---|
| partnerRegistrationFullyQualifiedId | The fully qualified ARM Id of the partner registration that should be associated with this partner namespace. This takes the following format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}. |
string |
TrackedResourceTags
| Name | Description | Value |
|---|