Skip to main content

orders

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

Overview

Nameorders
TypeResource
Idazure.data_box_edge.orders

Fields

NameDatatypeDescription
idstringThe path ID that uniquely identifies the object.
namestringThe object name.
kindstringIt specify the order api version.
propertiesobjectOrder properties.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe hierarchical type of the object.

Methods

NameAccessible byRequired ParamsDescription
getSELECTdeviceName, resourceGroupName, subscriptionId
list_by_data_box_edge_deviceSELECTdeviceName, resourceGroupName, subscriptionId
create_or_updateINSERTdeviceName, resourceGroupName, subscriptionId
deleteDELETEdeviceName, resourceGroupName, subscriptionId

SELECT examples

SELECT
id,
name,
kind,
properties,
systemData,
type
FROM azure.data_box_edge.orders
WHERE deviceName = '{{ deviceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new orders resource.

/*+ create */
INSERT INTO azure.data_box_edge.orders (
deviceName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ deviceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified orders resource.

/*+ delete */
DELETE FROM azure.data_box_edge.orders
WHERE deviceName = '{{ deviceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';