devices
Creates, updates, deletes, gets or lists a devices
resource.
Overview
Name | devices |
Type | Resource |
Id | azure_extras.storsimple_8000_series.devices |
Fields
- vw_devices
- devices
Name | Datatype | Description |
---|---|---|
id | text | The path ID that uniquely identifies the object. |
name | text | The name of the object. |
activation_time | text | field from the properties object |
active_controller | text | field from the properties object |
agent_group_version | text | field from the properties object |
available_local_storage_in_bytes | text | field from the properties object |
available_tiered_storage_in_bytes | text | field from the properties object |
culture | text | field from the properties object |
details | text | field from the properties object |
deviceName | text | field from the properties object |
device_configuration_status | text | field from the properties object |
device_description | text | field from the properties object |
device_location | text | field from the properties object |
device_software_version | text | field from the properties object |
device_type | text | field from the properties object |
friendly_name | text | field from the properties object |
friendly_software_name | text | field from the properties object |
friendly_software_version | text | field from the properties object |
kind | text | The Kind of the object. Currently only Series8000 is supported |
managerName | text | field from the properties object |
model_description | text | field from the properties object |
network_interface_card_count | text | field from the properties object |
provisioned_local_storage_in_bytes | text | field from the properties object |
provisioned_tiered_storage_in_bytes | text | field from the properties object |
provisioned_volume_size_in_bytes | text | field from the properties object |
resourceGroupName | text | field from the properties object |
rollover_details | text | field from the properties object |
serial_number | text | field from the properties object |
status | text | field from the properties object |
subscriptionId | text | field from the properties object |
target_iqn | text | field from the properties object |
total_tiered_storage_in_bytes | text | field from the properties object |
type | text | The hierarchical type of the object. |
using_storage_in_bytes | text | field from the properties object |
virtual_machine_api_type | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | The path ID that uniquely identifies the object. |
name | string | The name of the object. |
kind | string | The Kind of the object. Currently only Series8000 is supported |
properties | object | The properties of the StorSimple device. |
type | string | The hierarchical type of the object. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | deviceName, managerName, resourceGroupName, subscriptionId | Returns the properties of the specified device. |
list_by_manager | SELECT | managerName, resourceGroupName, subscriptionId | Returns the list of devices for the specified manager. |
delete | DELETE | deviceName, managerName, resourceGroupName, subscriptionId | Deletes the device. |
update | UPDATE | deviceName, managerName, resourceGroupName, subscriptionId, data__properties | Patches the device. |
authorize_for_service_encryption_key_rollover | EXEC | deviceName, managerName, resourceGroupName, subscriptionId | Authorizes the specified device for service data encryption key rollover. |
configure | EXEC | managerName, resourceGroupName, subscriptionId, data__properties | Complete minimal setup before using the device. |
deactivate | EXEC | deviceName, managerName, resourceGroupName, subscriptionId | Deactivates the device. |
failover | EXEC | managerName, resourceGroupName, sourceDeviceName, subscriptionId | Failovers a set of volume containers from a specified source device to a target device. |
install_updates | EXEC | deviceName, managerName, resourceGroupName, subscriptionId | Downloads and installs the updates on the device. |
scan_for_updates | EXEC | deviceName, managerName, resourceGroupName, subscriptionId | Scans for updates on the device. |
SELECT
examples
Returns the list of devices for the specified manager.
- vw_devices
- devices
SELECT
id,
name,
activation_time,
active_controller,
agent_group_version,
available_local_storage_in_bytes,
available_tiered_storage_in_bytes,
culture,
details,
deviceName,
device_configuration_status,
device_description,
device_location,
device_software_version,
device_type,
friendly_name,
friendly_software_name,
friendly_software_version,
kind,
managerName,
model_description,
network_interface_card_count,
provisioned_local_storage_in_bytes,
provisioned_tiered_storage_in_bytes,
provisioned_volume_size_in_bytes,
resourceGroupName,
rollover_details,
serial_number,
status,
subscriptionId,
target_iqn,
total_tiered_storage_in_bytes,
type,
using_storage_in_bytes,
virtual_machine_api_type
FROM azure_extras.storsimple_8000_series.vw_devices
WHERE managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
kind,
properties,
type
FROM azure_extras.storsimple_8000_series.devices
WHERE managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
UPDATE
example
Updates a devices
resource.
/*+ update */
UPDATE azure_extras.storsimple_8000_series.devices
SET
properties = '{{ properties }}'
WHERE
deviceName = '{{ deviceName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND data__properties = '{{ data__properties }}';
DELETE
example
Deletes the specified devices
resource.
/*+ delete */
DELETE FROM azure_extras.storsimple_8000_series.devices
WHERE deviceName = '{{ deviceName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';