Skip to main content

edge_devices

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

Overview

Nameedge_devices
TypeResource
Idazure_stack.azure_stack_hci.edge_devices

Fields

NameDatatypeDescription
device_configurationtextfield from the properties object
edgeDeviceNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceUritextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTedgeDeviceName, resourceUriGet a EdgeDevice
listSELECTresourceUriList EdgeDevice resources by parent
create_or_updateINSERTedgeDeviceName, resourceUriCreate a EdgeDevice
deleteDELETEedgeDeviceName, resourceUriDelete a EdgeDevice
validateEXECedgeDeviceName, resourceUri, data__edgeDeviceIdsA long-running resource action.

SELECT examples

List EdgeDevice resources by parent

SELECT
device_configuration,
edgeDeviceName,
provisioning_state,
resourceUri
FROM azure_stack.azure_stack_hci.vw_edge_devices
WHERE resourceUri = '{{ resourceUri }}';

INSERT example

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

/*+ create */
INSERT INTO azure_stack.azure_stack_hci.edge_devices (
edgeDeviceName,
resourceUri,
properties
)
SELECT
'{{ edgeDeviceName }}',
'{{ resourceUri }}',
'{{ properties }}'
;

DELETE example

Deletes the specified edge_devices resource.

/*+ delete */
DELETE FROM azure_stack.azure_stack_hci.edge_devices
WHERE edgeDeviceName = '{{ edgeDeviceName }}'
AND resourceUri = '{{ resourceUri }}';