Microsoft.DataBoxEdge dataBoxEdgeDevices/roles/monitoringConfig 2022-12-01-preview
Bicep 資源定義
dataBoxEdgeDevices/roles/monitoringConfig 資源類型可以使用目標作業來部署:
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄。
若要建立 Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/monitoringConfig 資源,請將下列 Bicep 新增至您的範本。
resource symbolicname 'Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/monitoringConfig@2022-12-01-preview' = {
name: 'default'
parent: resourceSymbolicName
properties: {
metricConfigurations: [
{
counterSets: [
{
counters: [
{
additionalDimensions: [
{
sourceName: 'string'
sourceType: 'string'
}
]
dimensionFilter: [
{
sourceName: 'string'
sourceType: 'string'
}
]
instance: 'string'
name: 'string'
}
]
}
]
mdmAccount: 'string'
metricNameSpace: 'string'
resourceId: 'string'
}
]
}
}
屬性值
dataBoxEdgeDevices/roles/monitoringConfig
MonitoringMetricConfigurationProperties
MetricConfiguration
名稱 |
描述 |
值 |
counterSets |
與裝置相關聯的IoT中樞主機名。 |
MetricCounterSet[] 必要 () |
mdmAccount |
應該推送計數器的 MDM 帳戶。 |
字串 |
metricNameSpace |
應該推送計數器的 MDM 命名空間。 如果指定 MDMAccount,則需要此專案 |
字串 |
resourceId |
應推送計量的資源標識碼。 |
字串 (必要) |
MetricCounterSet
MetricCounter
MetricDimension
名稱 |
描述 |
值 |
sourceName |
維度值。 |
字串 (必要) |
sourceType |
維度類型。 |
字串 (必要) |
ARM 範本資源定義
dataBoxEdgeDevices/roles/monitoringConfig 資源類型可以使用目標作業來部署:
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
若要建立 Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/monitoringConfig 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/monitoringConfig",
"apiVersion": "2022-12-01-preview",
"name": "default",
"properties": {
"metricConfigurations": [
{
"counterSets": [
{
"counters": [
{
"additionalDimensions": [
{
"sourceName": "string",
"sourceType": "string"
}
],
"dimensionFilter": [
{
"sourceName": "string",
"sourceType": "string"
}
],
"instance": "string",
"name": "string"
}
]
}
],
"mdmAccount": "string",
"metricNameSpace": "string",
"resourceId": "string"
}
]
}
}
屬性值
dataBoxEdgeDevices/roles/monitoringConfig
MonitoringMetricConfigurationProperties
MetricConfiguration
名稱 |
描述 |
值 |
counterSets |
與裝置相關聯的IoT中樞主機名。 |
MetricCounterSet[] (必要) |
mdmAccount |
應將計數器推送至其中的 MDM 帳戶。 |
字串 |
metricNameSpace |
計數器應該推送至其中的 MDM 命名空間。 如果指定 MDMAccount,則需要此專案 |
字串 |
resourceId |
應推送計量的資源標識碼。 |
需要字串 () |
MetricCounterSet
MetricCounter
MetricDimension
名稱 |
描述 |
值 |
sourceName |
維度值。 |
需要字串 () |
sourceType |
維度類型。 |
需要字串 () |
dataBoxEdgeDevices/roles/monitoringConfig 資源類型可以使用目標作業來部署:
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
若要建立 Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/monitoringConfig 資源,請將下列 Terraform 新增至範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/monitoringConfig@2022-12-01-preview"
name = "default"
parent_id = "string"
body = jsonencode({
properties = {
metricConfigurations = [
{
counterSets = [
{
counters = [
{
additionalDimensions = [
{
sourceName = "string"
sourceType = "string"
}
]
dimensionFilter = [
{
sourceName = "string"
sourceType = "string"
}
]
instance = "string"
name = "string"
}
]
}
]
mdmAccount = "string"
metricNameSpace = "string"
resourceId = "string"
}
]
}
})
}
屬性值
dataBoxEdgeDevices/roles/monitoringConfig
名稱 |
描述 |
值 |
類型 |
資源類型 |
“Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/monitoringConfig@2022-12-01-preview” |
NAME |
資源名稱 |
"default" |
parent_id |
此資源父系之資源的標識碼。 |
類型資源的標識碼: 角色 |
properties |
計量設定屬性。 |
MonitoringMetricConfigurationProperties (必要) |
MonitoringMetricConfigurationProperties
MetricConfiguration
名稱 |
描述 |
值 |
counterSets |
與裝置相關聯的IoT中樞主機名。 |
MetricCounterSet[] (必要) |
mdmAccount |
應將計數器推送至其中的 MDM 帳戶。 |
字串 |
metricNameSpace |
計數器應該推送至其中的 MDM 命名空間。 如果指定 MDMAccount,則需要此專案 |
字串 |
resourceId |
應推送計量的資源標識碼。 |
需要字串 () |
MetricCounterSet
MetricCounter
MetricDimension
名稱 |
描述 |
值 |
sourceName |
維度值。 |
需要字串 () |
sourceType |
維度類型。 |
需要字串 () |