This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.storsimple.listDeviceFailoverTars
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
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. Azure REST API version: 2017-06-01.
Using listDeviceFailoverTars
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function listDeviceFailoverTars(args: ListDeviceFailoverTarsArgs, opts?: InvokeOptions): Promise<ListDeviceFailoverTarsResult>
function listDeviceFailoverTarsOutput(args: ListDeviceFailoverTarsOutputArgs, opts?: InvokeOptions): Output<ListDeviceFailoverTarsResult>
def list_device_failover_tars(manager_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
source_device_name: Optional[str] = None,
volume_containers: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> ListDeviceFailoverTarsResult
def list_device_failover_tars_output(manager_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
source_device_name: Optional[pulumi.Input[str]] = None,
volume_containers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ListDeviceFailoverTarsResult]
func ListDeviceFailoverTars(ctx *Context, args *ListDeviceFailoverTarsArgs, opts ...InvokeOption) (*ListDeviceFailoverTarsResult, error)
func ListDeviceFailoverTarsOutput(ctx *Context, args *ListDeviceFailoverTarsOutputArgs, opts ...InvokeOption) ListDeviceFailoverTarsResultOutput
> Note: This function is named ListDeviceFailoverTars
in the Go SDK.
public static class ListDeviceFailoverTars
{
public static Task<ListDeviceFailoverTarsResult> InvokeAsync(ListDeviceFailoverTarsArgs args, InvokeOptions? opts = null)
public static Output<ListDeviceFailoverTarsResult> Invoke(ListDeviceFailoverTarsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListDeviceFailoverTarsResult> listDeviceFailoverTars(ListDeviceFailoverTarsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:storsimple:listDeviceFailoverTars
arguments:
# arguments dictionary
The following arguments are supported:
- Manager
Name string - The manager name
- Resource
Group stringName - The resource group name
- Source
Device stringName - The source device name on which failover is performed.
- Volume
Containers List<string> - The list of path IDs of the volume containers that needs to be failed-over, for which we want to fetch the eligible targets.
- Manager
Name string - The manager name
- Resource
Group stringName - The resource group name
- Source
Device stringName - The source device name on which failover is performed.
- Volume
Containers []string - The list of path IDs of the volume containers that needs to be failed-over, for which we want to fetch the eligible targets.
- manager
Name String - The manager name
- resource
Group StringName - The resource group name
- source
Device StringName - The source device name on which failover is performed.
- volume
Containers List<String> - The list of path IDs of the volume containers that needs to be failed-over, for which we want to fetch the eligible targets.
- manager
Name string - The manager name
- resource
Group stringName - The resource group name
- source
Device stringName - The source device name on which failover is performed.
- volume
Containers string[] - The list of path IDs of the volume containers that needs to be failed-over, for which we want to fetch the eligible targets.
- manager_
name str - The manager name
- resource_
group_ strname - The resource group name
- source_
device_ strname - The source device name on which failover is performed.
- volume_
containers Sequence[str] - The list of path IDs of the volume containers that needs to be failed-over, for which we want to fetch the eligible targets.
- manager
Name String - The manager name
- resource
Group StringName - The resource group name
- source
Device StringName - The source device name on which failover is performed.
- volume
Containers List<String> - The list of path IDs of the volume containers that needs to be failed-over, for which we want to fetch the eligible targets.
listDeviceFailoverTars Result
The following output properties are available:
- Value
List<Pulumi.
Azure Native. Stor Simple. Outputs. Failover Target Response> - The list of all the failover targets.
- Value
[]Failover
Target Response - The list of all the failover targets.
- value
List<Failover
Target Response> - The list of all the failover targets.
- value
Failover
Target Response[] - The list of all the failover targets.
- value
Sequence[Failover
Target Response] - The list of all the failover targets.
- value List<Property Map>
- The list of all the failover targets.
Supporting Types
FailoverTargetResponse
- Available
Local doubleStorage In Bytes - The amount of free local storage available on the device in bytes.
- Available
Tiered doubleStorage In Bytes - The amount of free tiered storage available for the device in bytes.
- Data
Containers intCount - The count of data containers on the device.
- Device
Id string - The path ID of the device.
- Device
Location string - The geo location (applicable only for cloud appliances) of the device.
- Device
Software stringVersion - The software version of the device.
- Device
Status string - The status of the device.
- Eligibility
Result Pulumi.Azure Native. Stor Simple. Inputs. Target Eligibility Result Response - The eligibility result of the device, as a failover target device.
- Friendly
Device stringSoftware Version - The friendly name for the current version of software on the device.
- Model
Description string - The model number of the device.
- Volumes
Count int - The count of volumes on the device.
- Available
Local float64Storage In Bytes - The amount of free local storage available on the device in bytes.
- Available
Tiered float64Storage In Bytes - The amount of free tiered storage available for the device in bytes.
- Data
Containers intCount - The count of data containers on the device.
- Device
Id string - The path ID of the device.
- Device
Location string - The geo location (applicable only for cloud appliances) of the device.
- Device
Software stringVersion - The software version of the device.
- Device
Status string - The status of the device.
- Eligibility
Result TargetEligibility Result Response - The eligibility result of the device, as a failover target device.
- Friendly
Device stringSoftware Version - The friendly name for the current version of software on the device.
- Model
Description string - The model number of the device.
- Volumes
Count int - The count of volumes on the device.
- available
Local DoubleStorage In Bytes - The amount of free local storage available on the device in bytes.
- available
Tiered DoubleStorage In Bytes - The amount of free tiered storage available for the device in bytes.
- data
Containers IntegerCount - The count of data containers on the device.
- device
Id String - The path ID of the device.
- device
Location String - The geo location (applicable only for cloud appliances) of the device.
- device
Software StringVersion - The software version of the device.
- device
Status String - The status of the device.
- eligibility
Result TargetEligibility Result Response - The eligibility result of the device, as a failover target device.
- friendly
Device StringSoftware Version - The friendly name for the current version of software on the device.
- model
Description String - The model number of the device.
- volumes
Count Integer - The count of volumes on the device.
- available
Local numberStorage In Bytes - The amount of free local storage available on the device in bytes.
- available
Tiered numberStorage In Bytes - The amount of free tiered storage available for the device in bytes.
- data
Containers numberCount - The count of data containers on the device.
- device
Id string - The path ID of the device.
- device
Location string - The geo location (applicable only for cloud appliances) of the device.
- device
Software stringVersion - The software version of the device.
- device
Status string - The status of the device.
- eligibility
Result TargetEligibility Result Response - The eligibility result of the device, as a failover target device.
- friendly
Device stringSoftware Version - The friendly name for the current version of software on the device.
- model
Description string - The model number of the device.
- volumes
Count number - The count of volumes on the device.
- available_
local_ floatstorage_ in_ bytes - The amount of free local storage available on the device in bytes.
- available_
tiered_ floatstorage_ in_ bytes - The amount of free tiered storage available for the device in bytes.
- data_
containers_ intcount - The count of data containers on the device.
- device_
id str - The path ID of the device.
- device_
location str - The geo location (applicable only for cloud appliances) of the device.
- device_
software_ strversion - The software version of the device.
- device_
status str - The status of the device.
- eligibility_
result TargetEligibility Result Response - The eligibility result of the device, as a failover target device.
- friendly_
device_ strsoftware_ version - The friendly name for the current version of software on the device.
- model_
description str - The model number of the device.
- volumes_
count int - The count of volumes on the device.
- available
Local NumberStorage In Bytes - The amount of free local storage available on the device in bytes.
- available
Tiered NumberStorage In Bytes - The amount of free tiered storage available for the device in bytes.
- data
Containers NumberCount - The count of data containers on the device.
- device
Id String - The path ID of the device.
- device
Location String - The geo location (applicable only for cloud appliances) of the device.
- device
Software StringVersion - The software version of the device.
- device
Status String - The status of the device.
- eligibility
Result Property Map - The eligibility result of the device, as a failover target device.
- friendly
Device StringSoftware Version - The friendly name for the current version of software on the device.
- model
Description String - The model number of the device.
- volumes
Count Number - The count of volumes on the device.
TargetEligibilityErrorMessageResponse
- Message string
- The localized error message stating the reason why the device is not eligible as a target device.
- Resolution string
- The localized resolution message for the error.
- Result
Code string - The result code for the error, due to which the device does not qualify as a failover target device.
- Message string
- The localized error message stating the reason why the device is not eligible as a target device.
- Resolution string
- The localized resolution message for the error.
- Result
Code string - The result code for the error, due to which the device does not qualify as a failover target device.
- message String
- The localized error message stating the reason why the device is not eligible as a target device.
- resolution String
- The localized resolution message for the error.
- result
Code String - The result code for the error, due to which the device does not qualify as a failover target device.
- message string
- The localized error message stating the reason why the device is not eligible as a target device.
- resolution string
- The localized resolution message for the error.
- result
Code string - The result code for the error, due to which the device does not qualify as a failover target device.
- message str
- The localized error message stating the reason why the device is not eligible as a target device.
- resolution str
- The localized resolution message for the error.
- result_
code str - The result code for the error, due to which the device does not qualify as a failover target device.
- message String
- The localized error message stating the reason why the device is not eligible as a target device.
- resolution String
- The localized resolution message for the error.
- result
Code String - The result code for the error, due to which the device does not qualify as a failover target device.
TargetEligibilityResultResponse
- Eligibility
Status string - The eligibility status of device, as a failover target device.
- Messages
List<Pulumi.
Azure Native. Stor Simple. Inputs. Target Eligibility Error Message Response> - The list of error messages, if a device does not qualify as a failover target device.
- Eligibility
Status string - The eligibility status of device, as a failover target device.
- Messages
[]Target
Eligibility Error Message Response - The list of error messages, if a device does not qualify as a failover target device.
- eligibility
Status String - The eligibility status of device, as a failover target device.
- messages
List<Target
Eligibility Error Message Response> - The list of error messages, if a device does not qualify as a failover target device.
- eligibility
Status string - The eligibility status of device, as a failover target device.
- messages
Target
Eligibility Error Message Response[] - The list of error messages, if a device does not qualify as a failover target device.
- eligibility_
status str - The eligibility status of device, as a failover target device.
- messages
Sequence[Target
Eligibility Error Message Response] - The list of error messages, if a device does not qualify as a failover target device.
- eligibility
Status String - The eligibility status of device, as a failover target device.
- messages List<Property Map>
- The list of error messages, if a device does not qualify as a failover target device.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi