Azure Native

v1.87.0 published on Tuesday, Nov 22, 2022 by Pulumi

getVolume

This type describes a volume resource. API Version: 2018-09-01-preview.

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(resource_group_name: Optional[str] = None,
               volume_resource_name: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetVolumeResult
def get_volume_output(resource_group_name: Optional[pulumi.Input[str]] = None,
               volume_resource_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:servicefabricmesh:getVolume
  arguments:
    # arguments dictionary

The following arguments are supported:

ResourceGroupName string

Azure resource group name

VolumeResourceName string

The identity of the volume.

ResourceGroupName string

Azure resource group name

VolumeResourceName string

The identity of the volume.

resourceGroupName String

Azure resource group name

volumeResourceName String

The identity of the volume.

resourceGroupName string

Azure resource group name

volumeResourceName string

The identity of the volume.

resource_group_name str

Azure resource group name

volume_resource_name str

The identity of the volume.

resourceGroupName String

Azure resource group name

volumeResourceName String

The identity of the volume.

getVolume Result

The following output properties are available:

Id string

Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Location string

The geo-location where the resource lives

Name string

The name of the resource

Provider string

Provider of the volume.

ProvisioningState string

State of the resource.

Status string

Status of the volume.

StatusDetails string

Gives additional information about the current status of the volume.

Type string

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

AzureFileParameters Pulumi.AzureNative.ServiceFabricMesh.Outputs.VolumeProviderParametersAzureFileResponse

This type describes a volume provided by an Azure Files file share.

Description string

User readable description of the volume.

Tags Dictionary<string, string>

Resource tags.

Id string

Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Location string

The geo-location where the resource lives

Name string

The name of the resource

Provider string

Provider of the volume.

ProvisioningState string

State of the resource.

Status string

Status of the volume.

StatusDetails string

Gives additional information about the current status of the volume.

Type string

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

AzureFileParameters VolumeProviderParametersAzureFileResponse

This type describes a volume provided by an Azure Files file share.

Description string

User readable description of the volume.

Tags map[string]string

Resource tags.

id String

Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location String

The geo-location where the resource lives

name String

The name of the resource

provider String

Provider of the volume.

provisioningState String

State of the resource.

status String

Status of the volume.

statusDetails String

Gives additional information about the current status of the volume.

type String

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

azureFileParameters VolumeProviderParametersAzureFileResponse

This type describes a volume provided by an Azure Files file share.

description String

User readable description of the volume.

tags Map<String,String>

Resource tags.

id string

Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location string

The geo-location where the resource lives

name string

The name of the resource

provider string

Provider of the volume.

provisioningState string

State of the resource.

status string

Status of the volume.

statusDetails string

Gives additional information about the current status of the volume.

type string

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

azureFileParameters VolumeProviderParametersAzureFileResponse

This type describes a volume provided by an Azure Files file share.

description string

User readable description of the volume.

tags {[key: string]: string}

Resource tags.

id str

Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location str

The geo-location where the resource lives

name str

The name of the resource

provider str

Provider of the volume.

provisioning_state str

State of the resource.

status str

Status of the volume.

status_details str

Gives additional information about the current status of the volume.

type str

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

azure_file_parameters VolumeProviderParametersAzureFileResponse

This type describes a volume provided by an Azure Files file share.

description str

User readable description of the volume.

tags Mapping[str, str]

Resource tags.

id String

Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location String

The geo-location where the resource lives

name String

The name of the resource

provider String

Provider of the volume.

provisioningState String

State of the resource.

status String

Status of the volume.

statusDetails String

Gives additional information about the current status of the volume.

type String

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

azureFileParameters Property Map

This type describes a volume provided by an Azure Files file share.

description String

User readable description of the volume.

tags Map<String>

Resource tags.

Supporting Types

VolumeProviderParametersAzureFileResponse

AccountName string

Name of the Azure storage account for the File Share.

ShareName string

Name of the Azure Files file share that provides storage for the volume.

AccountKey string

Access key of the Azure storage account for the File Share.

AccountName string

Name of the Azure storage account for the File Share.

ShareName string

Name of the Azure Files file share that provides storage for the volume.

AccountKey string

Access key of the Azure storage account for the File Share.

accountName String

Name of the Azure storage account for the File Share.

shareName String

Name of the Azure Files file share that provides storage for the volume.

accountKey String

Access key of the Azure storage account for the File Share.

accountName string

Name of the Azure storage account for the File Share.

shareName string

Name of the Azure Files file share that provides storage for the volume.

accountKey string

Access key of the Azure storage account for the File Share.

account_name str

Name of the Azure storage account for the File Share.

share_name str

Name of the Azure Files file share that provides storage for the volume.

account_key str

Access key of the Azure storage account for the File Share.

accountName String

Name of the Azure storage account for the File Share.

shareName String

Name of the Azure Files file share that provides storage for the volume.

accountKey String

Access key of the Azure storage account for the File Share.

Package Details

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