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

Microsoft.DataBoxEdge dataBoxEdgeDevices/orders 2020-09-01-preview

Bicep 资源定义

dataBoxEdgeDevices/orders 资源类型可以使用以下目标操作进行部署:

有关每个 API 版本中已更改属性的列表,请参阅 更改日志

资源格式

若要创建 Microsoft.DataBoxEdge/dataBoxEdgeDevices/orders 资源,请将以下 Bicep 添加到模板。

resource symbolicname 'Microsoft.DataBoxEdge/dataBoxEdgeDevices/orders@2020-09-01-preview' = {
  name: 'default'
  parent: resourceSymbolicName
  properties: {
    contactInformation: {
      companyName: 'string'
      contactPerson: 'string'
      emailList: [
        'string'
      ]
      phone: 'string'
    }
    shipmentType: '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 (必需)
shipmentType 订单的 ShipmentType 'NotApplicable'
“SelfPickup”
'ShippedToCustomer'
shippingAddress 送货地址。 Address

ContactDetails

名称 说明
companyName 公司名称。 字符串 (必需)
contactPerson 联系人姓名。 字符串 (必需)
emailList 电子邮件列表。 string[] (必需)
phone 电话号码。 字符串 (必需)

地址

名称 说明
addressLine1 地址行 1。 字符串
addressLine2 地址行 2。 字符串
addressLine3 地址行 3。 字符串
city 城市名称。 string
country 国家/地区名称。 字符串 (必需)
postalCode 邮政编码。 string
state 状态名称。 字符串

ARM 模板资源定义

dataBoxEdgeDevices/orders 资源类型可以通过针对以下操作进行部署:

有关每个 API 版本中更改的属性的列表,请参阅 更改日志

资源格式

若要创建 Microsoft.DataBoxEdge/dataBoxEdgeDevices/orders 资源,请将以下 JSON 添加到模板。

{
  "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/orders",
  "apiVersion": "2020-09-01-preview",
  "name": "default",
  "properties": {
    "contactInformation": {
      "companyName": "string",
      "contactPerson": "string",
      "emailList": [ "string" ],
      "phone": "string"
    },
    "shipmentType": "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 版本 “2020-09-01-preview”
name 资源名称

了解如何在 JSON ARM 模板中为子资源设置名称和类型。
“default”
properties 订单属性。 OrderProperties

OrderProperties

名称 说明
contactInformation 联系人详细信息。 ContactDetails (必需)
shipmentType 订单的 ShipmentType “NotApplicable”
“SelfPickup”
“ShippedToCustomer”
shippingAddress 送货地址。 Address

ContactDetails

名称 说明
companyName 公司名称。 字符串 (必需)
contactPerson 联系人姓名。 字符串 (必需)
emailList 电子邮件列表。 string[] (必需的)
phone 电话号码。 字符串 (必需)

地址

名称 说明
addressLine1 地址行 1。 字符串
addressLine2 地址行 2。 字符串
addressLine3 地址行 3。 字符串
city 城市名称。 string
country 国家/地区名称。 字符串 (必需)
postalCode 邮政编码。 string
state 状态名称。 字符串

Terraform (AzAPI 提供程序) 资源定义

dataBoxEdgeDevices/orders 资源类型可以通过针对以下操作进行部署:

  • 资源组

有关每个 API 版本中更改的属性的列表,请参阅 更改日志

资源格式

若要创建 Microsoft.DataBoxEdge/dataBoxEdgeDevices/orders 资源,请将以下 Terraform 添加到模板。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DataBoxEdge/dataBoxEdgeDevices/orders@2020-09-01-preview"
  name = "default"
  parent_id = "string"
  body = jsonencode({
    properties = {
      contactInformation = {
        companyName = "string"
        contactPerson = "string"
        emailList = [
          "string"
        ]
        phone = "string"
      }
      shipmentType = "string"
      shippingAddress = {
        addressLine1 = "string"
        addressLine2 = "string"
        addressLine3 = "string"
        city = "string"
        country = "string"
        postalCode = "string"
        state = "string"
      }
    }
  })
}

属性值

dataBoxEdgeDevices/orders

名称 说明 Value
type 资源类型 “Microsoft.DataBoxEdge/dataBoxEdgeDevices/orders@2020-09-01-preview”
name 资源名称 "default"
parent_id 此资源的父资源 ID。 类型为:dataBoxEdgeDevices 的资源的 ID
properties 订单属性。 OrderProperties

OrderProperties

名称 说明
contactInformation 联系人详细信息。 ContactDetails (必需)
shipmentType 订单的 ShipmentType “NotApplicable”
“SelfPickup”
“ShippedToCustomer”
shippingAddress 送货地址。 Address

ContactDetails

名称 说明
companyName 公司名称。 字符串 (必需)
contactPerson 联系人姓名。 字符串 (必需)
emailList 电子邮件列表。 string[] (必需的)
phone 电话号码。 字符串 (必需)

地址

名称 说明
addressLine1 地址行 1。 字符串
addressLine2 地址行 2。 字符串
addressLine3 地址行 3。 字符串
city 城市名称。 string
country 国家/地区名称。 字符串 (必需)
postalCode 邮政编码。 string
state 状态名称。 字符串