@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.32 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get an order item.
*
* Uses Azure REST API version 2024-02-01.
*
* Other available API versions: 2022-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native edgeorder [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getOrderItem(args: GetOrderItemArgs, opts?: pulumi.InvokeOptions): Promise<GetOrderItemResult>;
export interface GetOrderItemArgs {
/**
* $expand is supported on parent device details, device details, forward shipping details and reverse shipping details parameters. Each of these can be provided as a comma separated list. Parent Device Details for order item provides details on the devices of the product, Device Details for order item provides details on the devices of the child configurations of the product, Forward and Reverse Shipping details provide forward and reverse shipping details respectively.
*/
expand?: string;
/**
* The name of the order item.
*/
orderItemName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Represents order item resource.
*/
export interface GetOrderItemResult {
/**
* Represents shipping and return address for order item.
*/
readonly addressDetails?: outputs.edgeorder.AddressDetailsResponse;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* Msi identity of the resource
*/
readonly identity?: outputs.edgeorder.ResourceIdentityResponse;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Id of the order to which order item belongs to.
*/
readonly orderId: string;
/**
* Represents order item details.
*/
readonly orderItemDetails: outputs.edgeorder.OrderItemDetailsResponse;
/**
* Provisioning state
*/
readonly provisioningState: string;
/**
* Start time of order item.
*/
readonly startTime: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.edgeorder.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Get an order item.
*
* Uses Azure REST API version 2024-02-01.
*
* Other available API versions: 2022-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native edgeorder [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getOrderItemOutput(args: GetOrderItemOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrderItemResult>;
export interface GetOrderItemOutputArgs {
/**
* $expand is supported on parent device details, device details, forward shipping details and reverse shipping details parameters. Each of these can be provided as a comma separated list. Parent Device Details for order item provides details on the devices of the product, Device Details for order item provides details on the devices of the child configurations of the product, Forward and Reverse Shipping details provide forward and reverse shipping details respectively.
*/
expand?: pulumi.Input<string>;
/**
* The name of the order item.
*/
orderItemName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}