Skip to main content

order_items_at_subscription_levels

Creates, updates, deletes, gets or lists an order_items_at_subscription_levels resource.

Overview

Nameorder_items_at_subscription_levels
TypeResource
Idazure_extras.edgeorder.order_items_at_subscription_levels

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
namestringThe name of the resource.
addressDetailsobjectRepresents shipping and return address for order item. Required.
locationstringThe geo-location where the resource lives. Required.
orderIdstringId of the order to which order item belongs to. Required.
orderItemDetailsobjectRepresents order item details. Required.
startTimestring (date-time)Start time of order item.
systemDataobjectRepresents resource creation and update time.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_order_items_at_subscription_levelselectsubscription_id$filter, $expand, $skipTokenLists 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.

NameDatatypeDescription
subscription_idstring
$expandstring$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.
$filterstring$filter is supported to filter based on order id. Filter supports only equals operation. Default value is None.
$skipTokenstring$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

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 }}'
;