Skip to main content

shares

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

Overview

Nameshares
TypeResource
Idazure.edge_gateway.shares

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 share by name.
list_by_data_box_edge_deviceexecresource_group_name, device_name, subscription_idaccept-languageLists all the shares in a data box edge/gateway device.
refreshexecRefreshes the share metadata with the data from the cloud.

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 share name.
resource_group_namestringThe resource group name.
subscription_idstring
accept-languagestring

Lifecycle Methods

Gets a share by name.

EXEC azure.edge_gateway.shares.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 }}'
;