Skip to main content

orders

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

Overview

Nameorders
TypeResource
Idazure_extras.edge_order.orders

Fields

The following fields are returned by SELECT queries:

Order resource object.

NameDatatypeDescription
propertiesobjectOrder properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, location, orderNameGet an order.
list_by_resource_groupselectsubscriptionId, resourceGroupName$skipToken, $topList orders at resource group level.
list_by_subscriptionselectsubscriptionId$skipToken, $topList orders 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
locationstringThe name of the Azure region.
orderNamestringThe name of the order.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
$skipTokenstring$skipToken is supported on Get list of orders, which provides the next page in the list of orders.
$topinteger (int32)$top is supported on fetching list of resources. $top=10 means that the first 10 items in the list will be returned to the API caller.

SELECT examples

Get an order.

SELECT
properties
FROM azure_extras.edge_order.orders
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND location = '{{ location }}' -- required
AND orderName = '{{ orderName }}' -- required
;