共用方式為


Microsoft.EventGrid systemTopics

Bicep 資源定義

systemTopics 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.EventGrid/systemTopics 資源,請將下列 Bicep 新增至範本。

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

屬性值

IdentityInfo

名字 描述 價值
principalId 資源識別的主要標識碼。 字串
tenantId 資源的租用戶標識碼。 字串
類型 所使用的受控識別類型。 類型 'SystemAssigned, UserAssigned' 包含隱含建立的身分識別和一組使用者指派的身分識別。 類型 『None』 將會移除任何身分識別。 'None'
'SystemAssigned'
'SystemAssigned, UserAssigned'
'UserAssigned'
userAssignedIdentities 與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源識別碼:
'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。
此屬性目前未使用,並保留供日後使用。
IdentityInfoUserAssignedIdentities

IdentityInfoUserAssignedIdentities

名字 描述 價值

Microsoft.EventGrid/systemTopics

名字 描述 價值
身份 資源的身分識別資訊。 IdentityInfo
位置 資源的位置。 字串 (必要)
名字 資源名稱 字串 (必要)
性能 系統主題的屬性。 SystemTopicProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

SystemTopicProperties

名字 描述 價值
系統主題的來源。 字串
topicType 系統主題的 TopicType。 字串

TrackedResourceTags

名字 描述 價值

UserIdentityProperties

名字 描述 價值
clientId 使用者指派身分識別的用戶端標識碼。 字串
principalId 使用者指派身分識別的主體標識碼。 字串

使用範例

Azure 已驗證的模組

下列 Azure 驗證模組 可用來部署此資源類型。

模組 描述
事件方格系統主題 事件方格系統主題的AVM資源模組

Azure 快速入門範例

下列 Azure 快速入門範本 包含用於部署此資源類型的 Bicep 範例。

Bicep 檔案 描述
建立 Blob 記憶體和事件方格訂用帳戶至 Blob 建立 Azure Blob 記憶體帳戶,然後建立該 Blob 的事件方格訂用帳戶。
使用事件方格連線部署 Azure 數據總管資料庫 使用事件方格聯機部署 Azure 數據總管資料庫。

ARM 樣本資源定義

systemTopics 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.EventGrid/systemTopics 資源,請將下列 JSON 新增至範本。

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

屬性值

IdentityInfo

名字 描述 價值
principalId 資源識別的主要標識碼。 字串
tenantId 資源的租用戶標識碼。 字串
類型 所使用的受控識別類型。 類型 'SystemAssigned, UserAssigned' 包含隱含建立的身分識別和一組使用者指派的身分識別。 類型 『None』 將會移除任何身分識別。 'None'
'SystemAssigned'
'SystemAssigned, UserAssigned'
'UserAssigned'
userAssignedIdentities 與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源識別碼:
'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。
此屬性目前未使用,並保留供日後使用。
IdentityInfoUserAssignedIdentities

IdentityInfoUserAssignedIdentities

名字 描述 價值

Microsoft.EventGrid/systemTopics

名字 描述 價值
apiVersion API 版本 '2024-12-15-preview'
身份 資源的身分識別資訊。 IdentityInfo
位置 資源的位置。 字串 (必要)
名字 資源名稱 字串 (必要)
性能 系統主題的屬性。 SystemTopicProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
類型 資源類型 'Microsoft.EventGrid/systemTopics'

SystemTopicProperties

名字 描述 價值
系統主題的來源。 字串
topicType 系統主題的 TopicType。 字串

TrackedResourceTags

名字 描述 價值

UserIdentityProperties

名字 描述 價值
clientId 使用者指派身分識別的用戶端標識碼。 字串
principalId 使用者指派身分識別的主體標識碼。 字串

使用範例

Azure 快速入門範本

下列 Azure 快速入門範本 部署此資源類型。

範本 描述
建立 Blob 記憶體和事件方格訂用帳戶至 Blob

部署至 Azure
建立 Azure Blob 記憶體帳戶,然後建立該 Blob 的事件方格訂用帳戶。
使用事件方格連線部署 Azure 數據總管資料庫

部署至 Azure
使用事件方格聯機部署 Azure 數據總管資料庫。

Terraform (AzAPI 提供者) 資源定義

systemTopics 資源類型可以使用目標作業來部署:

  • 資源群組

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.EventGrid/systemTopics 資源,請將下列 Terraform 新增至範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.EventGrid/systemTopics@2024-12-15-preview"
  name = "string"
  identity = {
    principalId = "string"
    tenantId = "string"
    type = "string"
    userAssignedIdentities = {
      {customized property} = {
        clientId = "string"
        principalId = "string"
      }
    }
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      source = "string"
      topicType = "string"
    }
  })
}

屬性值

IdentityInfo

名字 描述 價值
principalId 資源識別的主要標識碼。 字串
tenantId 資源的租用戶標識碼。 字串
類型 所使用的受控識別類型。 類型 'SystemAssigned, UserAssigned' 包含隱含建立的身分識別和一組使用者指派的身分識別。 類型 『None』 將會移除任何身分識別。 'None'
'SystemAssigned'
'SystemAssigned, UserAssigned'
'UserAssigned'
userAssignedIdentities 與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源識別碼:
'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。
此屬性目前未使用,並保留供日後使用。
IdentityInfoUserAssignedIdentities

IdentityInfoUserAssignedIdentities

名字 描述 價值

Microsoft.EventGrid/systemTopics

名字 描述 價值
身份 資源的身分識別資訊。 IdentityInfo
位置 資源的位置。 字串 (必要)
名字 資源名稱 字串 (必要)
性能 系統主題的屬性。 SystemTopicProperties
標籤 資源標籤 標記名稱和值的字典。
類型 資源類型 “Microsoft.EventGrid/systemTopics@2024-12-15-preview”

SystemTopicProperties

名字 描述 價值
系統主題的來源。 字串
topicType 系統主題的 TopicType。 字串

TrackedResourceTags

名字 描述 價值

UserIdentityProperties

名字 描述 價值
clientId 使用者指派身分識別的用戶端標識碼。 字串
principalId 使用者指派身分識別的主體標識碼。 字串

使用範例

Azure 已驗證的模組

下列 Azure 驗證模組 可用來部署此資源類型。

模組 描述
事件方格系統主題 事件方格系統主題的AVM資源模組