Skip to main content

roles

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

Overview

Nameroles
TypeResource
Idazure.edge_gateway.roles

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
get_rawexecresource_group_name, name, device_name, subscription_idaccept-languageGets a specific role by name.
list_by_data_box_edge_deviceexecresource_group_name, device_name, subscription_idaccept-languageLists all the roles configured in a data box edge/gateway 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.
namestringThe role name.
resource_group_namestringThe resource group name.
subscription_idstring
accept-languagestring

Lifecycle Methods

Gets a specific role by name.

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