Share via


Microsoft.EventGrid systemTopics

Bicep リソース定義

systemTopics リソースの種類は、次を対象とする操作と共にデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.EventGrid/systemTopics リソースを作成するには、次の Bicep をテンプレートに追加します。

resource symbolicname 'Microsoft.EventGrid/systemTopics@2023-12-15-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  identity: {
    principalId: 'string'
    tenantId: 'string'
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {
        clientId: 'string'
        principalId: 'string'
      }
    }
  }
  properties: {
    source: 'string'
    topicType: 'string'
  }
}

プロパティ値

systemTopics

名前 説明
name リソース名 string (必須)
location リソースの場所。 string (必須)
tags リソースのタグ。 タグの名前と値のディクショナリ。 「テンプレート内のタグ」を参照してください
identity リソースの ID 情報。 IdentityInfo
properties システム トピックのプロパティ。 SystemTopicProperties

IdentityInfo

名前 説明
principalId リソース ID のプリンシパル ID。 string
tenantId リソースのテナント ID。 string
type 使用されるマネージド ID の種類。 型 'SystemAssigned, UserAssigned' には、暗黙的に作成された ID とユーザー割り当て ID のセットの両方が含まれます。 型 'None' では、任意の ID が削除されます。 'None'
'SystemAssigned'
'SystemAssigned、UserAssigned'
'UserAssigned'
userAssignedIdentities リソースに関連付けられているユーザー ID の一覧。 ユーザー ID ディクショナリ キー参照は、次の形式の ARM リソース ID になります。
'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'
このプロパティは現在使用されておらず、今後の使用のために予約されています。
IdentityInfoUserAssignedIdentities

IdentityInfoUserAssignedIdentities

名前 説明
{カスタマイズされたプロパティ} UserIdentityProperties

UserIdentityProperties

名前 説明
clientId ユーザー割り当て ID のクライアント ID。 string
principalId ユーザー割り当て ID のプリンシパル ID。 string

SystemTopicProperties

名前 説明
source システム トピックのソース。 string
topicType システム トピックの TopicType。 string

クイック スタート テンプレート

次のクイックスタート テンプレートでは、このリソースの種類をデプロイします。

Template 説明
Blob Storage と Event Grid サブスクリプションを BLOB に作成する

Azure にデプロイする
Azure Blob Storageアカウントを作成し、その BLOB への Event Grid サブスクリプションを作成します。

ARM テンプレート リソース定義

systemTopics リソースの種類は、次を対象とする操作と共にデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.EventGrid/systemTopics リソースを作成するには、次の JSON をテンプレートに追加します。

{
  "type": "Microsoft.EventGrid/systemTopics",
  "apiVersion": "2023-12-15-preview",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "identity": {
    "principalId": "string",
    "tenantId": "string",
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
        "clientId": "string",
        "principalId": "string"
      }
    }
  },
  "properties": {
    "source": "string",
    "topicType": "string"
  }
}

プロパティ値

systemTopics

名前 説明
type リソースの種類 'Microsoft.EventGrid/systemTopics'
apiVersion リソース API のバージョン '2023-12-15-preview'
name リソース名 string (必須)
location リソースの場所。 string (必須)
tags リソースのタグ。 タグの名前と値のディクショナリ。 「テンプレート内のタグ」を参照してください
identity リソースの ID 情報。 IdentityInfo
properties システム トピックのプロパティ。 SystemTopicProperties

IdentityInfo

名前 説明
principalId リソース ID のプリンシパル ID。 string
tenantId リソースのテナント ID。 string
type 使用されるマネージド ID の種類。 型 'SystemAssigned, UserAssigned' には、暗黙的に作成された ID とユーザー割り当て ID のセットの両方が含まれます。 型 'None' では、任意の ID が削除されます。 'None'
'SystemAssigned'
'SystemAssigned、UserAssigned'
'UserAssigned'
userAssignedIdentities リソースに関連付けられているユーザー ID の一覧。 ユーザー ID ディクショナリ キー参照は、次の形式の ARM リソース ID になります。
'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'
このプロパティは現在使用されておらず、今後の使用のために予約されています。
IdentityInfoUserAssignedIdentities

IdentityInfoUserAssignedIdentities

名前 説明
{カスタマイズされたプロパティ} UserIdentityProperties

UserIdentityProperties

名前 説明
clientId ユーザー割り当て ID のクライアント ID。 string
principalId ユーザー割り当て ID のプリンシパル ID。 string

SystemTopicProperties

名前 説明
source システム トピックのソース。 string
topicType システム トピックの TopicType。 string

クイック スタート テンプレート

次のクイックスタート テンプレートでは、このリソースの種類をデプロイします。

Template 説明
Blob Storage と Event Grid サブスクリプションを BLOB に作成する

Azure にデプロイする
Azure Blob Storageアカウントを作成し、その BLOB への Event Grid サブスクリプションを作成します。

Terraform (AzAPI プロバイダー) リソース定義

systemTopics リソースの種類は、次を対象とする操作と共にデプロイできます。

  • リソース グループ

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.EventGrid/systemTopics リソースを作成するには、次の Terraform をテンプレートに追加します。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.EventGrid/systemTopics@2023-12-15-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type = "string"
    identity_ids = []
  }
  body = jsonencode({
    properties = {
      source = "string"
      topicType = "string"
    }
  })
}

プロパティ値

systemTopics

名前 説明
type リソースの種類 "Microsoft.EventGrid/systemTopics@2023-12-15-preview"
name リソース名 string (必須)
location リソースの場所。 string (必須)
parent_id リソース グループにデプロイするには、そのリソース グループの ID を使用します。 string (必須)
tags リソースのタグ。 タグの名前と値のディクショナリ。
identity リソースの ID 情報。 IdentityInfo
properties システム トピックのプロパティ。 SystemTopicProperties

IdentityInfo

名前 説明
type 使用されるマネージド ID の種類。 型 'SystemAssigned, UserAssigned' には、暗黙的に作成された ID とユーザー割り当て ID のセットの両方が含まれます。 型 'None' では、任意の ID が削除されます。 "SystemAssigned"
"SystemAssigned、UserAssigned"
"UserAssigned"
identity_ids リソースに関連付けられているユーザー ID の一覧。 ユーザー ID ディクショナリ キー参照は、次の形式の ARM リソース ID になります。
'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'
このプロパティは現在使用されておらず、今後の使用のために予約されています。
ユーザー ID ID の配列。

IdentityInfoUserAssignedIdentities

名前 説明
{カスタマイズされたプロパティ} UserIdentityProperties

UserIdentityProperties

名前 説明
clientId ユーザー割り当て ID のクライアント ID。 string
principalId ユーザー割り当て ID のプリンシパル ID。 string

SystemTopicProperties

名前 説明
source システム トピックのソース。 string
topicType システム トピックの TopicType。 string