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

119 lines (118 loc) 2.82 kB
import * as pulumi from "@pulumi/pulumi"; /** * Returns the properties of the specified volume name. * * Uses Azure REST API version 2017-06-01. */ export declare function getVolume(args: GetVolumeArgs, opts?: pulumi.InvokeOptions): Promise<GetVolumeResult>; export interface GetVolumeArgs { /** * The device name */ deviceName: string; /** * The manager name */ managerName: string; /** * The resource group name */ resourceGroupName: string; /** * The volume container name. */ volumeContainerName: string; /** * The volume name. */ volumeName: string; } /** * The volume. */ export interface GetVolumeResult { /** * The IDs of the access control records, associated with the volume. */ readonly accessControlRecordIds: string[]; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The IDs of the backup policies, in which this volume is part of. */ readonly backupPolicyIds: string[]; /** * The backup status of the volume. */ readonly backupStatus: string; /** * The path ID that uniquely identifies the object. */ readonly id: string; /** * The Kind of the object. Currently only Series8000 is supported */ readonly kind?: string; /** * The monitoring status of the volume. */ readonly monitoringStatus: string; /** * The name of the object. */ readonly name: string; /** * The operation status on the volume. */ readonly operationStatus: string; /** * The size of the volume in bytes. */ readonly sizeInBytes: number; /** * The hierarchical type of the object. */ readonly type: string; /** * The ID of the volume container, in which this volume is created. */ readonly volumeContainerId: string; /** * The volume status. */ readonly volumeStatus: string; /** * The type of the volume. */ readonly volumeType: string; } /** * Returns the properties of the specified volume name. * * Uses Azure REST API version 2017-06-01. */ export declare function getVolumeOutput(args: GetVolumeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVolumeResult>; export interface GetVolumeOutputArgs { /** * The device name */ deviceName: pulumi.Input<string>; /** * The manager name */ managerName: pulumi.Input<string>; /** * The resource group name */ resourceGroupName: pulumi.Input<string>; /** * The volume container name. */ volumeContainerName: pulumi.Input<string>; /** * The volume name. */ volumeName: pulumi.Input<string>; }