Skip to main content

devices

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

Overview

Namedevices
TypeResource
Idazure.edge_gateway.devices

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
updateupdateresource_group_name, device_name, subscription_idaccept-languageModifies a Data Box Edge/Gateway resource.
get_rawexecresource_group_name, device_name, subscription_idaccept-languageGets the properties of the data box edge/gateway device.
list_by_subscriptionexecsubscription_idaccept-language, $expandGets all the data box edge/gateway devices in a subscription.
list_by_resource_groupexecresource_group_name, subscription_idaccept-language, $expandGets all the data box edge/gateway devices in a resource group.
get_extended_informationexecresource_group_name, device_name, subscription_idaccept-languageGets additional information for the specified data box edge/gateway device.
get_network_settingsexecresource_group_name, device_name, subscription_idaccept-languageGets the network settings of the specified data box edge/gateway device.
get_update_summaryexecresource_group_name, device_name, subscription_idaccept-languageGets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device.
download_updatesexecDownloads the updates on a data box edge/gateway device.
install_updatesexecInstalls the updates on the data box edge/gateway device.
scan_for_updatesexecScans for updates on a data box edge/gateway device.
create_or_update_security_settingsexecUpdates the security settings on a data box edge/gateway device.
upload_certificateexecresource_group_name, device_name, subscription_idaccept-languageUploads registration certificate for the device.

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
device_namestringThe device name.
resource_group_namestringThe resource group name.
subscription_idstring
$expandstringSpecify $expand=details to populate additional fields related to the resource or Specify $skipToken= to populate the next page in the list.
accept-languagestring

UPDATE examples

Modifies a Data Box Edge/Gateway resource.

UPDATE azure.edge_gateway.devices
SET
-- No updatable properties
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND device_name = '{{ device_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND accept-language = '{{ accept-language}}';

Lifecycle Methods

Gets the properties of the data box edge/gateway device.

EXEC azure.edge_gateway.devices.get_raw 
@resource_group_name='{{ resource_group_name }}' --required,
@device_name='{{ device_name }}' --required,
@subscription_id='{{ subscription_id }}' --required,
@accept-language='{{ accept-language }}'
;