order_items_at_subscription_levels
Creates, updates, deletes, gets or lists an order_items_at_subscription_levels resource.
Overview
| Name | order_items_at_subscription_levels |
| Type | Resource |
| Id | azure_extras.edgeorder.order_items_at_subscription_levels |
Fields
The following fields are returned by SELECT queries:
- list_order_items_at_subscription_level
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long |
name | string | The name of the resource. |
addressDetails | object | Represents shipping and return address for order item. Required. |
location | string | The geo-location where the resource lives. Required. |
orderId | string | Id of the order to which order item belongs to. Required. |
orderItemDetails | object | Represents order item details. Required. |
startTime | string (date-time) | Start time of order item. |
systemData | object | Represents resource creation and update time. |
tags | object | Resource tags. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_order_items_at_subscription_level | select | subscription_id | $filter, $expand, $skipToken | Lists order item at subscription level. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
subscription_id | string | |
$expand | string | $expand is supported on device details, forward shipping details and reverse shipping details parameters. Each of these can be provided as a comma separated list. Device Details for order item provides details on the devices of the product, Forward and Reverse Shipping details provide forward and reverse shipping details respectively. Default value is None. |
$filter | string | $filter is supported to filter based on order id. Filter supports only equals operation. Default value is None. |
$skipToken | string | $skipToken is supported on Get list of order items, which provides the next page in the list of order items. Default value is None. |
SELECT examples
- list_order_items_at_subscription_level
Lists order item at subscription level.
SELECT
id,
name,
addressDetails,
location,
orderId,
orderItemDetails,
startTime,
systemData,
tags,
type
FROM azure_extras.edgeorder.order_items_at_subscription_levels
WHERE subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND $expand = '{{ $expand }}'
AND $skipToken = '{{ $skipToken }}'
;