@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.42 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* The order details.
*
* Uses Azure REST API version 2023-07-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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getOrder(args: GetOrderArgs, opts?: pulumi.InvokeOptions): Promise<GetOrderResult>;
export interface GetOrderArgs {
/**
* The device name.
*/
deviceName: string;
/**
* The resource group name.
*/
resourceGroupName: string;
}
/**
* The order details.
*/
export interface GetOrderResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The contact details.
*/
readonly contactInformation: outputs.databoxedge.ContactDetailsResponse;
/**
* Current status of the order.
*/
readonly currentStatus: outputs.databoxedge.OrderStatusResponse;
/**
* Tracking information for the package delivered to the customer whether it has an original or a replacement device.
*/
readonly deliveryTrackingInfo: outputs.databoxedge.TrackingInfoResponse[];
/**
* The path ID that uniquely identifies the object.
*/
readonly id: string;
/**
* It specify the order api version.
*/
readonly kind: string;
/**
* The object name.
*/
readonly name: string;
/**
* List of status changes in the order.
*/
readonly orderHistory: outputs.databoxedge.OrderStatusResponse[];
/**
* It specify the order resource id.
*/
readonly orderId: string;
/**
* Tracking information for the package returned from the customer whether it has an original or a replacement device.
*/
readonly returnTrackingInfo: outputs.databoxedge.TrackingInfoResponse[];
/**
* Serial number of the device.
*/
readonly serialNumber: string;
/**
* ShipmentType of the order
*/
readonly shipmentType?: string;
/**
* The shipping address.
*/
readonly shippingAddress?: outputs.databoxedge.AddressResponse;
/**
* Metadata pertaining to creation and last modification of Order
*/
readonly systemData: outputs.databoxedge.SystemDataResponse;
/**
* The hierarchical type of the object.
*/
readonly type: string;
}
/**
* The order details.
*
* Uses Azure REST API version 2023-07-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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getOrderOutput(args: GetOrderOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrderResult>;
export interface GetOrderOutputArgs {
/**
* The device name.
*/
deviceName: pulumi.Input<string>;
/**
* The resource group name.
*/
resourceGroupName: pulumi.Input<string>;
}