azure-native.networkcloud.getVolume
Explore with Pulumi AI
Get properties of the provided volume.
Uses Azure REST API version 2025-02-01.
Other available API versions: 2023-10-01-preview, 2024-06-01-preview, 2024-07-01, 2024-10-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native networkcloud [ApiVersion]. See the version guide for details.
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_name: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetVolumeResult
def get_volume_output(resource_group_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)
public static Output<GetVolumeResult> getVolume(GetVolumeArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:networkcloud:getVolume
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - Volume
Name string - The name of the volume.
 
- Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - Volume
Name string - The name of the volume.
 
- resource
Group StringName  - The name of the resource group. The name is case insensitive.
 - volume
Name String - The name of the volume.
 
- resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - volume
Name string - The name of the volume.
 
- resource_
group_ strname  - The name of the resource group. The name is case insensitive.
 - volume_
name str - The name of the volume.
 
- resource
Group StringName  - The name of the resource group. The name is case insensitive.
 - volume
Name String - The name of the volume.
 
getVolume Result
The following output properties are available:
- Attached
To List<string> - The list of resource IDs that attach the volume. It may include virtual machines and Hybrid AKS clusters.
 - Azure
Api stringVersion  - The Azure API version of the resource.
 - Detailed
Status string - The more detailed status of the volume.
 - Detailed
Status stringMessage  - The descriptive message about the current detailed status.
 - Etag string
 - Resource ETag.
 - Extended
Location Pulumi.Azure Native. Network Cloud. Outputs. Extended Location Response  - The extended location of the cluster associated with the resource.
 - Id string
 - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 - Location string
 - The geo-location where the resource lives
 - Name string
 - The name of the resource
 - Provisioning
State string - The provisioning state of the volume.
 - Serial
Number string - The unique identifier of the volume.
 - Size
Mi doubleB  - The size of the allocation for this volume in Mebibytes.
 - System
Data Pulumi.Azure Native. Network Cloud. Outputs. System Data Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - Type string
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - Dictionary<string, string>
 - Resource tags.
 
- Attached
To []string - The list of resource IDs that attach the volume. It may include virtual machines and Hybrid AKS clusters.
 - Azure
Api stringVersion  - The Azure API version of the resource.
 - Detailed
Status string - The more detailed status of the volume.
 - Detailed
Status stringMessage  - The descriptive message about the current detailed status.
 - Etag string
 - Resource ETag.
 - Extended
Location ExtendedLocation Response  - The extended location of the cluster associated with the resource.
 - Id string
 - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 - Location string
 - The geo-location where the resource lives
 - Name string
 - The name of the resource
 - Provisioning
State string - The provisioning state of the volume.
 - Serial
Number string - The unique identifier of the volume.
 - Size
Mi float64B  - The size of the allocation for this volume in Mebibytes.
 - System
Data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - Type string
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - map[string]string
 - Resource tags.
 
- attached
To List<String> - The list of resource IDs that attach the volume. It may include virtual machines and Hybrid AKS clusters.
 - azure
Api StringVersion  - The Azure API version of the resource.
 - detailed
Status String - The more detailed status of the volume.
 - detailed
Status StringMessage  - The descriptive message about the current detailed status.
 - etag String
 - Resource ETag.
 - extended
Location ExtendedLocation Response  - The extended location of the cluster associated with the resource.
 - id String
 - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 - location String
 - The geo-location where the resource lives
 - name String
 - The name of the resource
 - provisioning
State String - The provisioning state of the volume.
 - serial
Number String - The unique identifier of the volume.
 - size
Mi DoubleB  - The size of the allocation for this volume in Mebibytes.
 - system
Data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type String
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - Map<String,String>
 - Resource tags.
 
- attached
To string[] - The list of resource IDs that attach the volume. It may include virtual machines and Hybrid AKS clusters.
 - azure
Api stringVersion  - The Azure API version of the resource.
 - detailed
Status string - The more detailed status of the volume.
 - detailed
Status stringMessage  - The descriptive message about the current detailed status.
 - etag string
 - Resource ETag.
 - extended
Location ExtendedLocation Response  - The extended location of the cluster associated with the resource.
 - id string
 - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 - location string
 - The geo-location where the resource lives
 - name string
 - The name of the resource
 - provisioning
State string - The provisioning state of the volume.
 - serial
Number string - The unique identifier of the volume.
 - size
Mi numberB  - The size of the allocation for this volume in Mebibytes.
 - system
Data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type string
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - {[key: string]: string}
 - Resource tags.
 
- attached_
to Sequence[str] - The list of resource IDs that attach the volume. It may include virtual machines and Hybrid AKS clusters.
 - azure_
api_ strversion  - The Azure API version of the resource.
 - detailed_
status str - The more detailed status of the volume.
 - detailed_
status_ strmessage  - The descriptive message about the current detailed status.
 - etag str
 - Resource ETag.
 - extended_
location ExtendedLocation Response  - The extended location of the cluster associated with the resource.
 - id str
 - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 - location str
 - The geo-location where the resource lives
 - name str
 - The name of the resource
 - provisioning_
state str - The provisioning state of the volume.
 - serial_
number str - The unique identifier of the volume.
 - size_
mi_ floatb  - The size of the allocation for this volume in Mebibytes.
 - system_
data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type str
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - Mapping[str, str]
 - Resource tags.
 
- attached
To List<String> - The list of resource IDs that attach the volume. It may include virtual machines and Hybrid AKS clusters.
 - azure
Api StringVersion  - The Azure API version of the resource.
 - detailed
Status String - The more detailed status of the volume.
 - detailed
Status StringMessage  - The descriptive message about the current detailed status.
 - etag String
 - Resource ETag.
 - extended
Location Property Map - The extended location of the cluster associated with the resource.
 - id String
 - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 - location String
 - The geo-location where the resource lives
 - name String
 - The name of the resource
 - provisioning
State String - The provisioning state of the volume.
 - serial
Number String - The unique identifier of the volume.
 - size
Mi NumberB  - The size of the allocation for this volume in Mebibytes.
 - system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type String
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - Map<String>
 - Resource tags.
 
Supporting Types
ExtendedLocationResponse  
SystemDataResponse  
- Created
At string - The timestamp of resource creation (UTC).
 - Created
By string - The identity that created the resource.
 - Created
By stringType  - The type of identity that created the resource.
 - Last
Modified stringAt  - The timestamp of resource last modification (UTC)
 - Last
Modified stringBy  - The identity that last modified the resource.
 - Last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- Created
At string - The timestamp of resource creation (UTC).
 - Created
By string - The identity that created the resource.
 - Created
By stringType  - The type of identity that created the resource.
 - Last
Modified stringAt  - The timestamp of resource last modification (UTC)
 - Last
Modified stringBy  - The identity that last modified the resource.
 - Last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- created
At String - The timestamp of resource creation (UTC).
 - created
By String - The identity that created the resource.
 - created
By StringType  - The type of identity that created the resource.
 - last
Modified StringAt  - The timestamp of resource last modification (UTC)
 - last
Modified StringBy  - The identity that last modified the resource.
 - last
Modified StringBy Type  - The type of identity that last modified the resource.
 
- created
At string - The timestamp of resource creation (UTC).
 - created
By string - The identity that created the resource.
 - created
By stringType  - The type of identity that created the resource.
 - last
Modified stringAt  - The timestamp of resource last modification (UTC)
 - last
Modified stringBy  - The identity that last modified the resource.
 - last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- created_
at str - The timestamp of resource creation (UTC).
 - created_
by str - The identity that created the resource.
 - created_
by_ strtype  - The type of identity that created the resource.
 - last_
modified_ strat  - The timestamp of resource last modification (UTC)
 - last_
modified_ strby  - The identity that last modified the resource.
 - last_
modified_ strby_ type  - The type of identity that last modified the resource.
 
- created
At String - The timestamp of resource creation (UTC).
 - created
By String - The identity that created the resource.
 - created
By StringType  - The type of identity that created the resource.
 - last
Modified StringAt  - The timestamp of resource last modification (UTC)
 - last
Modified StringBy  - The identity that last modified the resource.
 - last
Modified StringBy Type  - The type of identity that last modified the resource.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0