Skip to main content

devices

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

Overview

Namedevices
TypeResource
Idazure_extras.storsimple_8000_series.devices

Fields

NameDatatypeDescription
idtextThe path ID that uniquely identifies the object.
nametextThe name of the object.
activation_timetextfield from the properties object
active_controllertextfield from the properties object
agent_group_versiontextfield from the properties object
available_local_storage_in_bytestextfield from the properties object
available_tiered_storage_in_bytestextfield from the properties object
culturetextfield from the properties object
detailstextfield from the properties object
deviceNametextfield from the properties object
device_configuration_statustextfield from the properties object
device_descriptiontextfield from the properties object
device_locationtextfield from the properties object
device_software_versiontextfield from the properties object
device_typetextfield from the properties object
friendly_nametextfield from the properties object
friendly_software_nametextfield from the properties object
friendly_software_versiontextfield from the properties object
kindtextThe Kind of the object. Currently only Series8000 is supported
managerNametextfield from the properties object
model_descriptiontextfield from the properties object
network_interface_card_counttextfield from the properties object
provisioned_local_storage_in_bytestextfield from the properties object
provisioned_tiered_storage_in_bytestextfield from the properties object
provisioned_volume_size_in_bytestextfield from the properties object
resourceGroupNametextfield from the properties object
rollover_detailstextfield from the properties object
serial_numbertextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
target_iqntextfield from the properties object
total_tiered_storage_in_bytestextfield from the properties object
typetextThe hierarchical type of the object.
using_storage_in_bytestextfield from the properties object
virtual_machine_api_typetextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdeviceName, managerName, resourceGroupName, subscriptionIdReturns the properties of the specified device.
list_by_managerSELECTmanagerName, resourceGroupName, subscriptionIdReturns the list of devices for the specified manager.
deleteDELETEdeviceName, managerName, resourceGroupName, subscriptionIdDeletes the device.
updateUPDATEdeviceName, managerName, resourceGroupName, subscriptionId, data__propertiesPatches the device.
authorize_for_service_encryption_key_rolloverEXECdeviceName, managerName, resourceGroupName, subscriptionIdAuthorizes the specified device for service data encryption key rollover.
configureEXECmanagerName, resourceGroupName, subscriptionId, data__propertiesComplete minimal setup before using the device.
deactivateEXECdeviceName, managerName, resourceGroupName, subscriptionIdDeactivates the device.
failoverEXECmanagerName, resourceGroupName, sourceDeviceName, subscriptionIdFailovers a set of volume containers from a specified source device to a target device.
install_updatesEXECdeviceName, managerName, resourceGroupName, subscriptionIdDownloads and installs the updates on the device.
scan_for_updatesEXECdeviceName, managerName, resourceGroupName, subscriptionIdScans for updates on the device.

SELECT examples

Returns the list of devices for the specified manager.

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 }}';

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 }}';