共用方式為


Microsoft.TimeSeriesInsights 環境/eventSources 2017-11-15

Bicep 資源定義

環境/eventSources 資源類型可以使用目標作業來部署:

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

資源格式

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

resource symbolicname 'Microsoft.TimeSeriesInsights/environments/eventSources@2017-11-15' = {
  location: 'string'
  name: 'string'
  tags: {
    {customized property}: 'string'
  }
  kind: 'string'
  // For remaining properties, see Microsoft.TimeSeriesInsights/environments/eventSources objects
}

Microsoft.TimeSeriesInsights/environments/eventSources 物件

設定 種類 屬性,以指定對象的類型。

針對 Microsoft.EventHub,請使用:

{
  kind: 'Microsoft.EventHub'
  properties: {
    consumerGroupName: 'string'
    eventHubName: 'string'
    eventSourceResourceId: 'string'
    keyName: 'string'
    serviceBusNamespace: 'string'
    sharedAccessKey: 'string'
    timestampPropertyName: 'string'
  }
}

針對 Microsoft.IoTHub,請使用:

{
  kind: 'Microsoft.IoTHub'
  properties: {
    consumerGroupName: 'string'
    eventSourceResourceId: 'string'
    iotHubName: 'string'
    keyName: 'string'
    sharedAccessKey: 'string'
    timestampPropertyName: 'string'
  }
}

針對 Microsoft.IotHub,請使用:

{
  kind: 'Microsoft.IotHub'
}

屬性值

CreateOrUpdateTrackedResourcePropertiesTags

名字 描述 價值

EventHubEventSourceCreateOrUpdateParametersOrEventHubEventSourceResource

名字 描述 價值
事件來源的種類。 'Microsoft.EventHub' (必要)
性能 建立或更新要求所需的 EventHub 事件來源屬性。 EventHubEventSourceCreationPropertiesOrEventHubEventSourceResourceProperties (必要)

EventHubEventSourceCreationPropertiesOrEventHubEventSourceResourceProperties

名字 描述 價值
consumerGroupName 事件中樞取用者群組的名稱,此群組會保存要從中讀取事件的數據分割。 字串 (必要)
eventHubName 事件中樞的名稱。 字串 (必要)
eventSourceResourceId Azure Resource Manager 中事件來源的資源標識碼。 字串 (必要)
keyName 授與事件中樞之時間序列深入解析服務存取權的SAS 金鑰名稱。 此金鑰的共用存取原則必須授與事件中樞的「接聽」許可權。 字串 (必要)
serviceBusNamespace 包含事件中樞的服務總線名稱。 字串 (必要)
sharedAccessKey 授與時間序列深入解析服務讀取事件中樞之共用存取金鑰的值。 這個屬性不會顯示在事件來源回應中。 字串 (必要)
timestampPropertyName 將做為事件來源時間戳的事件屬性。 如果未為 timestampPropertyName 指定值,或指定 null 或空字串,則會使用事件建立時間。 字串

IoTHubEventSourceCreateOrUpdateParameters

名字 描述 價值
事件來源的種類。 'Microsoft.IoTHub' (必要)
性能 建立或更新要求所需的IoTHub事件來源屬性。 IoTHubEventSourceCreationProperties (必要)

IoTHubEventSourceCreationProperties

名字 描述 價值
consumerGroupName iot 中樞取用者群組的名稱,該群組會保存要從中讀取事件的數據分割。 字串 (必要)
eventSourceResourceId Azure Resource Manager 中事件來源的資源標識碼。 字串 (必要)
iotHubName iot 中樞的名稱。 字串 (必要)
keyName 授與 iot 中樞之時間序列深入解析服務存取權的共用存取原則密鑰名稱。 此共用存取原則密鑰必須授與 iot 中樞的「服務連線」許可權。 字串 (必要)
sharedAccessKey 授與時間序列深入解析服務對 iot 中樞讀取許可權的共用存取原則密鑰值。 這個屬性不會顯示在事件來源回應中。 字串 (必要)
timestampPropertyName 將做為事件來源時間戳的事件屬性。 如果未為 timestampPropertyName 指定值,或指定 null 或空字串,則會使用事件建立時間。 字串

IoTHubEventSourceResource

名字 描述 價值
事件來源的種類。 'Microsoft.IotHub' (必要)

Microsoft.TimeSeriesInsights/environments/eventSources

名字 描述 價值
針對 eventHubEventSourceCreateOrUpdateParametersOrEventHubEventSourceResource類型,設定為 'Microsoft.EventHub'。 針對 IoTHubEventSourceCreateOrUpdateParameters類型,設定為 'Microsoft.IoTHub'。 針對ioTHubEventSourceResource 類型,設定為 'Microsoft.IotHub'。 'Microsoft.EventHub'
'Microsoft.IoTHub'
'Microsoft.IotHub' (必要)
位置 資源的位置。 字串 (必要)
名字 資源名稱 字串

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

如需詳細資訊,請參閱 父資源外部的子資源
類型的資源符號名稱:環境
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

ARM 樣本資源定義

環境/eventSources 資源類型可以使用目標作業來部署:

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

資源格式

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

{
  "location": "string",
  "name": "string",
  "tags": {
    "{customized property}": "string"
  },
  "kind": "string"
  // For remaining properties, see Microsoft.TimeSeriesInsights/environments/eventSources objects
}

Microsoft.TimeSeriesInsights/environments/eventSources 物件

設定 種類 屬性,以指定對象的類型。

針對 Microsoft.EventHub,請使用:

{
  "kind": "Microsoft.EventHub",
  "properties": {
    "consumerGroupName": "string",
    "eventHubName": "string",
    "eventSourceResourceId": "string",
    "keyName": "string",
    "serviceBusNamespace": "string",
    "sharedAccessKey": "string",
    "timestampPropertyName": "string"
  }
}

針對 Microsoft.IoTHub,請使用:

{
  "kind": "Microsoft.IoTHub",
  "properties": {
    "consumerGroupName": "string",
    "eventSourceResourceId": "string",
    "iotHubName": "string",
    "keyName": "string",
    "sharedAccessKey": "string",
    "timestampPropertyName": "string"
  }
}

針對 Microsoft.IotHub,請使用:

{
  "kind": "Microsoft.IotHub"
}

屬性值

CreateOrUpdateTrackedResourcePropertiesTags

名字 描述 價值

EventHubEventSourceCreateOrUpdateParametersOrEventHubEventSourceResource

名字 描述 價值
事件來源的種類。 'Microsoft.EventHub' (必要)
性能 建立或更新要求所需的 EventHub 事件來源屬性。 EventHubEventSourceCreationPropertiesOrEventHubEventSourceResourceProperties (必要)

EventHubEventSourceCreationPropertiesOrEventHubEventSourceResourceProperties

名字 描述 價值
consumerGroupName 事件中樞取用者群組的名稱,此群組會保存要從中讀取事件的數據分割。 字串 (必要)
eventHubName 事件中樞的名稱。 字串 (必要)
eventSourceResourceId Azure Resource Manager 中事件來源的資源標識碼。 字串 (必要)
keyName 授與事件中樞之時間序列深入解析服務存取權的SAS 金鑰名稱。 此金鑰的共用存取原則必須授與事件中樞的「接聽」許可權。 字串 (必要)
serviceBusNamespace 包含事件中樞的服務總線名稱。 字串 (必要)
sharedAccessKey 授與時間序列深入解析服務讀取事件中樞之共用存取金鑰的值。 這個屬性不會顯示在事件來源回應中。 字串 (必要)
timestampPropertyName 將做為事件來源時間戳的事件屬性。 如果未為 timestampPropertyName 指定值,或指定 null 或空字串,則會使用事件建立時間。 字串

IoTHubEventSourceCreateOrUpdateParameters

名字 描述 價值
事件來源的種類。 'Microsoft.IoTHub' (必要)
性能 建立或更新要求所需的IoTHub事件來源屬性。 IoTHubEventSourceCreationProperties (必要)

IoTHubEventSourceCreationProperties

名字 描述 價值
consumerGroupName iot 中樞取用者群組的名稱,該群組會保存要從中讀取事件的數據分割。 字串 (必要)
eventSourceResourceId Azure Resource Manager 中事件來源的資源標識碼。 字串 (必要)
iotHubName iot 中樞的名稱。 字串 (必要)
keyName 授與 iot 中樞之時間序列深入解析服務存取權的共用存取原則密鑰名稱。 此共用存取原則密鑰必須授與 iot 中樞的「服務連線」許可權。 字串 (必要)
sharedAccessKey 授與時間序列深入解析服務對 iot 中樞讀取許可權的共用存取原則密鑰值。 這個屬性不會顯示在事件來源回應中。 字串 (必要)
timestampPropertyName 將做為事件來源時間戳的事件屬性。 如果未為 timestampPropertyName 指定值,或指定 null 或空字串,則會使用事件建立時間。 字串

IoTHubEventSourceResource

名字 描述 價值
事件來源的種類。 'Microsoft.IotHub' (必要)

Microsoft.TimeSeriesInsights/environments/eventSources

名字 描述 價值
apiVersion API 版本 '2017-11-15'
針對 eventHubEventSourceCreateOrUpdateParametersOrEventHubEventSourceResource類型,設定為 'Microsoft.EventHub'。 針對 IoTHubEventSourceCreateOrUpdateParameters類型,設定為 'Microsoft.IoTHub'。 針對ioTHubEventSourceResource 類型,設定為 'Microsoft.IotHub'。 'Microsoft.EventHub'
'Microsoft.IoTHub'
'Microsoft.IotHub' (必要)
位置 資源的位置。 字串 (必要)
名字 資源名稱 字串

約束:
最小長度 = 1
最大長度 = 90
模式 = ^[-\w\._\(\)]+$ (必要)
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
類型 資源類型 'Microsoft.TimeSeriesInsights/environments/eventSources'

Terraform (AzAPI 提供者) 資源定義

環境/eventSources 資源類型可以使用目標作業來部署:

  • 資源群組

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

資源格式

若要建立 Microsoft.TimeSeriesInsights/environments/eventSources 資源,請將下列 Terraform 新增至您的範本。

resource "azapi_resource" "symbolicname" {
  location = "string"
  name = "string"
  tags = {
    {customized property} = "string"
  }
  kind = "string"
  // For remaining properties, see Microsoft.TimeSeriesInsights/environments/eventSources objects
}

Microsoft.TimeSeriesInsights/environments/eventSources 物件

設定 種類 屬性,以指定對象的類型。

針對 Microsoft.EventHub,請使用:

{
  kind = "Microsoft.EventHub"
  properties = {
    consumerGroupName = "string"
    eventHubName = "string"
    eventSourceResourceId = "string"
    keyName = "string"
    serviceBusNamespace = "string"
    sharedAccessKey = "string"
    timestampPropertyName = "string"
  }
}

針對 Microsoft.IoTHub,請使用:

{
  kind = "Microsoft.IoTHub"
  properties = {
    consumerGroupName = "string"
    eventSourceResourceId = "string"
    iotHubName = "string"
    keyName = "string"
    sharedAccessKey = "string"
    timestampPropertyName = "string"
  }
}

針對 Microsoft.IotHub,請使用:

{
  kind = "Microsoft.IotHub"
}

屬性值

CreateOrUpdateTrackedResourcePropertiesTags

名字 描述 價值

EventHubEventSourceCreateOrUpdateParametersOrEventHubEventSourceResource

名字 描述 價值
事件來源的種類。 'Microsoft.EventHub' (必要)
性能 建立或更新要求所需的 EventHub 事件來源屬性。 EventHubEventSourceCreationPropertiesOrEventHubEventSourceResourceProperties (必要)

EventHubEventSourceCreationPropertiesOrEventHubEventSourceResourceProperties

名字 描述 價值
consumerGroupName 事件中樞取用者群組的名稱,此群組會保存要從中讀取事件的數據分割。 字串 (必要)
eventHubName 事件中樞的名稱。 字串 (必要)
eventSourceResourceId Azure Resource Manager 中事件來源的資源標識碼。 字串 (必要)
keyName 授與事件中樞之時間序列深入解析服務存取權的SAS 金鑰名稱。 此金鑰的共用存取原則必須授與事件中樞的「接聽」許可權。 字串 (必要)
serviceBusNamespace 包含事件中樞的服務總線名稱。 字串 (必要)
sharedAccessKey 授與時間序列深入解析服務讀取事件中樞之共用存取金鑰的值。 這個屬性不會顯示在事件來源回應中。 字串 (必要)
timestampPropertyName 將做為事件來源時間戳的事件屬性。 如果未為 timestampPropertyName 指定值,或指定 null 或空字串,則會使用事件建立時間。 字串

IoTHubEventSourceCreateOrUpdateParameters

名字 描述 價值
事件來源的種類。 'Microsoft.IoTHub' (必要)
性能 建立或更新要求所需的IoTHub事件來源屬性。 IoTHubEventSourceCreationProperties (必要)

IoTHubEventSourceCreationProperties

名字 描述 價值
consumerGroupName iot 中樞取用者群組的名稱,該群組會保存要從中讀取事件的數據分割。 字串 (必要)
eventSourceResourceId Azure Resource Manager 中事件來源的資源標識碼。 字串 (必要)
iotHubName iot 中樞的名稱。 字串 (必要)
keyName 授與 iot 中樞之時間序列深入解析服務存取權的共用存取原則密鑰名稱。 此共用存取原則密鑰必須授與 iot 中樞的「服務連線」許可權。 字串 (必要)
sharedAccessKey 授與時間序列深入解析服務對 iot 中樞讀取許可權的共用存取原則密鑰值。 這個屬性不會顯示在事件來源回應中。 字串 (必要)
timestampPropertyName 將做為事件來源時間戳的事件屬性。 如果未為 timestampPropertyName 指定值,或指定 null 或空字串,則會使用事件建立時間。 字串

IoTHubEventSourceResource

名字 描述 價值
事件來源的種類。 'Microsoft.IotHub' (必要)

Microsoft.TimeSeriesInsights/environments/eventSources

名字 描述 價值
針對 eventHubEventSourceCreateOrUpdateParametersOrEventHubEventSourceResource類型,設定為 'Microsoft.EventHub'。 針對 IoTHubEventSourceCreateOrUpdateParameters類型,設定為 'Microsoft.IoTHub'。 針對ioTHubEventSourceResource 類型,設定為 'Microsoft.IotHub'。 'Microsoft.EventHub'
'Microsoft.IoTHub'
'Microsoft.IotHub' (必要)
位置 資源的位置。 字串 (必要)
名字 資源名稱 字串

約束:
最小長度 = 1
最大長度 = 90
模式 = ^[-\w\._\(\)]+$ (必要)
parent_id 此資源為父系之資源的標識碼。 類型的資源標識碼:環境
標籤 資源標籤 標記名稱和值的字典。
類型 資源類型 “Microsoft.TimeSeriesInsights/environments/eventSources@2017-11-15”