Microsoft.EventGrid systemTopics

The systemTopics resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

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

Template format

To create a Microsoft.EventGrid/systemTopics resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.EventGrid/systemTopics@2021-12-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  identity: {
    principalId: 'string'
    tenantId: 'string'
    type: 'string'
    userAssignedIdentities: {}
  }
  properties: {
    source: 'string'
    topicType: 'string'
  }
}

Property values

systemTopics

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.EventGrid/systemTopics'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2021-12-01'
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
identity Identity information for the resource. IdentityInfo
properties Properties of the system topic. SystemTopicProperties

IdentityInfo

Name Description Value
principalId The principal ID of resource identity. string
tenantId The tenant ID of resource. string
type The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity. 'None'
'SystemAssigned'
'SystemAssigned, UserAssigned'
'UserAssigned'
userAssignedIdentities The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form:
'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
This property is currently not used and reserved for future usage.
object

SystemTopicProperties

Name Description Value
source Source for the system topic. string
topicType TopicType for the system topic. string

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create Blob Storage and Event Grid subscription to the Blob

Deploy to Azure
Creates Azure Blob Storage account and then creates an Event Grid subscription to that Blob.