Microsoft.EventGrid partnerNamespaces 2020-04-01-preview

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' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  properties: {
    partnerRegistrationFullyQualifiedId: 'string'
  }
}

Property values

partnerNamespaces

Name Description Value
name The resource name string (required)
location Location of the resource. string (required)
tags Tags of the resource. Dictionary of tag names and values. See Tags in templates
properties Properties of the partner namespace. PartnerNamespaceProperties

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

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",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "partnerRegistrationFullyQualifiedId": "string"
  }
}

Property values

partnerNamespaces

Name Description Value
type The resource type 'Microsoft.EventGrid/partnerNamespaces'
apiVersion The resource api version '2020-04-01-preview'
name The resource name string (required)
location Location of the resource. string (required)
tags Tags of the resource. Dictionary of tag names and values. See Tags in templates
properties Properties of the partner namespace. PartnerNamespaceProperties

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

Terraform (AzAPI provider) resource definition

The partnerNamespaces 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/partnerNamespaces resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.EventGrid/partnerNamespaces@2020-04-01-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      partnerRegistrationFullyQualifiedId = "string"
    }
  })
}

Property values

partnerNamespaces

Name Description Value
type The resource type "Microsoft.EventGrid/partnerNamespaces@2020-04-01-preview"
name The resource name string (required)
location Location of the resource. string (required)
parent_id To deploy to a resource group, use the ID of that resource group. string (required)
tags Tags of the resource. Dictionary of tag names and values.
properties Properties of the partner namespace. PartnerNamespaceProperties

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