Skip to main content

devices_failover_targets

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

Overview

Namedevices_failover_targets
TypeResource
Idazure_extras.storsimple_8000_series.devices_failover_targets

Fields

The following fields are returned by SELECT queries:

The list of target devices and their eligibility for failover.

NameDatatypeDescription
availableLocalStorageInBytesinteger (int64)The amount of free local storage available on the device in bytes.
availableTieredStorageInBytesinteger (int64)The amount of free tiered storage available for the device in bytes.
dataContainersCountinteger (int32)The count of data containers on the device.
deviceIdstringThe path ID of the device.
deviceLocationstringThe geo location (applicable only for cloud appliances) of the device.
deviceSoftwareVersionstringThe software version of the device.
deviceStatusstringThe status of the device.
eligibilityResultobjectThe eligibility result of the device, as a failover target device.
friendlyDeviceSoftwareVersionstringThe friendly name for the current version of software on the device.
modelDescriptionstringThe model number of the device.
volumesCountinteger (int32)The count of volumes on the device.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsourceDeviceName, subscriptionId, resourceGroupName, managerNameGiven 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.

NameDatatypeDescription
managerNamestringThe manager name
resourceGroupNamestringThe resource group name
sourceDeviceNamestringThe source device name on which failover is performed.
subscriptionIdstringThe subscription id

SELECT examples

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
;