Bicep resource definition
The orderItems resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.EdgeOrder/orderItems resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.EdgeOrder/orderItems@2020-12-01-preview' = {
location: 'string'
name: 'string'
properties: {
addressDetails: {
forwardAddress: {
contactDetails: {
contactName: 'string'
emailList: [
'string'
]
mobile: 'string'
phone: 'string'
phoneExtension: 'string'
}
shippingAddress: {
addressType: 'string'
city: 'string'
companyName: 'string'
country: 'string'
postalCode: 'string'
stateOrProvince: 'string'
streetAddress1: 'string'
streetAddress2: 'string'
streetAddress3: 'string'
zipExtendedCode: 'string'
}
}
}
orderId: 'string'
orderItemDetails: {
notificationEmailList: [
'string'
]
orderItemType: 'string'
preferences: {
encryptionPreferences: {
doubleEncryptionStatus: 'string'
}
managementResourcePreferences: {
preferredManagementResourceId: 'string'
}
notificationPreferences: [
{
sendNotification: bool
stageName: 'string'
}
]
transportPreferences: {
preferredShipmentType: 'string'
}
}
productDetails: {
displayInfo: {}
hierarchyInformation: {
configurationName: 'string'
productFamilyName: 'string'
productLineName: 'string'
productName: 'string'
}
}
}
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.EdgeOrder/orderItems
| Name |
Description |
Value |
| location |
The geo-location where the resource lives |
string (required) |
| name |
The resource name |
string (required) |
| properties |
Order item properties |
OrderItemProperties (required) |
| tags |
Resource tags |
Dictionary of tag names and values. See Tags in templates |
AddressDetails
| Name |
Description |
Value |
| forwardAddress |
Customer address and contact details. It should be address resource |
AddressProperties (required) |
AddressProperties
| Name |
Description |
Value |
| contactDetails |
Contact details for the address |
ContactDetails (required) |
| shippingAddress |
Shipping details for the address |
ShippingAddress |
| Name |
Description |
Value |
| contactName |
Contact name of the person. |
string (required) |
| emailList |
List of Email-ids to be notified about job progress. |
string[] (required) |
| mobile |
Mobile number of the contact person. |
string |
| phone |
Phone number of the contact person. |
string (required) |
| phoneExtension |
Phone extension number of the contact person. |
string |
DisplayInfo
EncryptionPreferences
| Name |
Description |
Value |
| doubleEncryptionStatus |
Double encryption status as entered by the customer. It is compulsory to give this parameter if the 'Deny' or 'Disabled' policy is configured. |
'Disabled' 'Enabled' |
| Name |
Description |
Value |
| configurationName |
Represents configuration name that uniquely identifies configuration |
string |
| productFamilyName |
Represents product family name that uniquely identifies product family |
string |
| productLineName |
Represents product line name that uniquely identifies product line |
string |
| productName |
Represents product name that uniquely identifies product |
string |
ManagementResourcePreferences
| Name |
Description |
Value |
| preferredManagementResourceId |
Customer preferred Management resource ARM ID |
string |
NotificationPreference
| Name |
Description |
Value |
| sendNotification |
Notification is required or not. |
bool (required) |
| stageName |
Name of the stage. |
'Delivered' 'Shipped' (required) |
OrderItemDetails
| Name |
Description |
Value |
| notificationEmailList |
Additional notification email list |
string[] |
| orderItemType |
Order item type. |
'Purchase' 'Rental' (required) |
| preferences |
Customer notification Preferences |
Preferences |
| productDetails |
Unique identifier for configuration. |
ProductDetails (required) |
OrderItemProperties
| Name |
Description |
Value |
| addressDetails |
Represents shipping and return address for order item |
AddressDetails (required) |
| orderId |
Id of the order to which order item belongs to |
string (required) |
| orderItemDetails |
Represents order item details. |
OrderItemDetails (required) |
Preferences
ProductDetails
| Name |
Description |
Value |
| displayInfo |
Display details of the product |
DisplayInfo |
| hierarchyInformation |
Hierarchy of the product which uniquely identifies the product |
HierarchyInformation (required) |
ShippingAddress
| Name |
Description |
Value |
| addressType |
Type of address. |
'Commercial' 'None' 'Residential' |
| city |
Name of the City. |
string |
| companyName |
Name of the company. |
string |
| country |
Name of the Country. |
string (required) |
| postalCode |
Postal code. |
string |
| stateOrProvince |
Name of the State or Province. |
string |
| streetAddress1 |
Street Address line 1. |
string (required) |
| streetAddress2 |
Street Address line 2. |
string |
| streetAddress3 |
Street Address line 3. |
string |
| zipExtendedCode |
Extended Zip Code. |
string |
TransportPreferences
| Name |
Description |
Value |
| preferredShipmentType |
Indicates Shipment Logistics type that the customer preferred. |
'CustomerManaged' 'MicrosoftManaged' (required) |
ARM template resource definition
The orderItems resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.EdgeOrder/orderItems resource, add the following JSON to your template.
{
"type": "Microsoft.EdgeOrder/orderItems",
"apiVersion": "2020-12-01-preview",
"name": "string",
"location": "string",
"properties": {
"addressDetails": {
"forwardAddress": {
"contactDetails": {
"contactName": "string",
"emailList": [ "string" ],
"mobile": "string",
"phone": "string",
"phoneExtension": "string"
},
"shippingAddress": {
"addressType": "string",
"city": "string",
"companyName": "string",
"country": "string",
"postalCode": "string",
"stateOrProvince": "string",
"streetAddress1": "string",
"streetAddress2": "string",
"streetAddress3": "string",
"zipExtendedCode": "string"
}
}
},
"orderId": "string",
"orderItemDetails": {
"notificationEmailList": [ "string" ],
"orderItemType": "string",
"preferences": {
"encryptionPreferences": {
"doubleEncryptionStatus": "string"
},
"managementResourcePreferences": {
"preferredManagementResourceId": "string"
},
"notificationPreferences": [
{
"sendNotification": "bool",
"stageName": "string"
}
],
"transportPreferences": {
"preferredShipmentType": "string"
}
},
"productDetails": {
"displayInfo": {
},
"hierarchyInformation": {
"configurationName": "string",
"productFamilyName": "string",
"productLineName": "string",
"productName": "string"
}
}
}
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.EdgeOrder/orderItems
| Name |
Description |
Value |
| apiVersion |
The api version |
'2020-12-01-preview' |
| location |
The geo-location where the resource lives |
string (required) |
| name |
The resource name |
string (required) |
| properties |
Order item properties |
OrderItemProperties (required) |
| tags |
Resource tags |
Dictionary of tag names and values. See Tags in templates |
| type |
The resource type |
'Microsoft.EdgeOrder/orderItems' |
AddressDetails
| Name |
Description |
Value |
| forwardAddress |
Customer address and contact details. It should be address resource |
AddressProperties (required) |
AddressProperties
| Name |
Description |
Value |
| contactDetails |
Contact details for the address |
ContactDetails (required) |
| shippingAddress |
Shipping details for the address |
ShippingAddress |
| Name |
Description |
Value |
| contactName |
Contact name of the person. |
string (required) |
| emailList |
List of Email-ids to be notified about job progress. |
string[] (required) |
| mobile |
Mobile number of the contact person. |
string |
| phone |
Phone number of the contact person. |
string (required) |
| phoneExtension |
Phone extension number of the contact person. |
string |
DisplayInfo
EncryptionPreferences
| Name |
Description |
Value |
| doubleEncryptionStatus |
Double encryption status as entered by the customer. It is compulsory to give this parameter if the 'Deny' or 'Disabled' policy is configured. |
'Disabled' 'Enabled' |
| Name |
Description |
Value |
| configurationName |
Represents configuration name that uniquely identifies configuration |
string |
| productFamilyName |
Represents product family name that uniquely identifies product family |
string |
| productLineName |
Represents product line name that uniquely identifies product line |
string |
| productName |
Represents product name that uniquely identifies product |
string |
ManagementResourcePreferences
| Name |
Description |
Value |
| preferredManagementResourceId |
Customer preferred Management resource ARM ID |
string |
NotificationPreference
| Name |
Description |
Value |
| sendNotification |
Notification is required or not. |
bool (required) |
| stageName |
Name of the stage. |
'Delivered' 'Shipped' (required) |
OrderItemDetails
| Name |
Description |
Value |
| notificationEmailList |
Additional notification email list |
string[] |
| orderItemType |
Order item type. |
'Purchase' 'Rental' (required) |
| preferences |
Customer notification Preferences |
Preferences |
| productDetails |
Unique identifier for configuration. |
ProductDetails (required) |
OrderItemProperties
| Name |
Description |
Value |
| addressDetails |
Represents shipping and return address for order item |
AddressDetails (required) |
| orderId |
Id of the order to which order item belongs to |
string (required) |
| orderItemDetails |
Represents order item details. |
OrderItemDetails (required) |
Preferences
ProductDetails
| Name |
Description |
Value |
| displayInfo |
Display details of the product |
DisplayInfo |
| hierarchyInformation |
Hierarchy of the product which uniquely identifies the product |
HierarchyInformation (required) |
ShippingAddress
| Name |
Description |
Value |
| addressType |
Type of address. |
'Commercial' 'None' 'Residential' |
| city |
Name of the City. |
string |
| companyName |
Name of the company. |
string |
| country |
Name of the Country. |
string (required) |
| postalCode |
Postal code. |
string |
| stateOrProvince |
Name of the State or Province. |
string |
| streetAddress1 |
Street Address line 1. |
string (required) |
| streetAddress2 |
Street Address line 2. |
string |
| streetAddress3 |
Street Address line 3. |
string |
| zipExtendedCode |
Extended Zip Code. |
string |
TransportPreferences
| Name |
Description |
Value |
| preferredShipmentType |
Indicates Shipment Logistics type that the customer preferred. |
'CustomerManaged' 'MicrosoftManaged' (required) |
Usage Examples
The orderItems resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.EdgeOrder/orderItems resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.EdgeOrder/orderItems@2020-12-01-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
addressDetails = {
forwardAddress = {
contactDetails = {
contactName = "string"
emailList = [
"string"
]
mobile = "string"
phone = "string"
phoneExtension = "string"
}
shippingAddress = {
addressType = "string"
city = "string"
companyName = "string"
country = "string"
postalCode = "string"
stateOrProvince = "string"
streetAddress1 = "string"
streetAddress2 = "string"
streetAddress3 = "string"
zipExtendedCode = "string"
}
}
}
orderId = "string"
orderItemDetails = {
notificationEmailList = [
"string"
]
orderItemType = "string"
preferences = {
encryptionPreferences = {
doubleEncryptionStatus = "string"
}
managementResourcePreferences = {
preferredManagementResourceId = "string"
}
notificationPreferences = [
{
sendNotification = bool
stageName = "string"
}
]
transportPreferences = {
preferredShipmentType = "string"
}
}
productDetails = {
displayInfo = {
}
hierarchyInformation = {
configurationName = "string"
productFamilyName = "string"
productLineName = "string"
productName = "string"
}
}
}
}
}
}
Property Values
Microsoft.EdgeOrder/orderItems
| Name |
Description |
Value |
| location |
The geo-location where the resource lives |
string (required) |
| name |
The resource name |
string (required) |
| properties |
Order item properties |
OrderItemProperties (required) |
| tags |
Resource tags |
Dictionary of tag names and values. |
| type |
The resource type |
"Microsoft.EdgeOrder/orderItems@2020-12-01-preview" |
AddressDetails
| Name |
Description |
Value |
| forwardAddress |
Customer address and contact details. It should be address resource |
AddressProperties (required) |
AddressProperties
| Name |
Description |
Value |
| contactDetails |
Contact details for the address |
ContactDetails (required) |
| shippingAddress |
Shipping details for the address |
ShippingAddress |
| Name |
Description |
Value |
| contactName |
Contact name of the person. |
string (required) |
| emailList |
List of Email-ids to be notified about job progress. |
string[] (required) |
| mobile |
Mobile number of the contact person. |
string |
| phone |
Phone number of the contact person. |
string (required) |
| phoneExtension |
Phone extension number of the contact person. |
string |
DisplayInfo
EncryptionPreferences
| Name |
Description |
Value |
| doubleEncryptionStatus |
Double encryption status as entered by the customer. It is compulsory to give this parameter if the 'Deny' or 'Disabled' policy is configured. |
'Disabled' 'Enabled' |
| Name |
Description |
Value |
| configurationName |
Represents configuration name that uniquely identifies configuration |
string |
| productFamilyName |
Represents product family name that uniquely identifies product family |
string |
| productLineName |
Represents product line name that uniquely identifies product line |
string |
| productName |
Represents product name that uniquely identifies product |
string |
ManagementResourcePreferences
| Name |
Description |
Value |
| preferredManagementResourceId |
Customer preferred Management resource ARM ID |
string |
NotificationPreference
| Name |
Description |
Value |
| sendNotification |
Notification is required or not. |
bool (required) |
| stageName |
Name of the stage. |
'Delivered' 'Shipped' (required) |
OrderItemDetails
| Name |
Description |
Value |
| notificationEmailList |
Additional notification email list |
string[] |
| orderItemType |
Order item type. |
'Purchase' 'Rental' (required) |
| preferences |
Customer notification Preferences |
Preferences |
| productDetails |
Unique identifier for configuration. |
ProductDetails (required) |
OrderItemProperties
| Name |
Description |
Value |
| addressDetails |
Represents shipping and return address for order item |
AddressDetails (required) |
| orderId |
Id of the order to which order item belongs to |
string (required) |
| orderItemDetails |
Represents order item details. |
OrderItemDetails (required) |
Preferences
ProductDetails
| Name |
Description |
Value |
| displayInfo |
Display details of the product |
DisplayInfo |
| hierarchyInformation |
Hierarchy of the product which uniquely identifies the product |
HierarchyInformation (required) |
ShippingAddress
| Name |
Description |
Value |
| addressType |
Type of address. |
'Commercial' 'None' 'Residential' |
| city |
Name of the City. |
string |
| companyName |
Name of the company. |
string |
| country |
Name of the Country. |
string (required) |
| postalCode |
Postal code. |
string |
| stateOrProvince |
Name of the State or Province. |
string |
| streetAddress1 |
Street Address line 1. |
string (required) |
| streetAddress2 |
Street Address line 2. |
string |
| streetAddress3 |
Street Address line 3. |
string |
| zipExtendedCode |
Extended Zip Code. |
string |
TransportPreferences
| Name |
Description |
Value |
| preferredShipmentType |
Indicates Shipment Logistics type that the customer preferred. |
'CustomerManaged' 'MicrosoftManaged' (required) |