Order

class Order : KotlinCustomResource

The order details. Uses Azure REST API version 2023-07-01. In version 2.x of the Azure Native provider, it used API version 2022-03-01. Other available API versions: 2022-03-01, 2022-04-01-preview, 2022-12-01-preview, 2023-01-01-preview, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native databoxedge [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

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",
},
});
});
package main
import (
databoxedge "github.com/pulumi/pulumi-azure-native-sdk/databoxedge/v3"
"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
})
}
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 com.pulumi.azurenative.databoxedge.inputs.ContactDetailsArgs;
import com.pulumi.azurenative.databoxedge.inputs.AddressArgs;
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(ContactDetailsArgs.builder()
.companyName("Microsoft")
.contactPerson("John Mcclane")
.emailList("john@microsoft.com")
.phone("(800) 426-9400")
.build())
.deviceName("testedgedevice")
.resourceGroupName("GroupForEdgeAutomation")
.shippingAddress(AddressArgs.builder()
.addressLine1("Microsoft Corporation")
.addressLine2("One Microsoft Way")
.addressLine3("Redmond")
.city("WA")
.country("USA")
.postalCode("98052")
.state("WA")
.build())
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:databoxedge:Order default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

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
val id: Output<String>
Link copied to clipboard
val kind: Output<String>

It specify the order api version.

Link copied to clipboard
val name: Output<String>

The object name.

Link copied to clipboard

List of status changes in the order.

Link copied to clipboard
val orderId: Output<String>

It specify the order resource id.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
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
val serialNumber: Output<String>

Serial number of the device.

Link copied to clipboard
val shipmentType: Output<String>?

ShipmentType of the order

Link copied to clipboard

The shipping address.

Link copied to clipboard

Metadata pertaining to creation and last modification of Order

Link copied to clipboard
val type: Output<String>

The hierarchical type of the object.

Link copied to clipboard
val urn: Output<String>