1. Packages
  2. Nutanix
  3. API Docs
  4. getVolumeGroupDiskV2
Nutanix v0.7.3 published on Thursday, Mar 13, 2025 by Piers Karsenbarg

nutanix.getVolumeGroupDiskV2

Explore with Pulumi AI

Nutanix v0.7.3 published on Thursday, Mar 13, 2025 by Piers Karsenbarg

Describes a Query the Volume Disk identified by {extId} in the Volume Group identified by {volumeGroupExtId}.

Using getVolumeGroupDiskV2

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 getVolumeGroupDiskV2(args: GetVolumeGroupDiskV2Args, opts?: InvokeOptions): Promise<GetVolumeGroupDiskV2Result>
function getVolumeGroupDiskV2Output(args: GetVolumeGroupDiskV2OutputArgs, opts?: InvokeOptions): Output<GetVolumeGroupDiskV2Result>
Copy
def get_volume_group_disk_v2(ext_id: Optional[str] = None,
                             volume_group_ext_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetVolumeGroupDiskV2Result
def get_volume_group_disk_v2_output(ext_id: Optional[pulumi.Input[str]] = None,
                             volume_group_ext_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetVolumeGroupDiskV2Result]
Copy
func LookupVolumeGroupDiskV2(ctx *Context, args *LookupVolumeGroupDiskV2Args, opts ...InvokeOption) (*LookupVolumeGroupDiskV2Result, error)
func LookupVolumeGroupDiskV2Output(ctx *Context, args *LookupVolumeGroupDiskV2OutputArgs, opts ...InvokeOption) LookupVolumeGroupDiskV2ResultOutput
Copy

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

public static class GetVolumeGroupDiskV2 
{
    public static Task<GetVolumeGroupDiskV2Result> InvokeAsync(GetVolumeGroupDiskV2Args args, InvokeOptions? opts = null)
    public static Output<GetVolumeGroupDiskV2Result> Invoke(GetVolumeGroupDiskV2InvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetVolumeGroupDiskV2Result> getVolumeGroupDiskV2(GetVolumeGroupDiskV2Args args, InvokeOptions options)
public static Output<GetVolumeGroupDiskV2Result> getVolumeGroupDiskV2(GetVolumeGroupDiskV2Args args, InvokeOptions options)
Copy
fn::invoke:
  function: nutanix:index/getVolumeGroupDiskV2:getVolumeGroupDiskV2
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ExtId This property is required. string
  • The external identifier of the Data Source Reference.
VolumeGroupExtId This property is required. string
ExtId This property is required. string
  • The external identifier of the Data Source Reference.
VolumeGroupExtId This property is required. string
extId This property is required. String
  • The external identifier of the Data Source Reference.
volumeGroupExtId This property is required. String
extId This property is required. string
  • The external identifier of the Data Source Reference.
volumeGroupExtId This property is required. string
ext_id This property is required. str
  • The external identifier of the Data Source Reference.
volume_group_ext_id This property is required. str
extId This property is required. String
  • The external identifier of the Data Source Reference.
volumeGroupExtId This property is required. String

getVolumeGroupDiskV2 Result

The following output properties are available:

Description string
  • Volume Disk description.
DiskDataSourceReferences List<PiersKarsenbarg.Nutanix.Outputs.GetVolumeGroupDiskV2DiskDataSourceReference>
  • Disk Data Source Reference.
DiskSizeBytes int
  • ize of the disk in bytes. This field is mandatory during Volume Group creation if a new disk is being created on the storage container.
DiskStorageFeatures List<PiersKarsenbarg.Nutanix.Outputs.GetVolumeGroupDiskV2DiskStorageFeature>
  • Storage optimization features which must be enabled on the Volume Disks. This is an optional field. If omitted, the disks will honor the Volume Group specific storage features setting.
ExtId string
  • The external identifier of the Data Source Reference.
Id string
The provider-assigned unique ID for this managed resource.
Index int
  • Index of the disk in a Volume Group. This field is optional and immutable.
Links List<PiersKarsenbarg.Nutanix.Outputs.GetVolumeGroupDiskV2Link>
  • A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
StorageContainerId string
  • Storage container on which the disk must be created. This is a read-only field.
TenantId string
  • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
VolumeGroupExtId string
Description string
  • Volume Disk description.
DiskDataSourceReferences []GetVolumeGroupDiskV2DiskDataSourceReference
  • Disk Data Source Reference.
DiskSizeBytes int
  • ize of the disk in bytes. This field is mandatory during Volume Group creation if a new disk is being created on the storage container.
DiskStorageFeatures []GetVolumeGroupDiskV2DiskStorageFeature
  • Storage optimization features which must be enabled on the Volume Disks. This is an optional field. If omitted, the disks will honor the Volume Group specific storage features setting.
ExtId string
  • The external identifier of the Data Source Reference.
Id string
The provider-assigned unique ID for this managed resource.
Index int
  • Index of the disk in a Volume Group. This field is optional and immutable.
Links []GetVolumeGroupDiskV2Link
  • A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
StorageContainerId string
  • Storage container on which the disk must be created. This is a read-only field.
TenantId string
  • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
VolumeGroupExtId string
description String
  • Volume Disk description.
diskDataSourceReferences List<GetVolumeGroupDiskV2DiskDataSourceReference>
  • Disk Data Source Reference.
diskSizeBytes Integer
  • ize of the disk in bytes. This field is mandatory during Volume Group creation if a new disk is being created on the storage container.
diskStorageFeatures List<GetVolumeGroupDiskV2DiskStorageFeature>
  • Storage optimization features which must be enabled on the Volume Disks. This is an optional field. If omitted, the disks will honor the Volume Group specific storage features setting.
extId String
  • The external identifier of the Data Source Reference.
id String
The provider-assigned unique ID for this managed resource.
index Integer
  • Index of the disk in a Volume Group. This field is optional and immutable.
links List<GetVolumeGroupDiskV2Link>
  • A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
storageContainerId String
  • Storage container on which the disk must be created. This is a read-only field.
tenantId String
  • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
volumeGroupExtId String
description string
  • Volume Disk description.
diskDataSourceReferences GetVolumeGroupDiskV2DiskDataSourceReference[]
  • Disk Data Source Reference.
diskSizeBytes number
  • ize of the disk in bytes. This field is mandatory during Volume Group creation if a new disk is being created on the storage container.
diskStorageFeatures GetVolumeGroupDiskV2DiskStorageFeature[]
  • Storage optimization features which must be enabled on the Volume Disks. This is an optional field. If omitted, the disks will honor the Volume Group specific storage features setting.
extId string
  • The external identifier of the Data Source Reference.
id string
The provider-assigned unique ID for this managed resource.
index number
  • Index of the disk in a Volume Group. This field is optional and immutable.
links GetVolumeGroupDiskV2Link[]
  • A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
storageContainerId string
  • Storage container on which the disk must be created. This is a read-only field.
tenantId string
  • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
volumeGroupExtId string
description str
  • Volume Disk description.
disk_data_source_references Sequence[GetVolumeGroupDiskV2DiskDataSourceReference]
  • Disk Data Source Reference.
disk_size_bytes int
  • ize of the disk in bytes. This field is mandatory during Volume Group creation if a new disk is being created on the storage container.
disk_storage_features Sequence[GetVolumeGroupDiskV2DiskStorageFeature]
  • Storage optimization features which must be enabled on the Volume Disks. This is an optional field. If omitted, the disks will honor the Volume Group specific storage features setting.
ext_id str
  • The external identifier of the Data Source Reference.
id str
The provider-assigned unique ID for this managed resource.
index int
  • Index of the disk in a Volume Group. This field is optional and immutable.
links Sequence[GetVolumeGroupDiskV2Link]
  • A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
storage_container_id str
  • Storage container on which the disk must be created. This is a read-only field.
tenant_id str
  • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
volume_group_ext_id str
description String
  • Volume Disk description.
diskDataSourceReferences List<Property Map>
  • Disk Data Source Reference.
diskSizeBytes Number
  • ize of the disk in bytes. This field is mandatory during Volume Group creation if a new disk is being created on the storage container.
diskStorageFeatures List<Property Map>
  • Storage optimization features which must be enabled on the Volume Disks. This is an optional field. If omitted, the disks will honor the Volume Group specific storage features setting.
extId String
  • The external identifier of the Data Source Reference.
id String
The provider-assigned unique ID for this managed resource.
index Number
  • Index of the disk in a Volume Group. This field is optional and immutable.
links List<Property Map>
  • A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
storageContainerId String
  • Storage container on which the disk must be created. This is a read-only field.
tenantId String
  • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
volumeGroupExtId String

Supporting Types

GetVolumeGroupDiskV2DiskDataSourceReference

EntityType This property is required. string
  • The Entity Type of the Data Source Reference.
ExtId This property is required. string
  • The external identifier of the Data Source Reference.
Name This property is required. string
  • The name of the Data Source Reference.bled for the Volume Group.
Uris This property is required. List<ImmutableArray<object>>
  • The uri list of the Data Source Reference.
EntityType This property is required. string
  • The Entity Type of the Data Source Reference.
ExtId This property is required. string
  • The external identifier of the Data Source Reference.
Name This property is required. string
  • The name of the Data Source Reference.bled for the Volume Group.
Uris This property is required. [][]interface{}
  • The uri list of the Data Source Reference.
entityType This property is required. String
  • The Entity Type of the Data Source Reference.
extId This property is required. String
  • The external identifier of the Data Source Reference.
name This property is required. String
  • The name of the Data Source Reference.bled for the Volume Group.
uris This property is required. List<List<Object>>
  • The uri list of the Data Source Reference.
entityType This property is required. string
  • The Entity Type of the Data Source Reference.
extId This property is required. string
  • The external identifier of the Data Source Reference.
name This property is required. string
  • The name of the Data Source Reference.bled for the Volume Group.
uris This property is required. any[][]
  • The uri list of the Data Source Reference.
entity_type This property is required. str
  • The Entity Type of the Data Source Reference.
ext_id This property is required. str
  • The external identifier of the Data Source Reference.
name This property is required. str
  • The name of the Data Source Reference.bled for the Volume Group.
uris This property is required. Sequence[Sequence[Any]]
  • The uri list of the Data Source Reference.
entityType This property is required. String
  • The Entity Type of the Data Source Reference.
extId This property is required. String
  • The external identifier of the Data Source Reference.
name This property is required. String
  • The name of the Data Source Reference.bled for the Volume Group.
uris This property is required. List<List<Any>>
  • The uri list of the Data Source Reference.

GetVolumeGroupDiskV2DiskStorageFeature

FlashModes This property is required. List<PiersKarsenbarg.Nutanix.Inputs.GetVolumeGroupDiskV2DiskStorageFeatureFlashMode>
  • this field will avoid down migration of data from the hot tier unless the overrides field is specified for the virtual disks.
FlashModes This property is required. []GetVolumeGroupDiskV2DiskStorageFeatureFlashMode
  • this field will avoid down migration of data from the hot tier unless the overrides field is specified for the virtual disks.
flashModes This property is required. List<GetVolumeGroupDiskV2DiskStorageFeatureFlashMode>
  • this field will avoid down migration of data from the hot tier unless the overrides field is specified for the virtual disks.
flashModes This property is required. GetVolumeGroupDiskV2DiskStorageFeatureFlashMode[]
  • this field will avoid down migration of data from the hot tier unless the overrides field is specified for the virtual disks.
flash_modes This property is required. Sequence[GetVolumeGroupDiskV2DiskStorageFeatureFlashMode]
  • this field will avoid down migration of data from the hot tier unless the overrides field is specified for the virtual disks.
flashModes This property is required. List<Property Map>
  • this field will avoid down migration of data from the hot tier unless the overrides field is specified for the virtual disks.

GetVolumeGroupDiskV2DiskStorageFeatureFlashMode

IsEnabled This property is required. bool
  • Indicates whether the flash mode is enabled for the Volume Group Disk.
IsEnabled This property is required. bool
  • Indicates whether the flash mode is enabled for the Volume Group Disk.
isEnabled This property is required. Boolean
  • Indicates whether the flash mode is enabled for the Volume Group Disk.
isEnabled This property is required. boolean
  • Indicates whether the flash mode is enabled for the Volume Group Disk.
is_enabled This property is required. bool
  • Indicates whether the flash mode is enabled for the Volume Group Disk.
isEnabled This property is required. Boolean
  • Indicates whether the flash mode is enabled for the Volume Group Disk.
Href This property is required. string
  • The URL at which the entity described by the link can be accessed.
Rel This property is required. string
  • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.
Href This property is required. string
  • The URL at which the entity described by the link can be accessed.
Rel This property is required. string
  • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.
href This property is required. String
  • The URL at which the entity described by the link can be accessed.
rel This property is required. String
  • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.
href This property is required. string
  • The URL at which the entity described by the link can be accessed.
rel This property is required. string
  • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.
href This property is required. str
  • The URL at which the entity described by the link can be accessed.
rel This property is required. str
  • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.
href This property is required. String
  • The URL at which the entity described by the link can be accessed.
rel This property is required. String
  • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.

Package Details

Repository
nutanix pierskarsenbarg/pulumi-nutanix
License
Apache-2.0
Notes
This Pulumi package is based on the nutanix Terraform Provider.
Nutanix v0.7.3 published on Thursday, Mar 13, 2025 by Piers Karsenbarg