This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.elasticsan.getVolume
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
Get an Volume. Azure REST API version: 2021-11-20-preview.
Other available API versions: 2022-12-01-preview, 2023-01-01, 2024-05-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(elastic_san_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
volume_group_name: Optional[str] = None,
volume_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVolumeResult
def get_volume_output(elastic_san_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
volume_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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:elasticsan:getVolume
arguments:
# arguments dictionary
The following arguments are supported:
- Elastic
San stringName - The name of the ElasticSan.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Volume
Group stringName - The name of the VolumeGroup.
- Volume
Name string - The name of the Volume.
- Elastic
San stringName - The name of the ElasticSan.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Volume
Group stringName - The name of the VolumeGroup.
- Volume
Name string - The name of the Volume.
- elastic
San StringName - The name of the ElasticSan.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- volume
Group StringName - The name of the VolumeGroup.
- volume
Name String - The name of the Volume.
- elastic
San stringName - The name of the ElasticSan.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- volume
Group stringName - The name of the VolumeGroup.
- volume
Name string - The name of the Volume.
- elastic_
san_ strname - The name of the ElasticSan.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- volume_
group_ strname - The name of the VolumeGroup.
- volume_
name str - The name of the Volume.
- elastic
San StringName - The name of the ElasticSan.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- volume
Group StringName - The name of the VolumeGroup.
- volume
Name String - The name of the Volume.
getVolume Result
The following output properties are available:
- Id string
- Azure resource identifier.
- Name string
- Azure resource name.
- Storage
Target Pulumi.Azure Native. Elastic San. Outputs. Iscsi Target Info Response - Storage target information
- System
Data Pulumi.Azure Native. Elastic San. Outputs. System Data Response - Resource metadata required by ARM RPC
- Type string
- Azure resource type.
- Volume
Id string - Unique Id of the volume in GUID format
- Creation
Data Pulumi.Azure Native. Elastic San. Outputs. Source Creation Data Response - State of the operation on the resource.
- Size
Gi doubleB - Volume size.
- Dictionary<string, string>
- Azure resource tags.
- Id string
- Azure resource identifier.
- Name string
- Azure resource name.
- Storage
Target IscsiTarget Info Response - Storage target information
- System
Data SystemData Response - Resource metadata required by ARM RPC
- Type string
- Azure resource type.
- Volume
Id string - Unique Id of the volume in GUID format
- Creation
Data SourceCreation Data Response - State of the operation on the resource.
- Size
Gi float64B - Volume size.
- map[string]string
- Azure resource tags.
- id String
- Azure resource identifier.
- name String
- Azure resource name.
- storage
Target IscsiTarget Info Response - Storage target information
- system
Data SystemData Response - Resource metadata required by ARM RPC
- type String
- Azure resource type.
- volume
Id String - Unique Id of the volume in GUID format
- creation
Data SourceCreation Data Response - State of the operation on the resource.
- size
Gi DoubleB - Volume size.
- Map<String,String>
- Azure resource tags.
- id string
- Azure resource identifier.
- name string
- Azure resource name.
- storage
Target IscsiTarget Info Response - Storage target information
- system
Data SystemData Response - Resource metadata required by ARM RPC
- type string
- Azure resource type.
- volume
Id string - Unique Id of the volume in GUID format
- creation
Data SourceCreation Data Response - State of the operation on the resource.
- size
Gi numberB - Volume size.
- {[key: string]: string}
- Azure resource tags.
- id str
- Azure resource identifier.
- name str
- Azure resource name.
- storage_
target IscsiTarget Info Response - Storage target information
- system_
data SystemData Response - Resource metadata required by ARM RPC
- type str
- Azure resource type.
- volume_
id str - Unique Id of the volume in GUID format
- creation_
data SourceCreation Data Response - State of the operation on the resource.
- size_
gi_ floatb - Volume size.
- Mapping[str, str]
- Azure resource tags.
- id String
- Azure resource identifier.
- name String
- Azure resource name.
- storage
Target Property Map - Storage target information
- system
Data Property Map - Resource metadata required by ARM RPC
- type String
- Azure resource type.
- volume
Id String - Unique Id of the volume in GUID format
- creation
Data Property Map - State of the operation on the resource.
- size
Gi NumberB - Volume size.
- Map<String>
- Azure resource tags.
Supporting Types
IscsiTargetInfoResponse
- Provisioning
State string - State of the operation on the resource.
- Target
Iqn string - iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
- Target
Portal stringHostname - iSCSI Target Portal Host Name
- Target
Portal intPort - iSCSI Target Portal Port
- Status string
- Operational status of the iSCSI Target.
- Provisioning
State string - State of the operation on the resource.
- Target
Iqn string - iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
- Target
Portal stringHostname - iSCSI Target Portal Host Name
- Target
Portal intPort - iSCSI Target Portal Port
- Status string
- Operational status of the iSCSI Target.
- provisioning
State String - State of the operation on the resource.
- target
Iqn String - iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
- target
Portal StringHostname - iSCSI Target Portal Host Name
- target
Portal IntegerPort - iSCSI Target Portal Port
- status String
- Operational status of the iSCSI Target.
- provisioning
State string - State of the operation on the resource.
- target
Iqn string - iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
- target
Portal stringHostname - iSCSI Target Portal Host Name
- target
Portal numberPort - iSCSI Target Portal Port
- status string
- Operational status of the iSCSI Target.
- provisioning_
state str - State of the operation on the resource.
- target_
iqn str - iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
- target_
portal_ strhostname - iSCSI Target Portal Host Name
- target_
portal_ intport - iSCSI Target Portal Port
- status str
- Operational status of the iSCSI Target.
- provisioning
State String - State of the operation on the resource.
- target
Iqn String - iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
- target
Portal StringHostname - iSCSI Target Portal Host Name
- target
Portal NumberPort - iSCSI Target Portal Port
- status String
- Operational status of the iSCSI Target.
SourceCreationDataResponse
- Create
Source string - This enumerates the possible sources of a volume creation.
- Source
Uri string - If createOption is Copy, this is the ARM id of the source snapshot or disk. If createOption is Restore, this is the ARM-like id of the source disk restore point.
- Create
Source string - This enumerates the possible sources of a volume creation.
- Source
Uri string - If createOption is Copy, this is the ARM id of the source snapshot or disk. If createOption is Restore, this is the ARM-like id of the source disk restore point.
- create
Source String - This enumerates the possible sources of a volume creation.
- source
Uri String - If createOption is Copy, this is the ARM id of the source snapshot or disk. If createOption is Restore, this is the ARM-like id of the source disk restore point.
- create
Source string - This enumerates the possible sources of a volume creation.
- source
Uri string - If createOption is Copy, this is the ARM id of the source snapshot or disk. If createOption is Restore, this is the ARM-like id of the source disk restore point.
- create_
source str - This enumerates the possible sources of a volume creation.
- source_
uri str - If createOption is Copy, this is the ARM id of the source snapshot or disk. If createOption is Restore, this is the ARM-like id of the source disk restore point.
- create
Source String - This enumerates the possible sources of a volume creation.
- source
Uri String - If createOption is Copy, this is the ARM id of the source snapshot or disk. If createOption is Restore, this is the ARM-like id of the source disk restore point.
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
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi