Azure Native

Pulumi Official
Package maintained by Pulumi
v1.64.0 published on Wednesday, May 4, 2022 by Pulumi

getVolume

The volume. API Version: 2017-06-01.

Using getVolume

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 getVolume(args: GetVolumeArgs, opts?: InvokeOptions): Promise<GetVolumeResult>
function getVolumeOutput(args: GetVolumeOutputArgs, opts?: InvokeOptions): Output<GetVolumeResult>
def get_volume(device_name: Optional[str] = None,
               manager_name: Optional[str] = None,
               resource_group_name: Optional[str] = None,
               volume_container_name: Optional[str] = None,
               volume_name: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetVolumeResult
def get_volume_output(device_name: Optional[pulumi.Input[str]] = None,
               manager_name: Optional[pulumi.Input[str]] = None,
               resource_group_name: Optional[pulumi.Input[str]] = None,
               volume_container_name: Optional[pulumi.Input[str]] = None,
               volume_name: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetVolumeResult]
func LookupVolume(ctx *Context, args *LookupVolumeArgs, opts ...InvokeOption) (*LookupVolumeResult, error)
func LookupVolumeOutput(ctx *Context, args *LookupVolumeOutputArgs, opts ...InvokeOption) LookupVolumeResultOutput

> Note: This function is named LookupVolume in the Go SDK.

public static class GetVolume 
{
    public static Task<GetVolumeResult> InvokeAsync(GetVolumeArgs args, InvokeOptions? opts = null)
    public static Output<GetVolumeResult> Invoke(GetVolumeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVolumeResult> getVolume(GetVolumeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: azure-native:storsimple:getVolume
  Arguments:
    # Arguments dictionary

The following arguments are supported:

DeviceName string

The device name

ManagerName string

The manager name

ResourceGroupName string

The resource group name

VolumeContainerName string

The volume container name.

VolumeName string

The volume name.

DeviceName string

The device name

ManagerName string

The manager name

ResourceGroupName string

The resource group name

VolumeContainerName string

The volume container name.

VolumeName string

The volume name.

deviceName String

The device name

managerName String

The manager name

resourceGroupName String

The resource group name

volumeContainerName String

The volume container name.

volumeName String

The volume name.

deviceName string

The device name

managerName string

The manager name

resourceGroupName string

The resource group name

volumeContainerName string

The volume container name.

volumeName string

The volume name.

device_name str

The device name

manager_name str

The manager name

resource_group_name str

The resource group name

volume_container_name str

The volume container name.

volume_name str

The volume name.

deviceName String

The device name

managerName String

The manager name

resourceGroupName String

The resource group name

volumeContainerName String

The volume container name.

volumeName String

The volume name.

getVolume Result

The following output properties are available:

AccessControlRecordIds List<string>

The IDs of the access control records, associated with the volume.

BackupPolicyIds List<string>

The IDs of the backup policies, in which this volume is part of.

BackupStatus string

The backup status of the volume.

Id string

The path ID that uniquely identifies the object.

MonitoringStatus string

The monitoring status of the volume.

Name string

The name of the object.

OperationStatus string

The operation status on the volume.

SizeInBytes double

The size of the volume in bytes.

Type string

The hierarchical type of the object.

VolumeContainerId string

The ID of the volume container, in which this volume is created.

VolumeStatus string

The volume status.

VolumeType string

The type of the volume.

Kind string

The Kind of the object. Currently only Series8000 is supported

AccessControlRecordIds []string

The IDs of the access control records, associated with the volume.

BackupPolicyIds []string

The IDs of the backup policies, in which this volume is part of.

BackupStatus string

The backup status of the volume.

Id string

The path ID that uniquely identifies the object.

MonitoringStatus string

The monitoring status of the volume.

Name string

The name of the object.

OperationStatus string

The operation status on the volume.

SizeInBytes float64

The size of the volume in bytes.

Type string

The hierarchical type of the object.

VolumeContainerId string

The ID of the volume container, in which this volume is created.

VolumeStatus string

The volume status.

VolumeType string

The type of the volume.

Kind string

The Kind of the object. Currently only Series8000 is supported

accessControlRecordIds List

The IDs of the access control records, associated with the volume.

backupPolicyIds List

The IDs of the backup policies, in which this volume is part of.

backupStatus String

The backup status of the volume.

id String

The path ID that uniquely identifies the object.

monitoringStatus String

The monitoring status of the volume.

name String

The name of the object.

operationStatus String

The operation status on the volume.

sizeInBytes Double

The size of the volume in bytes.

type String

The hierarchical type of the object.

volumeContainerId String

The ID of the volume container, in which this volume is created.

volumeStatus String

The volume status.

volumeType String

The type of the volume.

kind String

The Kind of the object. Currently only Series8000 is supported

accessControlRecordIds string[]

The IDs of the access control records, associated with the volume.

backupPolicyIds string[]

The IDs of the backup policies, in which this volume is part of.

backupStatus string

The backup status of the volume.

id string

The path ID that uniquely identifies the object.

monitoringStatus string

The monitoring status of the volume.

name string

The name of the object.

operationStatus string

The operation status on the volume.

sizeInBytes number

The size of the volume in bytes.

type string

The hierarchical type of the object.

volumeContainerId string

The ID of the volume container, in which this volume is created.

volumeStatus string

The volume status.

volumeType string

The type of the volume.

kind string

The Kind of the object. Currently only Series8000 is supported

access_control_record_ids Sequence[str]

The IDs of the access control records, associated with the volume.

backup_policy_ids Sequence[str]

The IDs of the backup policies, in which this volume is part of.

backup_status str

The backup status of the volume.

id str

The path ID that uniquely identifies the object.

monitoring_status str

The monitoring status of the volume.

name str

The name of the object.

operation_status str

The operation status on the volume.

size_in_bytes float

The size of the volume in bytes.

type str

The hierarchical type of the object.

volume_container_id str

The ID of the volume container, in which this volume is created.

volume_status str

The volume status.

volume_type str

The type of the volume.

kind str

The Kind of the object. Currently only Series8000 is supported

accessControlRecordIds List

The IDs of the access control records, associated with the volume.

backupPolicyIds List

The IDs of the backup policies, in which this volume is part of.

backupStatus String

The backup status of the volume.

id String

The path ID that uniquely identifies the object.

monitoringStatus String

The monitoring status of the volume.

name String

The name of the object.

operationStatus String

The operation status on the volume.

sizeInBytes Number

The size of the volume in bytes.

type String

The hierarchical type of the object.

volumeContainerId String

The ID of the volume container, in which this volume is created.

volumeStatus String

The volume status.

volumeType String

The type of the volume.

kind String

The Kind of the object. Currently only Series8000 is supported

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0