你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Microsoft。DataBoxEdge dataBoxEdgeDevices/orders 2019-03-01
Bicep 资源定义
dataBoxEdgeDevices/orders 资源类型可以部署到:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中更改的属性的列表,请参阅 更改日志。
资源格式
创建Microsoft。DataBoxEdge/dataBoxEdgeDevices/orders 资源,将以下 Bicep 添加到模板。
resource symbolicname 'Microsoft.DataBoxEdge/dataBoxEdgeDevices/orders@2019-03-01' = {
name: 'default'
parent: resourceSymbolicName
properties: {
contactInformation: {
companyName: 'string'
contactPerson: 'string'
emailList: [
'string'
]
phone: 'string'
}
currentStatus: {
comments: 'string'
status: 'string'
}
shippingAddress: {
addressLine1: 'string'
addressLine2: 'string'
addressLine3: 'string'
city: 'string'
country: 'string'
postalCode: 'string'
state: 'string'
}
}
}
属性值
dataBoxEdgeDevices/orders
名称 | 说明 | 值 |
---|---|---|
name | 资源名称 了解如何在 Bicep 中为子资源设置名称和类型。 |
“default” |
父级 (parent) | 在 Bicep 中,可以为子资源指定父资源。 仅当子资源在父资源外部声明时,才需要添加此属性。 有关详细信息,请参阅 父资源之外的子资源。 |
类型为资源的符号名称: dataBoxEdgeDevices |
properties | 订单属性。 | OrderProperties |
OrderProperties
名称 | 说明 | 值 |
---|---|---|
contactInformation | 联系人详细信息。 | ContactDetails (必需) |
currentStatus | 订单的当前状态。 | OrderStatus |
shippingAddress | 送货地址。 | 所需的地址 () |
ContactDetails
名称 | 说明 | 值 |
---|---|---|
companyName | 公司的名称。 | 字符串 (必需) |
contactPerson | 联系人姓名。 | 字符串 (必需) |
emailList | 电子邮件列表。 | string[] (必需的) |
phone | 电话号码。 | 字符串 (必需) |
OrderStatus
名称 | 说明 | 值 |
---|---|---|
comments | 与此状态更改相关的注释。 | 字符串 |
status | 根据允许的状态类型订单的状态。 | “到达” “AwaitingFulfilment” “AwaitingPreparation” “AwaitingReturnShipment” “AwaitingShipment” “CollectedAtMicrosoft” “已拒绝” “已交付” “LostDevice” “ReplacementRequested” “ReturnInitiated” “已发货” “ShippedBack” “Untracked” (必需) |
地址
名称 | 说明 | 值 |
---|---|---|
addressLine1 | 地址行 1。 | 字符串 (必需) |
addressLine2 | 地址行 2。 | 字符串 |
addressLine3 | 地址行 3。 | 字符串 |
city | 城市名称。 | 字符串 (必需) |
country | 国家/地区名称。 | 字符串 (必需) |
postalCode | 邮政编码。 | 字符串 (必需) |
state | 状态名称。 | 字符串 (必需) |
ARM 模板资源定义
dataBoxEdgeDevices/orders 资源类型可以部署到:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
资源格式
创建Microsoft。DataBoxEdge/dataBoxEdgeDevices/orders 资源,将以下 JSON 添加到模板。
{
"type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/orders",
"apiVersion": "2019-03-01",
"name": "default",
"properties": {
"contactInformation": {
"companyName": "string",
"contactPerson": "string",
"emailList": [ "string" ],
"phone": "string"
},
"currentStatus": {
"comments": "string",
"status": "string"
},
"shippingAddress": {
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"country": "string",
"postalCode": "string",
"state": "string"
}
}
}
属性值
dataBoxEdgeDevices/orders
名称 | 说明 | Value |
---|---|---|
type | 资源类型 | 'Microsoft.DataBoxEdge/dataBoxEdgeDevices/orders' |
apiVersion | 资源 API 版本 | '2019-03-01' |
name | 资源名称 了解如何在 JSON ARM 模板中设置子资源的名称和类型。 |
'default' |
properties | 订单属性。 | OrderProperties |
OrderProperties
名称 | 说明 | Value |
---|---|---|
contactInformation | 联系人详细信息。 | ContactDetails (必需) |
currentStatus | 订单的当前状态。 | OrderStatus |
shippingAddress | 送货地址。 | 地址 (所需的) |
ContactDetails
名称 | 说明 | 值 |
---|---|---|
companyName | 公司的名称。 | 字符串 (必需) |
contactPerson | 联系人姓名。 | 字符串 (必需) |
emailList | 电子邮件列表。 | string[] (必需) |
phone | 电话号码。 | 字符串 (必需) |
OrderStatus
名称 | 说明 | 值 |
---|---|---|
comments | 与此状态更改相关的注释。 | 字符串 |
status | 订单的状态(根据允许的状态类型)。 | “到达” “AwaitingFulfilment” “AwaitingPreparation” 'AwaitingReturnShipment' “AwaitingShipment” 'CollectedAtMicrosoft' “已拒绝” “Delivered” 'LostDevice' 'ReplacementRequested' “ReturnInitiated” “已发货” 'ShippedBack' “Untracked” (必需) |
地址
名称 | 说明 | Value |
---|---|---|
addressLine1 | 地址行 1。 | 字符串 (必需) |
addressLine2 | 地址行 2。 | 字符串 |
addressLine3 | 地址行 3。 | 字符串 |
city | 城市名称。 | 字符串 (必需) |
country | 国家/地区名称。 | 字符串 (必需) |
postalCode | 邮政编码。 | 字符串 (必需) |
state | 状态名称。 | 字符串 (必需) |
Terraform (AzAPI 提供程序) 资源定义
dataBoxEdgeDevices/orders 资源类型可以部署到:
- 资源组
有关每个 API 版本中更改的属性的列表,请参阅 更改日志。
资源格式
创建Microsoft。DataBoxEdge/dataBoxEdgeDevices/orders 资源,将以下 Terraform 添加到模板。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.DataBoxEdge/dataBoxEdgeDevices/orders@2019-03-01"
name = "default"
parent_id = "string"
body = jsonencode({
properties = {
contactInformation = {
companyName = "string"
contactPerson = "string"
emailList = [
"string"
]
phone = "string"
}
currentStatus = {
comments = "string"
status = "string"
}
shippingAddress = {
addressLine1 = "string"
addressLine2 = "string"
addressLine3 = "string"
city = "string"
country = "string"
postalCode = "string"
state = "string"
}
}
})
}
属性值
dataBoxEdgeDevices/orders
名称 | 说明 | Value |
---|---|---|
type | 资源类型 | “Microsoft。DataBoxEdge/dataBoxEdgeDevices/orders@2019-03-01” |
name | 资源名称 | "default" |
parent_id | 此资源的父资源 ID。 | 类型为:dataBoxEdgeDevices 的资源的 ID |
properties | 订单属性。 | OrderProperties |
OrderProperties
名称 | 说明 | 值 |
---|---|---|
contactInformation | 联系人详细信息。 | ContactDetails (必需) |
currentStatus | 订单的当前状态。 | OrderStatus |
shippingAddress | 送货地址。 | 所需的地址 () |
ContactDetails
名称 | 说明 | 值 |
---|---|---|
companyName | 公司的名称。 | 字符串 (必需) |
contactPerson | 联系人姓名。 | 字符串 (必需) |
emailList | 电子邮件列表。 | string[] (必需的) |
phone | 电话号码。 | 字符串 (必需) |
OrderStatus
名称 | 说明 | 值 |
---|---|---|
comments | 与此状态更改相关的注释。 | 字符串 |
status | 根据允许的状态类型订单的状态。 | “到达” “AwaitingFulfilment” “AwaitingPreparation” “AwaitingReturnShipment” “AwaitingShipment” “CollectedAtMicrosoft” “已拒绝” “已交付” “LostDevice” “ReplacementRequested” “ReturnInitiated” “已发货” “ShippedBack” “未跟踪” (必需) |
地址
名称 | 说明 | Value |
---|---|---|
addressLine1 | 地址行 1。 | 字符串 (必需) |
addressLine2 | 地址行 2。 | 字符串 |
addressLine3 | 地址行 3。 | 字符串 |
city | 城市名称。 | 字符串 (必需) |
country | 国家/地区名称。 | 字符串 (必需) |
postalCode | 邮政编码。 | 字符串 (必需) |
state | 状态名称。 | 字符串 (必需) |