sdk/python/pulumi_azure_nextgen/storsimple/latest/list_device_failover_tars.py
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[pulumi.InvokeOptions] = None) -> AwaitableListDeviceFailoverTarsResult:
    """
    The list of all devices in a resource and their eligibility status as a failover target device.
    Latest API Version: 2017-06-01.


    :param str manager_name: The manager name
    :param str resource_group_name: The resource group name
    :param str source_device_name: The source device name on which failover is performed.
    :param Sequence[str] volume_containers: The list of path IDs of the volume containers that needs to be failed-over, for which we want to fetch the eligible targets.
    """
    pulumi.log.warn("list_device_failover_tars is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:storsimple:listDeviceFailoverTars'.")
    __args__ = dict()
    __args__['managerName'] = manager_name
    __args__['resourceGroupName'] = resource_group_name
    __args__['sourceDeviceName'] = source_device_name
    __args__['volumeContainers'] = volume_containers
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-nextgen:storsimple/latest:listDeviceFailoverTars', __args__, opts=opts, typ=ListDeviceFailoverTarsResult).value

    return AwaitableListDeviceFailoverTarsResult(
        value=__ret__.value)

    The list of all devices in a resource and their eligibility status as a failover target device.
    Latest API Version: 2017-06-01.


    :param str manager_name: The manager name
    :param str resource_group_name: The resource group name
    :param str source_device_name: The source device name on which failover is performed.
    :param Sequence[str] volume_containers: The list of path IDs of the volume containers that needs to be failed-over, for which we want to fetch the eligible targets.
    
The list of all devices in a resource and their eligibility status as a failover target device.
The list of all devices in a resource and their eligibility status as a failover target device .
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[pulumi.InvokeOptions] = None) -> AwaitableListDeviceFailoverTarsResult:
    pulumi.log.warn("list_device_failover_tars is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:storsimple:listDeviceFailoverTars'.")
    __args__ = dict()
    __args__['managerName'] = manager_name
    __args__['resourceGroupName'] = resource_group_name
    __args__['sourceDeviceName'] = source_device_name
    __args__['volumeContainers'] = volume_containers
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-nextgen:storsimple/latest:listDeviceFailoverTars', __args__, opts=opts, typ=ListDeviceFailoverTarsResult).value
    return AwaitableListDeviceFailoverTarsResult(
        value=__ret__.value)
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 [ pulumi . InvokeOptions ] = None ) -> AwaitableListDeviceFailoverTarsResult : pulumi . log . warn ( "list_device_failover_tars is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:storsimple:listDeviceFailoverTars'." ) __args__ = dict ( ) __args__ [ 'managerName' ] = manager_name __args__ [ 'resourceGroupName' ] = resource_group_name __args__ [ 'sourceDeviceName' ] = source_device_name __args__ [ 'volumeContainers' ] = volume_containers if opts is None : opts = pulumi . InvokeOptions ( ) if opts . version is None : opts . version = _utilities . get_version ( ) __ret__ = pulumi . runtime . invoke ( 'azure-nextgen:storsimple/latest:listDeviceFailoverTars' , __args__ , opts = opts , typ = ListDeviceFailoverTarsResult ) . value return AwaitableListDeviceFailoverTarsResult ( value = __ret__ . value )
The list of all devices in a resource and their eligibility status as a failover target device.
The list of all devices in a resource and their eligibility status as a failover target device .
"""
    The list of all devices in a resource and their eligibility status as a failover target device.
    Latest API Version: 2017-06-01.


    :param str manager_name: The manager name
    :param str resource_group_name: The resource group name
    :param str source_device_name: The source device name on which failover is performed.
    :param Sequence[str] volume_containers: 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
Optional[str]
The manager name
The manager name
resource_group_name
Optional[str]
The resource group name
The resource group name
source_device_name
Optional[str]
The source device name on which failover is performed.
The source device name on which failover is performed .
volume_containers
Optional[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.
The list of path IDs of the volume containers that needs to be failed - over for which we want to fetch the eligible targets .
opts
Optional[pulumi.InvokeOptions]