Microsoft.CustomerInsights 中樞/互動

Bicep 資源定義

中樞/互動資源類型可以使用目標作業來部署:

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

資源格式

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

resource symbolicname 'Microsoft.CustomerInsights/hubs/interactions@2017-04-26' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    apiEntitySetName: 'string'
    attributes: {
      {customized property}: [
        'string'
      ]
    }
    defaultDataSource: {}
    description: {
      {customized property}: 'string'
    }
    displayName: {
      {customized property}: 'string'
    }
    entityType: 'string'
    fields: [
      {
        arrayValueSeparator: 'string'
        enumValidValues: [
          {
            localizedValueNames: {
              {customized property}: 'string'
            }
            value: int
          }
        ]
        fieldName: 'string'
        fieldType: 'string'
        isArray: bool
        isAvailableInGraph: bool
        isEnum: bool
        isFlagEnum: bool
        isImage: bool
        isLocalizedString: bool
        isName: bool
        isRequired: bool
        maxLength: int
        propertyId: 'string'
        schemaItemPropLink: 'string'
      }
    ]
    idPropertyNames: [
      'string'
    ]
    instancesCount: int
    isActivity: bool
    largeImage: 'string'
    localizedAttributes: {
      {customized property}: {
        {customized property}: 'string'
      }
    }
    mediumImage: 'string'
    participantProfiles: [
      {
        description: {
          {customized property}: 'string'
        }
        displayName: {
          {customized property}: 'string'
        }
        participantName: 'string'
        participantPropertyReferences: [
          {
            sourcePropertyName: 'string'
            targetPropertyName: 'string'
          }
        ]
        profileTypeName: 'string'
        role: 'string'
      }
    ]
    primaryParticipantProfilePropertyName: 'string'
    schemaItemTypeLink: 'string'
    smallImage: 'string'
    timestampFieldName: 'string'
    typeName: 'string'
  }
}

屬性值

Microsoft.CustomerInsights/hubs/interactions

名字 描述 價值
名字 資源名稱 字串

約束:
最小長度 = 1
最大長度 = 128
模式 = ^[a-zA-Z][a-zA-Z0-9_]+$ (必要)
父代 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。

如需詳細資訊,請參閱 父資源外部的子資源。
類型的資源符號名稱:中樞
性能 互動類型定義 交互類型定義

資料來源

名字 描述 價值

DictionaryOfString 的

名字 描述 價值

交互類型定義

名字 描述 價值
apiEntitySetName (api實體集名稱) API 實體集名稱。 這會成為此物件中所參考之實體 Type 的 odata 實體集名稱。 字串
屬性 Type 的屬性。 元數據定義基礎屬性
defaultDataSource 的 在實例中未指定數據源的情況下,會特別使用預設數據源。 數據源
描述 屬性的當地語系化描述。 元數據定義Base描述
顯示名稱 屬性的當地語系化顯示名稱。 元數據定義基礎顯示名稱
實體類型 實體的類型。 “互動”
“無”
“個人資料”
關係”
領域 配置檔的屬性。 屬性定義[]
idProperty名稱 id 屬性名稱。 可唯一識別互動實例的屬性。 字串[]
instancesCount 實例計數。 整數 (int)
isActivity 互動只能在建立期間標記為活動。 這可讓互動可編輯,並可根據連結層級定義的優先順序,從多個數據源合併屬性。 布爾 (bool)
largeImage (大圖片) 與 Property 或 EntityType 相關聯的大型影像。 字串
localized屬性 類型的任何自定義當地語系化屬性。 MetadataDefinitionBaseLocalizedAttributes
mediumImage 與 Property 或 EntityType 相關聯的中型影像。 字串
參與者配置檔 參與互動的配置檔。 參與者[]
primaryParticipantProfilePropertyName 互動的主要參與者屬性名稱,這是用來以邏輯方式表示互動的代理程式,請從 ParticipantName 在這裡指定參與者名稱。 字串
schemaItemType連結 架構組織連結。 這有助於 ACI 識別並建議語意模型。 字串
小圖像 與 Property 或 EntityType 相關聯的小型影像。 字串
時間戳欄位名稱 timestamp 屬性名稱。 表示互動或配置檔更新發生的時間。 字串
類型名稱 實體的名稱。 字串

元數據定義基礎屬性

名字 描述 價值

元數據定義Base描述

名字 描述 價值

元數據定義基礎顯示名稱

名字 描述 價值

MetadataDefinitionBaseLocalizedAttributes

名字 描述 價值

參與者

名字 描述 價值
描述 本地化的描述。 參與者描述
顯示名稱 本地化的顯示名稱。 參與者顯示名稱
參與者名稱 參與者名稱。 字串 (必要)
participantProperty引用 屬性參考。 ParticipantPropertyReference[] (必要)
profileTypeName (設定檔類型名稱) 配置檔類型名稱。 字串 (必要)
角色 參與者在互動中扮演的角色。 字串

參與者描述

名字 描述 價值

參與者顯示名稱

名字 描述 價值

ParticipantPropertyReference

名字 描述 價值
sourcePropertyName 對應至目標屬性的來源屬性。 字串 (必要)
targetPropertyName 對應至來源屬性的目標屬性。 字串 (必要)

ProfileEnumValidValuesFormat

名字 描述 價值
localizedValue名稱 列舉成員的當地語系化名稱。 ProfileEnumValidValuesFormatLocalizedValueNames
價值 列舉成員的整數值。 整數 (int)

ProfileEnumValidValuesFormatLocalizedValueNames

名字 描述 價值

屬性定義

名字 描述 價值
arrayValueSeparator 的 具有isArray集合之屬性的數位值分隔符。 字串
enumValidValues 描述列舉屬性的有效值。 ProfileEnumValidValuesFormat[]
欄位名稱 屬性的名稱。 字串 (必要)
fieldType 屬性的類型。 字串 (必要)
isArray 指出屬性是否實際上是數據 API 上上 fieldType 的陣列。 布爾 (bool)
isAvailableInGraph 屬性是否可在圖形中使用。 布爾 (bool)
is枚舉 指出屬性是否為列舉。 布爾 (bool)
isFlagEnum 的 指出屬性是否為旗標列舉。 布爾 (bool)
isImage 圖像 屬性是否為 Image。 布爾 (bool)
isLocalizedString 屬性是否為當地語系化字串。 布爾 (bool)
isName (英语) 屬性是名稱或名稱的一部分。 布爾 (bool)
必需的 實例上是否需要屬性值,IsRequired 字段僅適用於 Interaction。 配置文件實例不會檢查必要欄位。 布爾 (bool)
最大長度 字串長度上限。 只有在類型為字串時,才會使用 。 整數 (int)
屬性ID 與屬性相關聯的標識碼。 字串
schemaItemPropLink 屬性的 URL 編碼 schema.org 專案 prop 連結。 字串

ARM 樣本資源定義

中樞/互動資源類型可以使用目標作業來部署:

使用範例

資源格式

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

{
  "type": "Microsoft.CustomerInsights/hubs/interactions",
  "apiVersion": "2017-04-26",
  "name": "string",
  "properties": {
    "apiEntitySetName": "string",
    "attributes": {
      "{customized property}": [ "string" ]
    },
    "defaultDataSource": {
    },
    "description": {
      "{customized property}": "string"
    },
    "displayName": {
      "{customized property}": "string"
    },
    "entityType": "string",
    "fields": [
      {
        "arrayValueSeparator": "string",
        "enumValidValues": [
          {
            "localizedValueNames": {
              "{customized property}": "string"
            },
            "value": "int"
          }
        ],
        "fieldName": "string",
        "fieldType": "string",
        "isArray": "bool",
        "isAvailableInGraph": "bool",
        "isEnum": "bool",
        "isFlagEnum": "bool",
        "isImage": "bool",
        "isLocalizedString": "bool",
        "isName": "bool",
        "isRequired": "bool",
        "maxLength": "int",
        "propertyId": "string",
        "schemaItemPropLink": "string"
      }
    ],
    "idPropertyNames": [ "string" ],
    "instancesCount": "int",
    "isActivity": "bool",
    "largeImage": "string",
    "localizedAttributes": {
      "{customized property}": {
        "{customized property}": "string"
      }
    },
    "mediumImage": "string",
    "participantProfiles": [
      {
        "description": {
          "{customized property}": "string"
        },
        "displayName": {
          "{customized property}": "string"
        },
        "participantName": "string",
        "participantPropertyReferences": [
          {
            "sourcePropertyName": "string",
            "targetPropertyName": "string"
          }
        ],
        "profileTypeName": "string",
        "role": "string"
      }
    ],
    "primaryParticipantProfilePropertyName": "string",
    "schemaItemTypeLink": "string",
    "smallImage": "string",
    "timestampFieldName": "string",
    "typeName": "string"
  }
}

屬性值

Microsoft.CustomerInsights/hubs/interactions

名字 描述 價值
apiVersion API 版本 '2017-04-26'
名字 資源名稱 字串

約束:
最小長度 = 1
最大長度 = 128
模式 = ^[a-zA-Z][a-zA-Z0-9_]+$ (必要)
性能 互動類型定義 交互類型定義
型別 資源類型 “Microsoft.CustomerInsights/hubs/interactions”

資料來源

名字 描述 價值

DictionaryOfString 的

名字 描述 價值

交互類型定義

名字 描述 價值
apiEntitySetName (api實體集名稱) API 實體集名稱。 這會成為此物件中所參考之實體 Type 的 odata 實體集名稱。 字串
屬性 Type 的屬性。 元數據定義基礎屬性
defaultDataSource 的 在實例中未指定數據源的情況下,會特別使用預設數據源。 數據源
描述 屬性的當地語系化描述。 元數據定義Base描述
顯示名稱 屬性的當地語系化顯示名稱。 元數據定義基礎顯示名稱
實體類型 實體的類型。 “互動”
“無”
“個人資料”
關係”
領域 配置檔的屬性。 屬性定義[]
idProperty名稱 id 屬性名稱。 可唯一識別互動實例的屬性。 字串[]
instancesCount 實例計數。 整數 (int)
isActivity 互動只能在建立期間標記為活動。 這可讓互動可編輯,並可根據連結層級定義的優先順序,從多個數據源合併屬性。 布爾 (bool)
largeImage (大圖片) 與 Property 或 EntityType 相關聯的大型影像。 字串
localized屬性 類型的任何自定義當地語系化屬性。 MetadataDefinitionBaseLocalizedAttributes
mediumImage 與 Property 或 EntityType 相關聯的中型影像。 字串
參與者配置檔 參與互動的配置檔。 參與者[]
primaryParticipantProfilePropertyName 互動的主要參與者屬性名稱,這是用來以邏輯方式表示互動的代理程式,請從 ParticipantName 在這裡指定參與者名稱。 字串
schemaItemType連結 架構組織連結。 這有助於 ACI 識別並建議語意模型。 字串
小圖像 與 Property 或 EntityType 相關聯的小型影像。 字串
時間戳欄位名稱 timestamp 屬性名稱。 表示互動或配置檔更新發生的時間。 字串
類型名稱 實體的名稱。 字串

元數據定義基礎屬性

名字 描述 價值

元數據定義Base描述

名字 描述 價值

元數據定義基礎顯示名稱

名字 描述 價值

MetadataDefinitionBaseLocalizedAttributes

名字 描述 價值

參與者

名字 描述 價值
描述 本地化的描述。 參與者描述
顯示名稱 本地化的顯示名稱。 參與者顯示名稱
參與者名稱 參與者名稱。 字串 (必要)
participantProperty引用 屬性參考。 ParticipantPropertyReference[] (必要)
profileTypeName (設定檔類型名稱) 配置檔類型名稱。 字串 (必要)
角色 參與者在互動中扮演的角色。 字串

參與者描述

名字 描述 價值

參與者顯示名稱

名字 描述 價值

ParticipantPropertyReference

名字 描述 價值
sourcePropertyName 對應至目標屬性的來源屬性。 字串 (必要)
targetPropertyName 對應至來源屬性的目標屬性。 字串 (必要)

ProfileEnumValidValuesFormat

名字 描述 價值
localizedValue名稱 列舉成員的當地語系化名稱。 ProfileEnumValidValuesFormatLocalizedValueNames
價值 列舉成員的整數值。 整數 (int)

ProfileEnumValidValuesFormatLocalizedValueNames

名字 描述 價值

屬性定義

名字 描述 價值
arrayValueSeparator 的 具有isArray集合之屬性的數位值分隔符。 字串
enumValidValues 描述列舉屬性的有效值。 ProfileEnumValidValuesFormat[]
欄位名稱 屬性的名稱。 字串 (必要)
fieldType 屬性的類型。 字串 (必要)
isArray 指出屬性是否實際上是數據 API 上上 fieldType 的陣列。 布爾 (bool)
isAvailableInGraph 屬性是否可在圖形中使用。 布爾 (bool)
is枚舉 指出屬性是否為列舉。 布爾 (bool)
isFlagEnum 的 指出屬性是否為旗標列舉。 布爾 (bool)
isImage 圖像 屬性是否為 Image。 布爾 (bool)
isLocalizedString 屬性是否為當地語系化字串。 布爾 (bool)
isName (英语) 屬性是名稱或名稱的一部分。 布爾 (bool)
必需的 實例上是否需要屬性值,IsRequired 字段僅適用於 Interaction。 配置文件實例不會檢查必要欄位。 布爾 (bool)
最大長度 字串長度上限。 只有在類型為字串時,才會使用 。 整數 (int)
屬性ID 與屬性相關聯的標識碼。 字串
schemaItemPropLink 屬性的 URL 編碼 schema.org 專案 prop 連結。 字串

Terraform (AzAPI 提供者) 資源定義

中樞/互動資源類型可以使用目標作業來部署:

  • 資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。

資源格式

若要建立 Microsoft.CustomerInsights/hubs/interactions 資源,請將下列 Terraform 新增至您的範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.CustomerInsights/hubs/interactions@2017-04-26"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      apiEntitySetName = "string"
      attributes = {
        {customized property} = [
          "string"
        ]
      }
      defaultDataSource = {
      }
      description = {
        {customized property} = "string"
      }
      displayName = {
        {customized property} = "string"
      }
      entityType = "string"
      fields = [
        {
          arrayValueSeparator = "string"
          enumValidValues = [
            {
              localizedValueNames = {
                {customized property} = "string"
              }
              value = int
            }
          ]
          fieldName = "string"
          fieldType = "string"
          isArray = bool
          isAvailableInGraph = bool
          isEnum = bool
          isFlagEnum = bool
          isImage = bool
          isLocalizedString = bool
          isName = bool
          isRequired = bool
          maxLength = int
          propertyId = "string"
          schemaItemPropLink = "string"
        }
      ]
      idPropertyNames = [
        "string"
      ]
      instancesCount = int
      isActivity = bool
      largeImage = "string"
      localizedAttributes = {
        {customized property} = {
          {customized property} = "string"
        }
      }
      mediumImage = "string"
      participantProfiles = [
        {
          description = {
            {customized property} = "string"
          }
          displayName = {
            {customized property} = "string"
          }
          participantName = "string"
          participantPropertyReferences = [
            {
              sourcePropertyName = "string"
              targetPropertyName = "string"
            }
          ]
          profileTypeName = "string"
          role = "string"
        }
      ]
      primaryParticipantProfilePropertyName = "string"
      schemaItemTypeLink = "string"
      smallImage = "string"
      timestampFieldName = "string"
      typeName = "string"
    }
  }
}

屬性值

Microsoft.CustomerInsights/hubs/interactions

名字 描述 價值
名字 資源名稱 字串

約束:
最小長度 = 1
最大長度 = 128
模式 = ^[a-zA-Z][a-zA-Z0-9_]+$ (必要)
父項識別碼 此資源為父系之資源的標識碼。 類型的資源標識碼:中樞
性能 互動類型定義 交互類型定義
型別 資源類型 “Microsoft.CustomerInsights/hubs/interactions@2017-04-26”

資料來源

名字 描述 價值

DictionaryOfString 的

名字 描述 價值

交互類型定義

名字 描述 價值
apiEntitySetName (api實體集名稱) API 實體集名稱。 這會成為此物件中所參考之實體 Type 的 odata 實體集名稱。 字串
屬性 Type 的屬性。 元數據定義基礎屬性
defaultDataSource 的 在實例中未指定數據源的情況下,會特別使用預設數據源。 數據源
描述 屬性的當地語系化描述。 元數據定義Base描述
顯示名稱 屬性的當地語系化顯示名稱。 元數據定義基礎顯示名稱
實體類型 實體的類型。 “互動”
“無”
“個人資料”
關係”
領域 配置檔的屬性。 屬性定義[]
idProperty名稱 id 屬性名稱。 可唯一識別互動實例的屬性。 字串[]
instancesCount 實例計數。 整數 (int)
isActivity 互動只能在建立期間標記為活動。 這可讓互動可編輯,並可根據連結層級定義的優先順序,從多個數據源合併屬性。 布爾 (bool)
largeImage (大圖片) 與 Property 或 EntityType 相關聯的大型影像。 字串
localized屬性 類型的任何自定義當地語系化屬性。 MetadataDefinitionBaseLocalizedAttributes
mediumImage 與 Property 或 EntityType 相關聯的中型影像。 字串
參與者配置檔 參與互動的配置檔。 參與者[]
primaryParticipantProfilePropertyName 互動的主要參與者屬性名稱,這是用來以邏輯方式表示互動的代理程式,請從 ParticipantName 在這裡指定參與者名稱。 字串
schemaItemType連結 架構組織連結。 這有助於 ACI 識別並建議語意模型。 字串
小圖像 與 Property 或 EntityType 相關聯的小型影像。 字串
時間戳欄位名稱 timestamp 屬性名稱。 表示互動或配置檔更新發生的時間。 字串
類型名稱 實體的名稱。 字串

元數據定義基礎屬性

名字 描述 價值

元數據定義Base描述

名字 描述 價值

元數據定義基礎顯示名稱

名字 描述 價值

MetadataDefinitionBaseLocalizedAttributes

名字 描述 價值

參與者

名字 描述 價值
描述 本地化的描述。 參與者描述
顯示名稱 本地化的顯示名稱。 參與者顯示名稱
參與者名稱 參與者名稱。 字串 (必要)
participantProperty引用 屬性參考。 ParticipantPropertyReference[] (必要)
profileTypeName (設定檔類型名稱) 配置檔類型名稱。 字串 (必要)
角色 參與者在互動中扮演的角色。 字串

參與者描述

名字 描述 價值

參與者顯示名稱

名字 描述 價值

ParticipantPropertyReference

名字 描述 價值
sourcePropertyName 對應至目標屬性的來源屬性。 字串 (必要)
targetPropertyName 對應至來源屬性的目標屬性。 字串 (必要)

ProfileEnumValidValuesFormat

名字 描述 價值
localizedValue名稱 列舉成員的當地語系化名稱。 ProfileEnumValidValuesFormatLocalizedValueNames
價值 列舉成員的整數值。 整數 (int)

ProfileEnumValidValuesFormatLocalizedValueNames

名字 描述 價值

屬性定義

名字 描述 價值
arrayValueSeparator 的 具有isArray集合之屬性的數位值分隔符。 字串
enumValidValues 描述列舉屬性的有效值。 ProfileEnumValidValuesFormat[]
欄位名稱 屬性的名稱。 字串 (必要)
fieldType 屬性的類型。 字串 (必要)
isArray 指出屬性是否實際上是數據 API 上上 fieldType 的陣列。 布爾 (bool)
isAvailableInGraph 屬性是否可在圖形中使用。 布爾 (bool)
is枚舉 指出屬性是否為列舉。 布爾 (bool)
isFlagEnum 的 指出屬性是否為旗標列舉。 布爾 (bool)
isImage 圖像 屬性是否為 Image。 布爾 (bool)
isLocalizedString 屬性是否為當地語系化字串。 布爾 (bool)
isName (英语) 屬性是名稱或名稱的一部分。 布爾 (bool)
必需的 實例上是否需要屬性值,IsRequired 字段僅適用於 Interaction。 配置文件實例不會檢查必要欄位。 布爾 (bool)
最大長度 字串長度上限。 只有在類型為字串時,才會使用 。 整數 (int)
屬性ID 與屬性相關聯的標識碼。 字串
schemaItemPropLink 屬性的 URL 編碼 schema.org 專案 prop 連結。 字串