DevicesOperationsExtensions.ListFailoverTargetsAsync Method

Definition

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.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.StorSimple8000Series.Models.FailoverTarget>> ListFailoverTargetsAsync (this Microsoft.Azure.Management.StorSimple8000Series.IDevicesOperations operations, string sourceDeviceName, Microsoft.Azure.Management.StorSimple8000Series.Models.ListFailoverTargetsRequest parameters, string resourceGroupName, string managerName, System.Threading.CancellationToken cancellationToken = default);
static member ListFailoverTargetsAsync : Microsoft.Azure.Management.StorSimple8000Series.IDevicesOperations * string * Microsoft.Azure.Management.StorSimple8000Series.Models.ListFailoverTargetsRequest * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.StorSimple8000Series.Models.FailoverTarget>>
<Extension()>
Public Function ListFailoverTargetsAsync (operations As IDevicesOperations, sourceDeviceName As String, parameters As ListFailoverTargetsRequest, resourceGroupName As String, managerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of FailoverTarget))

Parameters

operations
IDevicesOperations

The operations group for this extension method.

sourceDeviceName
String

The source device name on which failover is performed.

parameters
ListFailoverTargetsRequest

ListFailoverTargetsRequest containing the list of volume containers to be failed over.

resourceGroupName
String

The resource group name

managerName
String

The manager name

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to