Nutanix v0.7.4 published on Friday, Mar 21, 2025 by Piers Karsenbarg
nutanix.getVolumeGroupDiskV2
Explore with Pulumi AI
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>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]func LookupVolumeGroupDiskV2(ctx *Context, args *LookupVolumeGroupDiskV2Args, opts ...InvokeOption) (*LookupVolumeGroupDiskV2Result, error)
func LookupVolumeGroupDiskV2Output(ctx *Context, args *LookupVolumeGroupDiskV2OutputArgs, opts ...InvokeOption) LookupVolumeGroupDiskV2ResultOutput> 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)
}public static CompletableFuture<GetVolumeGroupDiskV2Result> getVolumeGroupDiskV2(GetVolumeGroupDiskV2Args args, InvokeOptions options)
public static Output<GetVolumeGroupDiskV2Result> getVolumeGroupDiskV2(GetVolumeGroupDiskV2Args args, InvokeOptions options)
fn::invoke:
  function: nutanix:index/getVolumeGroupDiskV2:getVolumeGroupDiskV2
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ExtId string
- The external identifier of the Data Source Reference.
 
- VolumeGroup stringExt Id 
- ExtId string
- The external identifier of the Data Source Reference.
 
- VolumeGroup stringExt Id 
- extId String
- The external identifier of the Data Source Reference.
 
- volumeGroup StringExt Id 
- extId string
- The external identifier of the Data Source Reference.
 
- volumeGroup stringExt Id 
- ext_id str
- The external identifier of the Data Source Reference.
 
- volume_group_ strext_ id 
- extId String
- The external identifier of the Data Source Reference.
 
- volumeGroup StringExt Id 
getVolumeGroupDiskV2 Result
The following output properties are available:
- Description string
- Volume Disk description.
 
- DiskData List<PiersSource References Karsenbarg. Nutanix. Outputs. Get Volume Group Disk V2Disk Data Source Reference> 
- Disk Data Source Reference.
 
- DiskSize intBytes 
- 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.
 
- DiskStorage List<PiersFeatures Karsenbarg. Nutanix. Outputs. Get Volume Group Disk V2Disk Storage Feature> 
- 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. Get Volume Group Disk V2Link> 
- 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.
 
- StorageContainer stringId 
- 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).
 
- VolumeGroup stringExt Id 
- Description string
- Volume Disk description.
 
- DiskData []GetSource References Volume Group Disk V2Disk Data Source Reference 
- Disk Data Source Reference.
 
- DiskSize intBytes 
- 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.
 
- DiskStorage []GetFeatures Volume Group Disk V2Disk Storage Feature 
- 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
[]GetVolume Group Disk V2Link 
- 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.
 
- StorageContainer stringId 
- 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).
 
- VolumeGroup stringExt Id 
- description String
- Volume Disk description.
 
- diskData List<GetSource References Volume Group Disk V2Disk Data Source Reference> 
- Disk Data Source Reference.
 
- diskSize IntegerBytes 
- 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.
 
- diskStorage List<GetFeatures Volume Group Disk V2Disk Storage Feature> 
- 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<GetVolume Group Disk V2Link> 
- 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.
 
- storageContainer StringId 
- 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).
 
- volumeGroup StringExt Id 
- description string
- Volume Disk description.
 
- diskData GetSource References Volume Group Disk V2Disk Data Source Reference[] 
- Disk Data Source Reference.
 
- diskSize numberBytes 
- 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.
 
- diskStorage GetFeatures Volume Group Disk V2Disk Storage Feature[] 
- 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
GetVolume Group Disk V2Link[] 
- 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.
 
- storageContainer stringId 
- 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).
 
- volumeGroup stringExt Id 
- description str
- Volume Disk description.
 
- disk_data_ Sequence[Getsource_ references Volume Group Disk V2Disk Data Source Reference] 
- Disk Data Source Reference.
 
- disk_size_ intbytes 
- 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_ Sequence[Getfeatures Volume Group Disk V2Disk Storage Feature] 
- 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[GetVolume Group Disk V2Link] 
- 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_ strid 
- 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_ strext_ id 
- description String
- Volume Disk description.
 
- diskData List<Property Map>Source References 
- Disk Data Source Reference.
 
- diskSize NumberBytes 
- 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.
 
- diskStorage List<Property Map>Features 
- 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.
 
- storageContainer StringId 
- 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).
 
- volumeGroup StringExt Id 
Supporting Types
GetVolumeGroupDiskV2DiskDataSourceReference       
- EntityType string
- The Entity Type of the Data Source Reference.
 
- ExtId string
- The external identifier of the Data Source Reference.
 
- Name string
- The name of the Data Source Reference.bled for the Volume Group.
 
- Uris
List<ImmutableArray<object>> 
- The uri list of the Data Source Reference.
 
- EntityType string
- The Entity Type of the Data Source Reference.
 
- ExtId string
- The external identifier of the Data Source Reference.
 
- Name string
- The name of the Data Source Reference.bled for the Volume Group.
 
- Uris [][]interface{}
- The uri list of the Data Source Reference.
 
- entityType String
- The Entity Type of the Data Source Reference.
 
- extId String
- The external identifier of the Data Source Reference.
 
- name String
- The name of the Data Source Reference.bled for the Volume Group.
 
- uris List<List<Object>>
- The uri list of the Data Source Reference.
 
- entityType string
- The Entity Type of the Data Source Reference.
 
- extId string
- The external identifier of the Data Source Reference.
 
- name string
- The name of the Data Source Reference.bled for the Volume Group.
 
- uris any[][]
- The uri list of the Data Source Reference.
 
- entity_type str
- The Entity Type of the Data Source Reference.
 
- ext_id str
- The external identifier of the Data Source Reference.
 
- name str
- The name of the Data Source Reference.bled for the Volume Group.
 
- uris Sequence[Sequence[Any]]
- The uri list of the Data Source Reference.
 
- entityType String
- The Entity Type of the Data Source Reference.
 
- extId String
- The external identifier of the Data Source Reference.
 
- name String
- The name of the Data Source Reference.bled for the Volume Group.
 
- uris List<List<Any>>
- The uri list of the Data Source Reference.
 
GetVolumeGroupDiskV2DiskStorageFeature      
- FlashModes List<PiersKarsenbarg. Nutanix. Inputs. Get Volume Group Disk V2Disk Storage Feature Flash Mode> 
- this field will avoid down migration of data from the hot tier unless the overrides field is specified for the virtual disks.
 
- FlashModes []GetVolume Group Disk V2Disk Storage Feature Flash Mode 
- this field will avoid down migration of data from the hot tier unless the overrides field is specified for the virtual disks.
 
- flashModes List<GetVolume Group Disk V2Disk Storage Feature Flash Mode> 
- this field will avoid down migration of data from the hot tier unless the overrides field is specified for the virtual disks.
 
- flashModes GetVolume Group Disk V2Disk Storage Feature Flash Mode[] 
- this field will avoid down migration of data from the hot tier unless the overrides field is specified for the virtual disks.
 
- flash_modes Sequence[GetVolume Group Disk V2Disk Storage Feature Flash Mode] 
- this field will avoid down migration of data from the hot tier unless the overrides field is specified for the virtual disks.
 
- flashModes 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 bool
- Indicates whether the flash mode is enabled for the Volume Group Disk.
 
- IsEnabled bool
- Indicates whether the flash mode is enabled for the Volume Group Disk.
 
- isEnabled Boolean
- Indicates whether the flash mode is enabled for the Volume Group Disk.
 
- isEnabled boolean
- Indicates whether the flash mode is enabled for the Volume Group Disk.
 
- is_enabled bool
- Indicates whether the flash mode is enabled for the Volume Group Disk.
 
- isEnabled Boolean
- Indicates whether the flash mode is enabled for the Volume Group Disk.
 
GetVolumeGroupDiskV2Link    
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the nutanixTerraform Provider.
