共用方式為


Microsoft.EventGrid 命名空間 2023-12-15-preview

Bicep 資源定義

命名空間資源類型可以使用目標作業進行部署:

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

資源格式

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

resource symbolicname 'Microsoft.EventGrid/namespaces@2023-12-15-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  sku: {
    capacity: int
    name: 'Standard'
  }
  identity: {
    principalId: 'string'
    tenantId: 'string'
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {
        clientId: 'string'
        principalId: 'string'
      }
    }
  }
  properties: {
    inboundIpRules: [
      {
        action: 'Allow'
        ipMask: 'string'
      }
    ]
    isZoneRedundant: bool
    minimumTlsVersionAllowed: 'string'
    privateEndpointConnections: [
      {
        properties: {
          groupIds: [
            'string'
          ]
          privateEndpoint: {
            id: 'string'
          }
          privateLinkServiceConnectionState: {
            actionsRequired: 'string'
            description: 'string'
            status: 'string'
          }
          provisioningState: 'string'
        }
      }
    ]
    publicNetworkAccess: 'string'
    topicsConfiguration: {}
    topicSpacesConfiguration: {
      clientAuthentication: {
        alternativeAuthenticationNameSources: [
          'string'
        ]
      }
      maximumClientSessionsPerAuthenticationName: int
      maximumSessionExpiryInHours: int
      routeTopicResourceId: 'string'
      routingEnrichments: {
        dynamic: [
          {
            key: 'string'
            value: 'string'
          }
        ]
        static: [
          {
            key: 'string'
            valueType: 'string'
            // For remaining properties, see StaticRoutingEnrichment objects
          }
        ]
      }
      routingIdentityInfo: {
        type: 'string'
        userAssignedIdentity: 'string'
      }
      state: 'string'
    }
  }
}

StaticRoutingEnrichment 物件

設定 valueType 屬性以指定物件的類型。

針對 [字串],請使用:

  valueType: 'String'
  value: 'string'

屬性值

命名空間

名稱 描述
NAME 資源名稱 需要字串 ()
location 資源的位置。 需要字串 ()
tags 資源的標記。 標記名稱和值的字典。 請參閱 範本中的標籤
sku 代表可用的 Sku 定價層。 NamespaceSku
身分識別 命名空間資源的身分識別資訊。 IdentityInfo
properties 命名空間資源的屬性。 NamespaceProperties

IdentityInfo

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

IdentityInfoUserAssignedIdentities

名稱 描述
{自定義屬性} UserIdentityProperties

UserIdentityProperties

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

NamespaceProperties

名稱 描述
inboundIpRules 這可用來限制來自特定IP的流量,而不是所有IP。 注意:只有在啟用 PublicNetworkAccess 時,才會考慮這些專案。 InboundIpRule[]
isZoneRedundant 這是選擇性屬性,可讓使用者指定命名空間資源是否支援區域備援功能。 如果發生這種情況
屬性不是由用戶明確指定,其預設值取決於下列條件:
a. 針對啟用 可用性區域 區域 - 預設屬性值為 true。
b. 針對啟用非 可用性區域 的區域 - 預設屬性值會是 false。
指定之後,就無法更新此屬性。
bool
minimumTlsVersionAllowed 允許發行者發佈至此命名空間的最低 TLS 版本。 僅支援 TLS 1.2 版。 '1.0'
'1.1'
'1.2'
privateEndpointConnections PrivateEndpointConnection[]
publicNetworkAccess 這會判斷是否允許透過公用網路使用流量。 默認會啟用。
您可以藉由設定 {seealso cref=“P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PubSub.NamespaceProperties.InboundIpRules” /} 來進一步限制特定 IP
'Disabled'
'Enabled'
'SecuredByPerimeter'
topicsConfiguration 命名空間資源的主題組態資訊 TopicsConfiguration
topicSpacesConfiguration 命名空間資源的主題空間組態資訊 TopicSpacesConfiguration

InboundIpRule

名稱 描述
動作 要根據比對或不符合 IpMask 執行的動作。 'Allow'
ipMask CIDR 表示法中的IP位址,例如10.0.0.0.0/8。 字串

PrivateEndpointConnection

名稱 描述
properties PrivateEndpointConnection 的屬性。 PrivateEndpointConnectionProperties

PrivateEndpointConnectionProperties

名稱 描述
groupIds 來自私人鏈接服務資源的 GroupId。 string[]
privateEndpoint 此連線的私人端點資源。 PrivateEndpoint
privateLinkServiceConnectionState 線上狀態的詳細數據。 ConnectionState
provisioningState 私人端點聯機的布建狀態。 'Canceled'
'Creating'
'刪除'
'Failed'
'Succeeded'
'Updateing'

PrivateEndpoint

名稱 描述
id 私人端點的ARM標識碼。 字串

ConnectionState

名稱 描述
actionsRequired 如有任何) ,則需要 (動作。 字串
description 線上狀態的描述。 字串
status 線上的狀態。 'Approved'
'Disconnected'
'Pending'
「已拒絕」

TopicsConfiguration

此物件不包含部署期間要設定的任何屬性。 所有屬性都是 ReadOnly。

TopicSpacesConfiguration

名稱 描述
clientAuthentication 主題空間組態的客戶端驗證設定。 ClientAuthenticationSettings
maximumClientSessionsPerAuthenticationName 每個驗證名稱的會話數目上限。 屬性預設值為 1。
允許的最小值為 1,而允許的最大值為 100。
int
maximumSessionExpiryInHours 會話的到期時間上限,以小時為單位。 屬性預設值為 1 小時。
允許的最小值為 1 小時,最大值為 8 小時。
int
routeTopicResourceId 事件方格主題的完整 Azure 資源識別符,事件將從命名空間下的 TopicSpaces 路由傳送至該主題。
此屬性的格式應該是 '/subscriptions/{subId}/resourcegroups/{resourceGroupName}/providers/microsoft。EventGrid/topics/{topicName}'。
本主題應該位於命名空間所在的相同區域中。
字串
routingEnrichments 路由擴充主題空間設定 RoutingEnrichments
routingIdentityInfo 主題空間設定的路由識別資訊。 RoutingIdentityInfo
狀態 指出命名空間是否已啟用主題空間設定。 預設值為 Disabled。 'Disabled'
'Enabled'

ClientAuthenticationSettings

名稱 描述
alternativeAuthenticationNameSources 與命名空間資源之客戶端驗證設定相關的替代驗證名稱來源。 包含任何項目的字串數組:
'ClientCertificateDns'
'ClientCertificateEmail'
'ClientCertificateIp'
'ClientCertificateSubject'
'ClientCertificateUri'

RoutingEnrichments

名稱 描述
動態 DynamicRoutingEnrichment[]
static StaticRoutingEnrichment[]

DynamicRoutingEnrichment

名稱 描述
索引鍵 動態路由擴充金鑰。 字串
value 動態路由擴充值。 字串

StaticRoutingEnrichment

名稱 描述
索引鍵 靜態路由擴充密鑰。 字串
valueType 設定物件類型 需要字串 ()

StaticStringRoutingEnrichment

名稱 描述
valueType 靜態路由擴充實值類型。 例如,這個屬性值可以是 『String』。 需要 『String』 ()
字串類型路由擴充值。 字串

RoutingIdentityInfo

名稱 描述
類型 'None'
'SystemAssigned'
'UserAssigned'
userAssignedIdentity 字串

NamespaceSku

名稱 描述
處理能力 指定定義命名空間容量的輸送量單位數目。 屬性預設值為
1 表示 1 個輸送量單位 = 1MB/秒輸入,以及每個命名空間的 2MB/秒輸出。 最小容量為 1 且
允許的容量上限為 20。
int
NAME SKU 的名稱。 'Standard'

ARM 範本資源定義

命名空間資源類型可以使用目標作業進行部署:

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

資源格式

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

{
  "type": "Microsoft.EventGrid/namespaces",
  "apiVersion": "2023-12-15-preview",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "sku": {
    "capacity": "int",
    "name": "Standard"
  },
  "identity": {
    "principalId": "string",
    "tenantId": "string",
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
        "clientId": "string",
        "principalId": "string"
      }
    }
  },
  "properties": {
    "inboundIpRules": [
      {
        "action": "Allow",
        "ipMask": "string"
      }
    ],
    "isZoneRedundant": "bool",
    "minimumTlsVersionAllowed": "string",
    "privateEndpointConnections": [
      {
        "properties": {
          "groupIds": [ "string" ],
          "privateEndpoint": {
            "id": "string"
          },
          "privateLinkServiceConnectionState": {
            "actionsRequired": "string",
            "description": "string",
            "status": "string"
          },
          "provisioningState": "string"
        }
      }
    ],
    "publicNetworkAccess": "string",
    "topicsConfiguration": {},
    "topicSpacesConfiguration": {
      "clientAuthentication": {
        "alternativeAuthenticationNameSources": [ "string" ]
      },
      "maximumClientSessionsPerAuthenticationName": "int",
      "maximumSessionExpiryInHours": "int",
      "routeTopicResourceId": "string",
      "routingEnrichments": {
        "dynamic": [
          {
            "key": "string",
            "value": "string"
          }
        ],
        "static": [
          {
            "key": "string",
            "valueType": "string"
            // For remaining properties, see StaticRoutingEnrichment objects
          }
        ]
      },
      "routingIdentityInfo": {
        "type": "string",
        "userAssignedIdentity": "string"
      },
      "state": "string"
    }
  }
}

StaticRoutingEnrichment 物件

設定 valueType 屬性以指定物件的類型。

針對 [字串],請使用:

  "valueType": "String",
  "value": "string"

屬性值

命名空間

名稱 描述
類型 資源類型 'Microsoft.EventGrid/namespaces'
apiVersion 資源 API 版本 '2023-12-15-preview'
NAME 資源名稱 需要字串 ()
location 資源的位置。 需要字串 ()
tags 資源的標記。 標記名稱和值的字典。 請參閱 範本中的標籤
sku 代表可用的 Sku 定價層。 NamespaceSku
身分識別 命名空間資源的身分識別資訊。 IdentityInfo
properties 命名空間資源的屬性。 NamespaceProperties

IdentityInfo

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

IdentityInfoUserAssignedIdentities

名稱 描述
{自定義屬性} UserIdentityProperties

UserIdentityProperties

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

NamespaceProperties

名稱 描述
inboundIpRules 這可用來限制來自特定IP的流量,而不是所有IP。 注意:只有在啟用 PublicNetworkAccess 時,才會考慮這些專案。 InboundIpRule[]
isZoneRedundant 這是選擇性屬性,可讓使用者指定命名空間資源是否支援區域備援功能。 如果發生這種情況
屬性不是由用戶明確指定,其預設值取決於下列條件:
a. 針對啟用 可用性區域 區域 - 預設屬性值為 true。
b. 針對非 可用性區域 啟用的區域 - 預設屬性值會是 false。
指定之後,就無法更新此屬性。
bool
minimumTlsVersionAllowed 允許發行者發佈至此命名空間的最低 TLS 版本。 僅支援 TLS 1.2 版。 '1.0'
'1.1'
'1.2'
privateEndpointConnections PrivateEndpointConnection[]
publicNetworkAccess 這會判斷是否允許透過公用網路使用流量。 默認會啟用。
您可以藉由設定 {seealso cref=“P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PubSub.NamespaceProperties.InboundIpRules” /} 來進一步限制特定 IP
'Disabled'
'Enabled'
'SecuredByPerimeter'
topicsConfiguration 命名空間資源的主題組態資訊 TopicsConfiguration
topicSpacesConfiguration 命名空間資源的主題空間組態資訊 TopicSpacesConfiguration

InboundIpRule

名稱 描述
動作 根據相符專案或不符合 IpMask 執行的動作。 'Allow'
ipMask CIDR 表示法中的IP位址,例如10.0.0.0.0/8。 字串

PrivateEndpointConnection

名稱 描述
properties PrivateEndpointConnection 的屬性。 PrivateEndpointConnectionProperties

PrivateEndpointConnectionProperties

名稱 描述
groupIds 來自私人鏈接服務資源的 GroupId。 string[]
privateEndpoint 此連線的私人端點資源。 PrivateEndpoint
privateLinkServiceConnectionState 線上狀態的詳細數據。 ConnectionState
provisioningState 私人端點聯機的布建狀態。 'Canceled'
'Creating'
'刪除'
'Failed'
'Succeeded'
'Updateing'

PrivateEndpoint

名稱 描述
id 私人端點的ARM標識碼。 字串

ConnectionState

名稱 描述
actionsRequired 如有任何) ,則 (所需的動作。 字串
description 線上狀態的描述。 字串
status 線上的狀態。 「已核准」
'Disconnected'
'Pending'
「已拒絕」

TopicsConfiguration

此物件不包含部署期間要設定的任何屬性。 所有屬性都是 ReadOnly。

TopicSpacesConfiguration

名稱 描述
clientAuthentication 主題空間設定的客戶端驗證設定。 ClientAuthenticationSettings
maximumClientSessionsPerAuthenticationName 每個驗證名稱的會話數目上限。 屬性預設值為 1。
允許的最小值為 1,最大允許值為 100。
int
maximumSessionExpiryInHours 會話的最大到期時間以小時為單位。 屬性預設值為 1 小時。
允許的最小值為 1 小時,最大允許值為 8 小時。
int
routeTopicResourceId 事件方格主題的完整 Azure 資源識別符,事件將從命名空間下的 TopicSpaces 路由傳送至該主題。
此屬性的格式應該是 '/subscriptions/{subId}/resourcegroups/{resourceGroupName}/providers/microsoft。EventGrid/topics/{topicName}'。
本主題應該位於命名空間所在的相同區域。
字串
routingEnrichments 主題空間設定的路由擴充 RoutingEnrichments
routingIdentityInfo 主題空間設定的路由識別資訊。 RoutingIdentityInfo
狀態 指出命名空間是否已啟用主題空間設定。 預設值為 Disabled。 'Disabled'
'Enabled'

ClientAuthenticationSettings

名稱 描述
alternativeAuthenticationNameSources 與命名空間資源之客戶端驗證設定相關的替代驗證名稱來源。 包含任何項目的字串數組:
'ClientCertificateDns'
'ClientCertificateEmail'
'ClientCertificateIp'
'ClientCertificateSubject'
'ClientCertificateUri'

RoutingEnrichments

名稱 描述
動態 DynamicRoutingEnrichment[]
static StaticRoutingEnrichment[]

DynamicRoutingEnrichment

名稱 描述
索引鍵 動態路由擴充金鑰。 字串
value 動態路由擴充值。 字串

StaticRoutingEnrichment

名稱 描述
索引鍵 靜態路由擴充密鑰。 字串
valueType 設定物件類型 需要字串 ()

StaticStringRoutingEnrichment

名稱 描述
valueType 靜態路由擴充實值類型。 例如,這個屬性值可以是 『String』。 需要 『String』 ()
字串類型路由擴充值。 字串

RoutingIdentityInfo

名稱 描述
類型 'None'
'SystemAssigned'
'UserAssigned'
userAssignedIdentity 字串

NamespaceSku

名稱 描述
處理能力 指定定義命名空間容量的輸送量單位數目。 屬性預設值為
1 表示 1 個輸送量單位 = 1MB/秒輸入,以及每個命名空間的 2MB/秒輸出。 最小容量為 1 且
允許的容量上限為 20。
int
NAME SKU 的名稱。 'Standard'

Terraform (AzAPI 提供者) 資源定義

命名空間資源類型可以使用目標作業進行部署:

  • 資源群組

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

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.EventGrid/namespaces@2023-12-15-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type = "string"
    identity_ids = []
  }
  body = jsonencode({
    properties = {
      inboundIpRules = [
        {
          action = "Allow"
          ipMask = "string"
        }
      ]
      isZoneRedundant = bool
      minimumTlsVersionAllowed = "string"
      privateEndpointConnections = [
        {
          properties = {
            groupIds = [
              "string"
            ]
            privateEndpoint = {
              id = "string"
            }
            privateLinkServiceConnectionState = {
              actionsRequired = "string"
              description = "string"
              status = "string"
            }
            provisioningState = "string"
          }
        }
      ]
      publicNetworkAccess = "string"
      topicsConfiguration = {}
      topicSpacesConfiguration = {
        clientAuthentication = {
          alternativeAuthenticationNameSources = [
            "string"
          ]
        }
        maximumClientSessionsPerAuthenticationName = int
        maximumSessionExpiryInHours = int
        routeTopicResourceId = "string"
        routingEnrichments = {
          dynamic = [
            {
              key = "string"
              value = "string"
            }
          ]
          static = [
            {
              key = "string"
              valueType = "string"
              // For remaining properties, see StaticRoutingEnrichment objects
            }
          ]
        }
        routingIdentityInfo = {
          type = "string"
          userAssignedIdentity = "string"
        }
        state = "string"
      }
    }
    sku = {
      capacity = int
      name = "Standard"
    }
  })
}

StaticRoutingEnrichment 物件

設定 valueType 屬性以指定物件的類型。

針對 [字串],請使用:

  valueType = "String"
  value = "string"

屬性值

命名空間

名稱 描述
類型 資源類型 “Microsoft.EventGrid/namespaces@2023-12-15-preview”
NAME 資源名稱 需要字串 ()
location 資源的位置。 需要字串 ()
parent_id 若要部署至資源群組,請使用該資源群組的標識碼。 需要字串 ()
tags 資源的標記。 標記名稱和值的字典。
sku 代表可用的 Sku 定價層。 NamespaceSku
身分識別 命名空間資源的身分識別資訊。 IdentityInfo
properties 命名空間資源的屬性。 NamespaceProperties

IdentityInfo

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

IdentityInfoUserAssignedIdentities

名稱 描述
{自定義屬性} UserIdentityProperties

UserIdentityProperties

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

NamespaceProperties

名稱 描述
inboundIpRules 這可用來限制來自特定IP的流量,而不是所有IP。 注意:只有在啟用 PublicNetworkAccess 時,才會考慮這些專案。 InboundIpRule[]
isZoneRedundant 這是選擇性屬性,可讓使用者指定命名空間資源是否支援區域備援功能。 如果發生這種情況
屬性不是由用戶明確指定,其預設值取決於下列條件:
a. 針對啟用 可用性區域 區域 - 預設屬性值為 true。
b. 針對非 可用性區域 啟用的區域 - 預設屬性值會是 false。
指定之後,就無法更新此屬性。
bool
minimumTlsVersionAllowed 允許發行者發佈至此命名空間的最低 TLS 版本。 僅支援 TLS 1.2 版。 "1.0"
"1.1"
"1.2"
privateEndpointConnections PrivateEndpointConnection[]
publicNetworkAccess 這會判斷是否允許透過公用網路使用流量。 默認會啟用。
您可以藉由設定 {seealso cref=“P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PubSub.NamespaceProperties.InboundIpRules” /} 來進一步限制特定 IP
“Disabled”
“Enabled”
“SecuredByPerimeter”
topicsConfiguration 命名空間資源的主題組態資訊 TopicsConfiguration
topicSpacesConfiguration 命名空間資源的主題空間組態資訊 TopicSpacesConfiguration

InboundIpRule

名稱 描述
動作 要根據比對或不符合 IpMask 執行的動作。 “允許”
ipMask CIDR 表示法中的IP位址,例如10.0.0.0.0/8。 字串

PrivateEndpointConnection

名稱 描述
properties PrivateEndpointConnection 的屬性。 PrivateEndpointConnectionProperties

PrivateEndpointConnectionProperties

名稱 描述
groupIds 來自私人鏈接服務資源的 GroupId。 string[]
privateEndpoint 此連線的私人端點資源。 PrivateEndpoint
privateLinkServiceConnectionState 線上狀態的詳細數據。 ConnectionState
provisioningState 私人端點聯機的布建狀態。 “Canceled”
“建立”
“刪除”
“Failed”
“Succeeded”
“Updateing”

PrivateEndpoint

名稱 描述
id 私人端點的ARM標識碼。 字串

ConnectionState

名稱 描述
actionsRequired 如有任何) ,則 (所需的動作。 字串
description 線上狀態的描述。 字串
status 線上的狀態。 「已核准」
「已中斷連線」
“Pending”
“Rejected”

TopicsConfiguration

此物件不包含部署期間要設定的任何屬性。 所有屬性都是 ReadOnly。

TopicSpacesConfiguration

名稱 描述
clientAuthentication 主題空間設定的客戶端驗證設定。 ClientAuthenticationSettings
maximumClientSessionsPerAuthenticationName 每個驗證名稱的會話數目上限。 屬性預設值為 1。
允許的最小值為 1,最大允許值為 100。
int
maximumSessionExpiryInHours 會話的最大到期時間以小時為單位。 屬性預設值為 1 小時。
允許的最小值為 1 小時,最大允許值為 8 小時。
int
routeTopicResourceId 事件方格主題的完整 Azure 資源識別符,事件將從命名空間下的 TopicSpaces 路由傳送至該主題。
此屬性的格式應該是 '/subscriptions/{subId}/resourcegroups/{resourceGroupName}/providers/microsoft。EventGrid/topics/{topicName}'。
本主題應該位於命名空間所在的相同區域。
字串
routingEnrichments 主題空間設定的路由擴充 RoutingEnrichments
routingIdentityInfo 主題空間設定的路由識別資訊。 RoutingIdentityInfo
狀態 指出命名空間是否已啟用主題空間組態。 預設值為 Disabled。 “Disabled”
“Enabled”

ClientAuthenticationSettings

名稱 描述
alternativeAuthenticationNameSources 與命名空間資源的客戶端驗證設定相關的替代驗證名稱來源。 包含任何項目的字串數組:
“ClientCertificateDns”
“ClientCertificateEmail”
“ClientCertificateIp”
“ClientCertificateSubject”
“ClientCertificateUri”

RoutingEnrichments

名稱 描述
動態 DynamicRoutingEnrichment[]
static StaticRoutingEnrichment[]

DynamicRoutingEnrichment

名稱 描述
索引鍵 動態路由擴充金鑰。 字串
value 動態路由擴充值。 字串

StaticRoutingEnrichment

名稱 描述
索引鍵 靜態路由擴充密鑰。 字串
valueType 設定物件類型 需要字串 ()

StaticStringRoutingEnrichment

名稱 描述
valueType 靜態路由擴充實值類型。 例如,這個屬性值可以是 『String』。 “String” (必要)
字串類型路由擴充值。 字串

RoutingIdentityInfo

名稱 描述
類型 "None"
“SystemAssigned”
“UserAssigned”
userAssignedIdentity 字串

NamespaceSku

名稱 描述
處理能力 指定定義命名空間容量的輸送量單位數目。 屬性預設值為
1 表示 1 個輸送量單位 = 1MB/秒輸入,以及每個命名空間的 2MB/秒輸出。 最小容量為 1 且
允許的容量上限為 20。
int
NAME SKU 的名稱。 “標準”