Microsoft.EventGrid systemTopics 2020-04-01-preview

Bicep resource definition

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

resource symbolicname 'Microsoft.EventGrid/systemTopics@2020-04-01-preview' = {
  location: 'string'
  name: 'string'
  properties: {
    source: 'string'
    topicType: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property values

Microsoft.EventGrid/systemTopics

Name Description Value
location Location of the resource. string (required)
name The resource name string (required)
properties Properties of the system topic. SystemTopicProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

SystemTopicProperties

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

TrackedResourceTags

Name Description Value

Quickstart samples

The following quickstart samples deploy this resource type.

Bicep File Description
Create Blob Storage and Event Grid subscription to the Blob Creates Azure Blob Storage account and then creates an Event Grid subscription to that Blob.
Deploy Azure Data Explorer db with Event Grid connection Deploy Azure Data Explorer db with Event Grid connection.

ARM template resource definition

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

{
  "type": "Microsoft.EventGrid/systemTopics",
  "apiVersion": "2020-04-01-preview",
  "name": "string",
  "location": "string",
  "properties": {
    "source": "string",
    "topicType": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property values

Microsoft.EventGrid/systemTopics

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 system topic. SystemTopicProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.EventGrid/systemTopics'

SystemTopicProperties

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

TrackedResourceTags

Name Description Value

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.
Deploy Azure Data Explorer db with Event Grid connection

Deploy to Azure
Deploy Azure Data Explorer db with Event Grid connection.

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.EventGrid/systemTopics@2020-04-01-preview"
  name = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      source = "string"
      topicType = "string"
    }
  })
}

Property values

Microsoft.EventGrid/systemTopics

Name Description Value
location Location of the resource. string (required)
name The resource name string (required)
properties Properties of the system topic. SystemTopicProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.EventGrid/systemTopics@2020-04-01-preview"

SystemTopicProperties

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

TrackedResourceTags

Name Description Value