共用方式為


Microsoft.EventGrid partnerNamespaces/channels 2022-06-15

Bicep 資源定義

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

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

資源格式

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

resource symbolicname 'Microsoft.EventGrid/partnerNamespaces/channels@2022-06-15' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    channelType: 'PartnerTopic'
    expirationTimeIfNotActivatedUtc: 'string'
    messageForActivation: 'string'
    partnerTopicInfo: {
      azureSubscriptionId: 'string'
      eventTypeInfo: {
        inlineEventTypes: {
          {customized property}: {
            dataSchemaUrl: 'string'
            description: 'string'
            displayName: 'string'
            documentationUrl: 'string'
          }
        }
        kind: 'Inline'
      }
      name: 'string'
      resourceGroupName: 'string'
      source: 'string'
    }
    provisioningState: 'string'
    readinessState: 'string'
  }
}

屬性值

partnerNamespaces/channels

名稱 描述
NAME 資源名稱

瞭解如何在 Bicep 中設定子資源的名稱和類型。
字串 (必要)
父系 (parent) 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源之外宣告子資源時,才需要新增這個屬性。

如需詳細資訊,請參閱 父資源外部的子資源
類型資源的符號名稱: partnerNamespaces
properties 通道的屬性。 ChannelProperties

ChannelProperties

名稱 描述
channelType 事件通道的類型,表示事件的方向流程。 'PartnerTopic'
expirationTimeIfNotActivatedUtc 通道的到期時間。 如果這個定時器在對應的夥伴主題從未啟用時到期,
系統會刪除頻道和對應的合作夥伴主題。
字串
messageForActivation 訂閱者可在核准程序期間使用的內容或實用訊息。 字串
partnerTopicInfo 當 channelType 是 PartnerTopic 時,應該填入此屬性,並代表對應至通道的合作夥伴主題資源相關信息。 PartnerTopicInfo
provisioningState 通道的布建狀態。 'Canceled'
'Creating'
'刪除'
'Failed'
'IdleDueToMirroredPartnerTopicDeletion'
'Succeeded'
'Updateing'
readinessState 對應夥伴主題的整備狀態。 'Activated'
'NeverActivated'

PartnerTopicInfo

名稱 描述
azureSubscriptionId 訂閱者的 Azure 訂用帳戶標識碼。 與通道相關聯的合作夥伴主題將會是
在此 Azure 訂用帳戶下建立。
字串
eventTypeInfo 合作夥伴主題的事件類型資訊。 此資訊是由發行者提供,而且可由 使用
訂閱者可檢視發行的不同事件類型。
EventTypeInfo
NAME 與通道相關聯的合作夥伴主題名稱。 字串
resourceGroupName 訂閱者的 Azure 資源群組。 與通道相關聯的合作夥伴主題將會是
在此資源群組下建立。
字串
source 來源資訊是由發行者提供,以判斷事件的來源範圍或內容
源自。 訂閱者可以在核准程序期間使用這項資訊
已建立合作夥伴主題。
字串

EventTypeInfo

名稱 描述
inlineEventTypes 資源的內嵌事件類型集合。 內嵌事件類型索引鍵的類型字串,代表事件的名稱。
有效的內嵌事件名稱範例是 「Contoso.OrderCreated」。。
內嵌事件類型值的類型為 InlineEventProperties,而且會包含每個內嵌事件類型的其他資訊。
EventTypeInfoInlineEventTypes
kind 所使用的事件類型。 'Inline'

EventTypeInfoInlineEventTypes

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

InlineEventProperties

名稱 描述
dataSchemaUrl 內嵌事件的 dataSchemaUrl。 字串
description 內嵌事件的描述。 字串
displayName 內嵌事件的 displayName。 字串
documentationUrl 內嵌事件的檔Url。 字串

ARM 範本資源定義

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

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

資源格式

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

{
  "type": "Microsoft.EventGrid/partnerNamespaces/channels",
  "apiVersion": "2022-06-15",
  "name": "string",
  "properties": {
    "channelType": "PartnerTopic",
    "expirationTimeIfNotActivatedUtc": "string",
    "messageForActivation": "string",
    "partnerTopicInfo": {
      "azureSubscriptionId": "string",
      "eventTypeInfo": {
        "inlineEventTypes": {
          "{customized property}": {
            "dataSchemaUrl": "string",
            "description": "string",
            "displayName": "string",
            "documentationUrl": "string"
          }
        },
        "kind": "Inline"
      },
      "name": "string",
      "resourceGroupName": "string",
      "source": "string"
    },
    "provisioningState": "string",
    "readinessState": "string"
  }
}

屬性值

partnerNamespaces/channels

名稱 描述
類型 資源類型 'Microsoft.EventGrid/partnerNamespaces/channels'
apiVersion 資源 API 版本 '2022-06-15'
NAME 資源名稱

瞭解如何在 JSON ARM 範本中設定子資源的名稱和類型。
需要字串 ()
properties 通道的屬性。 ChannelProperties

ChannelProperties

名稱 描述
channelType 事件通道的類型,表示事件的方向流程。 'PartnerTopic'
expirationTimeIfNotActivatedUtc 通道的到期時間。 如果此定時器在對應的夥伴主題從未啟用時到期,
會刪除頻道和對應的合作夥伴主題。
字串
messageForActivation 訂閱者在核准程序期間可以使用的內容或實用訊息。 字串
partnerTopicInfo 當 channelType 是 PartnerTopic 時,應該填入此屬性,並代表對應至通道之合作夥伴主題資源的相關信息。 PartnerTopicInfo
provisioningState 通道的布建狀態。 'Canceled'
'Creating'
'刪除'
'Failed'
'IdleDueToMirroredPartnerTopicDeletion'
'Succeeded'
'Updateing'
readinessState 對應合作夥伴主題的整備狀態。 'Activated'
'NeverActivated'

PartnerTopicInfo

名稱 描述
azureSubscriptionId 訂閱者的 Azure 訂用帳戶標識碼。 與通道相關聯的合作夥伴主題將會是
在此 Azure 訂用帳戶下建立。
字串
eventTypeInfo 合作夥伴主題的事件類型資訊。 此資訊是由發行者提供,而且可由 使用
訂閱者可檢視發行的不同事件類型。
EventTypeInfo
NAME 與通道相關聯的合作夥伴主題名稱。 字串
resourceGroupName 訂閱者的 Azure 資源群組。 與通道相關聯的合作夥伴主題將會是
在此資源群組下建立。
字串
source 來源資訊是由發行者提供,以判斷事件的來源範圍或內容
源自。 在核准程式期間,訂閱者可以使用這項資訊
已建立合作夥伴主題。
字串

EventTypeInfo

名稱 描述
inlineEventTypes 資源的內嵌事件類型集合。 內嵌事件類型索引鍵的類型字串,代表事件的名稱。
有效的內嵌事件名稱範例是 「Contoso.OrderCreated」。。
內嵌事件類型值的類型為 InlineEventProperties,而且會包含每個內嵌事件類型的其他資訊。
EventTypeInfoInlineEventTypes
kind 所使用的事件類型。 'Inline'

EventTypeInfoInlineEventTypes

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

InlineEventProperties

名稱 描述
dataSchemaUrl 內嵌事件的 dataSchemaUrl。 字串
description 內嵌事件的描述。 字串
displayName 內嵌事件的 displayName。 字串
documentationUrl 內嵌事件的檔Url。 字串

Terraform (AzAPI 提供者) 資源定義

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

  • 資源群組

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

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.EventGrid/partnerNamespaces/channels@2022-06-15"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      channelType = "PartnerTopic"
      expirationTimeIfNotActivatedUtc = "string"
      messageForActivation = "string"
      partnerTopicInfo = {
        azureSubscriptionId = "string"
        eventTypeInfo = {
          inlineEventTypes = {
            {customized property} = {
              dataSchemaUrl = "string"
              description = "string"
              displayName = "string"
              documentationUrl = "string"
            }
          }
          kind = "Inline"
        }
        name = "string"
        resourceGroupName = "string"
        source = "string"
      }
      provisioningState = "string"
      readinessState = "string"
    }
  })
}

屬性值

partnerNamespaces/channels

名稱 描述
類型 資源類型 “Microsoft.EventGrid/partnerNamespaces/channels@2022-06-15”
NAME 資源名稱 需要字串 ()
parent_id 此資源父系之資源的標識碼。 類型資源的標識碼: partnerNamespaces
properties 通道的屬性。 ChannelProperties

ChannelProperties

名稱 描述
channelType 事件通道的類型,表示事件的方向流程。 “PartnerTopic”
expirationTimeIfNotActivatedUtc 通道的到期時間。 如果此定時器在對應的夥伴主題從未啟用時到期,
會刪除頻道和對應的合作夥伴主題。
字串
messageForActivation 訂閱者在核准程序期間可以使用的內容或實用訊息。 字串
partnerTopicInfo 當 channelType 是 PartnerTopic 時,應該填入此屬性,並代表對應至通道之合作夥伴主題資源的相關信息。 PartnerTopicInfo
provisioningState 通道的布建狀態。 “Canceled”
“建立”
“刪除”
“Failed”
“IdleDueToMirroredPartnerTopicDeletion”
“成功”
“Updateing”
readinessState 對應合作夥伴主題的整備狀態。 “Activated”
“NeverActivated”

PartnerTopicInfo

名稱 描述
azureSubscriptionId 訂閱者的 Azure 訂用帳戶標識碼。 與通道相關聯的合作夥伴主題將會是
在此 Azure 訂用帳戶下建立。
字串
eventTypeInfo 合作夥伴主題的事件類型資訊。 此資訊是由發行者提供,而且可由 使用
訂閱者可檢視發行的不同事件類型。
EventTypeInfo
NAME 與通道相關聯的合作夥伴主題名稱。 字串
resourceGroupName 訂閱者的 Azure 資源群組。 與通道相關聯的合作夥伴主題將會是
在此資源群組下建立。
字串
source 來源資訊是由發行者提供,以判斷事件的來源範圍或內容
源自。 在核准程式期間,訂閱者可以使用這項資訊
已建立合作夥伴主題。
字串

EventTypeInfo

名稱 描述
inlineEventTypes 資源的內嵌事件類型集合。 內嵌事件類型索引鍵的類型字串,代表事件的名稱。
有效的內嵌事件名稱範例是 「Contoso.OrderCreated」。。
內嵌事件類型值的類型為 InlineEventProperties,而且會包含每個內嵌事件類型的其他資訊。
EventTypeInfoInlineEventTypes
kind 所使用的事件類型。 “內嵌”

EventTypeInfoInlineEventTypes

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

InlineEventProperties

名稱 描述
dataSchemaUrl 內嵌事件的 dataSchemaUrl。 字串
description 內嵌事件的描述。 字串
displayName 內嵌事件的 displayName。 字串
documentationUrl 內嵌事件的檔Url。 字串