UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

60 lines (59 loc) 2.2 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * 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. * * Uses Azure REST API version 2017-06-01. */ export declare function listDeviceFailoverTars(args: ListDeviceFailoverTarsArgs, opts?: pulumi.InvokeOptions): Promise<ListDeviceFailoverTarsResult>; export interface ListDeviceFailoverTarsArgs { /** * The manager name */ managerName: string; /** * The resource group name */ resourceGroupName: string; /** * The source device name on which failover is performed. */ sourceDeviceName: 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. */ volumeContainers?: string[]; } /** * The list of all devices in a resource and their eligibility status as a failover target device. */ export interface ListDeviceFailoverTarsResult { /** * The list of all the failover targets. */ readonly value?: outputs.storsimple.FailoverTargetResponse[]; } /** * 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. * * Uses Azure REST API version 2017-06-01. */ export declare function listDeviceFailoverTarsOutput(args: ListDeviceFailoverTarsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListDeviceFailoverTarsResult>; export interface ListDeviceFailoverTarsOutputArgs { /** * The manager name */ managerName: pulumi.Input<string>; /** * The resource group name */ resourceGroupName: pulumi.Input<string>; /** * The source device name on which failover is performed. */ sourceDeviceName: pulumi.Input<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. */ volumeContainers?: pulumi.Input<pulumi.Input<string>[]>; }