Order
The order details. API Version: 2020-12-01.
Example Usage
OrderPut
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var order = new AzureNative.DataBoxEdge.Order("order", new()
{
ContactInformation = new AzureNative.DataBoxEdge.Inputs.ContactDetailsArgs
{
CompanyName = "Microsoft",
ContactPerson = "John Mcclane",
EmailList = new[]
{
"john@microsoft.com",
},
Phone = "(800) 426-9400",
},
DeviceName = "testedgedevice",
ResourceGroupName = "GroupForEdgeAutomation",
ShippingAddress = new AzureNative.DataBoxEdge.Inputs.AddressArgs
{
AddressLine1 = "Microsoft Corporation",
AddressLine2 = "One Microsoft Way",
AddressLine3 = "Redmond",
City = "WA",
Country = "USA",
PostalCode = "98052",
State = "WA",
},
});
});
Content copied to clipboard
package main
import (
databoxedge "github.com/pulumi/pulumi-azure-native-sdk/databoxedge"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databoxedge.NewOrder(ctx, "order", &databoxedge.OrderArgs{
ContactInformation: &databoxedge.ContactDetailsArgs{
CompanyName: pulumi.String("Microsoft"),
ContactPerson: pulumi.String("John Mcclane"),
EmailList: pulumi.StringArray{
pulumi.String("john@microsoft.com"),
},
Phone: pulumi.String("(800) 426-9400"),
},
DeviceName: pulumi.String("testedgedevice"),
ResourceGroupName: pulumi.String("GroupForEdgeAutomation"),
ShippingAddress: &databoxedge.AddressArgs{
AddressLine1: pulumi.String("Microsoft Corporation"),
AddressLine2: pulumi.String("One Microsoft Way"),
AddressLine3: pulumi.String("Redmond"),
City: pulumi.String("WA"),
Country: pulumi.String("USA"),
PostalCode: pulumi.String("98052"),
State: pulumi.String("WA"),
},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.databoxedge.Order;
import com.pulumi.azurenative.databoxedge.OrderArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var order = new Order("order", OrderArgs.builder()
.contactInformation(Map.ofEntries(
Map.entry("companyName", "Microsoft"),
Map.entry("contactPerson", "John Mcclane"),
Map.entry("emailList", "john@microsoft.com"),
Map.entry("phone", "(800) 426-9400")
))
.deviceName("testedgedevice")
.resourceGroupName("GroupForEdgeAutomation")
.shippingAddress(Map.ofEntries(
Map.entry("addressLine1", "Microsoft Corporation"),
Map.entry("addressLine2", "One Microsoft Way"),
Map.entry("addressLine3", "Redmond"),
Map.entry("city", "WA"),
Map.entry("country", "USA"),
Map.entry("postalCode", "98052"),
Map.entry("state", "WA")
))
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:databoxedge:Order default /subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default
Content copied to clipboard
Properties
Link copied to clipboard
The contact details.
Link copied to clipboard
Current status of the order.
Link copied to clipboard
Tracking information for the package delivered to the customer whether it has an original or a replacement device.
Link copied to clipboard
List of status changes in the order.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Tracking information for the package returned from the customer whether it has an original or a replacement device.
Link copied to clipboard
Serial number of the device.
Link copied to clipboard
ShipmentType of the order
Link copied to clipboard
The shipping address.