你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Configuration interface

Configuration 对象表示单个设备的配置,也可以表示一个部署,该部署可以作为配置应用于基于 targetCondition 的设备。

属性

content

配置的内容

createdTimeUtc

此配置创建ISO6801的日期时间

etag

用于保护调用方的机会并发更新的字符串。 部署更新时会更新此项

id

此配置的 ID。

labels

这是一个字典<字符串、标签的字符串>。 标签是一组区分大小写的字符串键值对,可用于描述部署。 键和值都是区分大小写的字符串(最多 128 个字符长),ASCII 7 位字母数字字符 + {'-', ':'、'.'、'+'、'%'、'_'、'#'、'*'、'?'、'!'、'(、')、'='、'@'、';''}(请注意$is reserved)

lastUpdatedTimeUtc

此配置的上次更新ISO6801的日期时间

metrics

自定义配置指标

priority

当两个部署面向同一设备时,将应用优先级较高的部署。 如果两个部署的优先级相同,则应用具有更高创建日期的部署。

schemaVersion

架构的版本。

systemMetrics

系统配置指标

targetCondition

持续评估目标条件以包含满足要求的任何新设备,或删除在部署生命周期内不再执行的设备。 在设备孪生标记或 deviceId 上使用任何布尔条件来选择目标设备,例如 tags.environment='prod' 或 deviceId='linuxprod' 或 tags.environment = 'prod' AND tags.location = 'westus'。

属性详细信息

content

配置的内容

content?: ConfigurationContent

属性值

createdTimeUtc

此配置创建ISO6801的日期时间

createdTimeUtc?: string

属性值

string

etag

用于保护调用方的机会并发更新的字符串。 部署更新时会更新此项

etag?: string

属性值

string

id

此配置的 ID。

id: string

属性值

string

labels

这是一个字典<字符串、标签的字符串>。 标签是一组区分大小写的字符串键值对,可用于描述部署。 键和值都是区分大小写的字符串(最多 128 个字符长),ASCII 7 位字母数字字符 + {'-', ':'、'.'、'+'、'%'、'_'、'#'、'*'、'?'、'!'、'(、')、'='、'@'、';''}(请注意$is reserved)

labels?: {[key: string]: string}

属性值

{[key: string]: string}

lastUpdatedTimeUtc

此配置的上次更新ISO6801的日期时间

lastUpdatedTimeUtc?: string

属性值

string

metrics

自定义配置指标

metrics?: ConfigurationMetrics

属性值

priority

当两个部署面向同一设备时,将应用优先级较高的部署。 如果两个部署的优先级相同,则应用具有更高创建日期的部署。

priority?: number

属性值

number

schemaVersion

架构的版本。

schemaVersion: string

属性值

string

systemMetrics

系统配置指标

systemMetrics?: ConfigurationMetrics

属性值

targetCondition

持续评估目标条件以包含满足要求的任何新设备,或删除在部署生命周期内不再执行的设备。 在设备孪生标记或 deviceId 上使用任何布尔条件来选择目标设备,例如 tags.environment='prod' 或 deviceId='linuxprod' 或 tags.environment = 'prod' AND tags.location = 'westus'。

targetCondition?: string

属性值

string