Bicep 资源定义
可以使用目标操作部署解决方案资源类型:
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
若要创建 Microsoft.IoTOperationsOrchestrator/solutions 资源,请将以下 Bicep 添加到模板。
resource symbolicname 'Microsoft.IoTOperationsOrchestrator/solutions@2023-10-04-preview' = {
extendedLocation: {
name: 'string'
type: 'string'
}
location: 'string'
name: 'string'
properties: {
components: [
{
dependencies: [
'string'
]
name: 'string'
properties: {
{customized property}: any(...)
}
type: 'string'
}
]
version: 'string'
}
tags: {
{customized property}: 'string'
}
}
属性值
Microsoft.IoTOperationsOrchestrator/解决方案
| 名字 |
描述 |
价值 |
| extendedLocation |
资源的边缘位置。 |
ExtendedLocation (必需) |
| 位置 |
资源所在的地理位置 |
string (必需) |
| 名字 |
资源名称 |
字符串
约束: 模式 = ^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$ (必需) |
| 性能 |
此资源的资源特定属性。 |
SolutionProperties |
| 标签 |
资源标记 |
标记名称和值的字典。 请参阅模板 中的 标记 |
组件属性
| 名字 |
描述 |
价值 |
| 依赖 |
组件依赖项。 |
字符串[] |
| 名字 |
组件的名称。 |
string (必需) |
| 性能 |
组件的属性。 |
组件属性 |
| 类型 |
组件类型。 |
string (必需) |
组件属性
扩展位置
| 名字 |
描述 |
价值 |
| 名字 |
扩展位置的名称。 |
string (必需) |
| 类型 |
扩展位置的类型。 |
string (必需) |
SolutionProperties
| 名字 |
描述 |
价值 |
| 组件 |
组件列表 |
组件属性[] |
| 版本 |
特定资源的版本。 |
字符串 |
ARM 模板资源定义
可以使用目标操作部署解决方案资源类型:
用法示例
若要创建 Microsoft.IoTOperationsOrchestrator/solutions 资源,请将以下 JSON 添加到模板。
{
"type": "Microsoft.IoTOperationsOrchestrator/solutions",
"apiVersion": "2023-10-04-preview",
"name": "string",
"extendedLocation": {
"name": "string",
"type": "string"
},
"location": "string",
"properties": {
"components": [
{
"dependencies": [ "string" ],
"name": "string",
"properties": {
"{customized property}": {}
},
"type": "string"
}
],
"version": "string"
},
"tags": {
"{customized property}": "string"
}
}
属性值
Microsoft.IoTOperationsOrchestrator/解决方案
| 名字 |
描述 |
价值 |
| apiVersion |
API 版本 |
“2023-10-04-预览” |
| extendedLocation |
资源的边缘位置。 |
ExtendedLocation (必需) |
| 位置 |
资源所在的地理位置 |
string (必需) |
| 名字 |
资源名称 |
字符串
约束: 模式 = ^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$ (必需) |
| 性能 |
此资源的资源特定属性。 |
SolutionProperties |
| 标签 |
资源标记 |
标记名称和值的字典。 请参阅模板 中的 标记 |
| 类型 |
资源类型 |
“Microsoft.IoTOperationsOrchestrator/solutions” |
组件属性
| 名字 |
描述 |
价值 |
| 依赖 |
组件依赖项。 |
字符串[] |
| 名字 |
组件的名称。 |
string (必需) |
| 性能 |
组件的属性。 |
组件属性 |
| 类型 |
组件类型。 |
string (必需) |
组件属性
扩展位置
| 名字 |
描述 |
价值 |
| 名字 |
扩展位置的名称。 |
string (必需) |
| 类型 |
扩展位置的类型。 |
string (必需) |
SolutionProperties
| 名字 |
描述 |
价值 |
| 组件 |
组件列表 |
组件属性[] |
| 版本 |
特定资源的版本。 |
字符串 |
可以使用目标操作部署解决方案资源类型:
-
资源组 关于每个API版本中变更属性的列表,请参见 更改日志。
若要创建 Microsoft.IoTOperationsOrchestrator/solutions 资源,请将以下 Terraform 添加到模板。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.IoTOperationsOrchestrator/solutions@2023-10-04-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
extendedLocation = {
name = "string"
type = "string"
}
properties = {
components = [
{
dependencies = [
"string"
]
name = "string"
properties = {
{customized property} = ?
}
type = "string"
}
]
version = "string"
}
}
}
属性值
Microsoft.IoTOperationsOrchestrator/解决方案
| 名字 |
描述 |
价值 |
| extendedLocation |
资源的边缘位置。 |
ExtendedLocation (必需) |
| 位置 |
资源所在的地理位置 |
string (必需) |
| 名字 |
资源名称 |
字符串
约束: 模式 = ^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$ (必需) |
| 性能 |
此资源的资源特定属性。 |
SolutionProperties |
| 标签 |
资源标记 |
标记名称和值的字典。 |
| 类型 |
资源类型 |
“Microsoft.IoTOperationsOrchestrator/solutions@2023-10-04-preview” |
组件属性
| 名字 |
描述 |
价值 |
| 依赖 |
组件依赖项。 |
字符串[] |
| 名字 |
组件的名称。 |
string (必需) |
| 性能 |
组件的属性。 |
组件属性 |
| 类型 |
组件类型。 |
string (必需) |
组件属性
扩展位置
| 名字 |
描述 |
价值 |
| 名字 |
扩展位置的名称。 |
string (必需) |
| 类型 |
扩展位置的类型。 |
string (必需) |
SolutionProperties
| 名字 |
描述 |
价值 |
| 组件 |
组件列表 |
组件属性[] |
| 版本 |
特定资源的版本。 |
字符串 |