devices_failover_targets
Creates, updates, deletes, gets or lists a devices_failover_targets
resource.
Overview
Name | devices_failover_targets |
Type | Resource |
Id | azure_extras.storsimple_8000_series.devices_failover_targets |
Fields
The following fields are returned by SELECT
queries:
- list
The list of target devices and their eligibility for failover.
Name | Datatype | Description |
---|---|---|
availableLocalStorageInBytes | integer (int64) | The amount of free local storage available on the device in bytes. |
availableTieredStorageInBytes | integer (int64) | The amount of free tiered storage available for the device in bytes. |
dataContainersCount | integer (int32) | The count of data containers on the device. |
deviceId | string | The path ID of the device. |
deviceLocation | string | The geo location (applicable only for cloud appliances) of the device. |
deviceSoftwareVersion | string | The software version of the device. |
deviceStatus | string | The status of the device. |
eligibilityResult | object | The eligibility result of the device, as a failover target device. |
friendlyDeviceSoftwareVersion | string | The friendly name for the current version of software on the device. |
modelDescription | string | The model number of the device. |
volumesCount | integer (int32) | The count of volumes on the device. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | sourceDeviceName , subscriptionId , resourceGroupName , managerName | Given a list of volume containers to be failed over from a source device, this method returns the eligibility result, as a failover target, for all devices under that resource. |
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.
Name | Datatype | Description |
---|---|---|
managerName | string | The manager name |
resourceGroupName | string | The resource group name |
sourceDeviceName | string | The source device name on which failover is performed. |
subscriptionId | string | The subscription id |
SELECT
examples
- list
Given a list of volume containers to be failed over from a source device, this method returns the eligibility result, as a failover target, for all devices under that resource.
SELECT
availableLocalStorageInBytes,
availableTieredStorageInBytes,
dataContainersCount,
deviceId,
deviceLocation,
deviceSoftwareVersion,
deviceStatus,
eligibilityResult,
friendlyDeviceSoftwareVersion,
modelDescription,
volumesCount
FROM azure_extras.storsimple_8000_series.devices_failover_targets
WHERE sourceDeviceName = '{{ sourceDeviceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND managerName = '{{ managerName }}' -- required
;