1. Packages
  2. Nutanix
  3. API Docs
  4. getVolumeGroupDisksV2
Nutanix v0.7.4 published on Friday, Mar 21, 2025 by Piers Karsenbarg

nutanix.getVolumeGroupDisksV2

Explore with Pulumi AI

Query the list of disks corresponding to a Volume Group identified by {volumeGroupExtId}.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
import * as nutanix from "@pulumi/nutanix";

const exampleVolumeGroupV2 = new nutanix.VolumeGroupV2("exampleVolumeGroupV2", {
    description: "Test Volume group with min spec and no Auth",
    shouldLoadBalanceVmAttachments: false,
    sharingStatus: "SHARED",
    targetName: "volumegroup-test-0",
    createdBy: "Test",
    clusterReference: "<Cluster uuid>",
    iscsiFeatures: [{
        enabledAuthentications: "CHAP",
        targetSecret: "1234567891011",
    }],
    storageFeatures: [{
        flashModes: [{
            isEnabled: true,
        }],
    }],
    usageType: "USER",
    isHidden: false,
});
// Attach a volume group disk to the previous volume group
const exampleVolumeGroupDiskV2 = new nutanix.VolumeGroupDiskV2("exampleVolumeGroupDiskV2", {
    volumeGroupExtId: resource.nutanix_volume_group_v2.example.id,
    index: 1,
    description: "create volume disk test",
    diskSizeBytes: 5368709120,
    diskDataSourceReferences: [{
        name: "disk1",
        extId: _var.disk_data_source_ref_ext_id,
        entityType: "STORAGE_CONTAINER",
        uris: [
            "uri1",
            "uri2",
        ],
    }],
    diskStorageFeatures: [{
        flashModes: [{
            isEnabled: false,
        }],
    }],
});
const exampleVolumeGroupDisksV2 = nutanix.getVolumeGroupDisksV2({
    volumeGroupExtId: resource.nutanix_volume_group_v2.example.id,
    filter: "startswith(storageContainerId, var.filter_value)",
    limit: 1,
});
Copy
import pulumi
import pulumi_nutanix as nutanix

example_volume_group_v2 = nutanix.VolumeGroupV2("exampleVolumeGroupV2",
    description="Test Volume group with min spec and no Auth",
    should_load_balance_vm_attachments=False,
    sharing_status="SHARED",
    target_name="volumegroup-test-0",
    created_by="Test",
    cluster_reference="<Cluster uuid>",
    iscsi_features=[{
        "enabled_authentications": "CHAP",
        "target_secret": "1234567891011",
    }],
    storage_features=[{
        "flash_modes": [{
            "is_enabled": True,
        }],
    }],
    usage_type="USER",
    is_hidden=False)
# Attach a volume group disk to the previous volume group
example_volume_group_disk_v2 = nutanix.VolumeGroupDiskV2("exampleVolumeGroupDiskV2",
    volume_group_ext_id=resource["nutanix_volume_group_v2"]["example"]["id"],
    index=1,
    description="create volume disk test",
    disk_size_bytes=5368709120,
    disk_data_source_references=[{
        "name": "disk1",
        "ext_id": var["disk_data_source_ref_ext_id"],
        "entity_type": "STORAGE_CONTAINER",
        "uris": [
            "uri1",
            "uri2",
        ],
    }],
    disk_storage_features=[{
        "flash_modes": [{
            "is_enabled": False,
        }],
    }])
example_volume_group_disks_v2 = nutanix.get_volume_group_disks_v2(volume_group_ext_id=resource["nutanix_volume_group_v2"]["example"]["id"],
    filter="startswith(storageContainerId, var.filter_value)",
    limit=1)
Copy
package main

import (
	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := nutanix.NewVolumeGroupV2(ctx, "exampleVolumeGroupV2", &nutanix.VolumeGroupV2Args{
			Description:                    pulumi.String("Test Volume group with min spec and no Auth"),
			ShouldLoadBalanceVmAttachments: pulumi.Bool(false),
			SharingStatus:                  pulumi.String("SHARED"),
			TargetName:                     pulumi.String("volumegroup-test-0"),
			CreatedBy:                      pulumi.String("Test"),
			ClusterReference:               pulumi.String("<Cluster uuid>"),
			IscsiFeatures: nutanix.VolumeGroupV2IscsiFeatureArray{
				&nutanix.VolumeGroupV2IscsiFeatureArgs{
					EnabledAuthentications: pulumi.String("CHAP"),
					TargetSecret:           pulumi.String("1234567891011"),
				},
			},
			StorageFeatures: nutanix.VolumeGroupV2StorageFeatureArray{
				&nutanix.VolumeGroupV2StorageFeatureArgs{
					FlashModes: nutanix.VolumeGroupV2StorageFeatureFlashModeArray{
						&nutanix.VolumeGroupV2StorageFeatureFlashModeArgs{
							IsEnabled: pulumi.Bool(true),
						},
					},
				},
			},
			UsageType: pulumi.String("USER"),
			IsHidden:  pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		// Attach a volume group disk to the previous volume group
		_, err = nutanix.NewVolumeGroupDiskV2(ctx, "exampleVolumeGroupDiskV2", &nutanix.VolumeGroupDiskV2Args{
			VolumeGroupExtId: pulumi.Any(resource.Nutanix_volume_group_v2.Example.Id),
			Index:            pulumi.Int(1),
			Description:      pulumi.String("create volume disk test"),
			DiskSizeBytes:    pulumi.Int(5368709120),
			DiskDataSourceReferences: nutanix.VolumeGroupDiskV2DiskDataSourceReferenceArray{
				&nutanix.VolumeGroupDiskV2DiskDataSourceReferenceArgs{
					Name:       pulumi.String("disk1"),
					ExtId:      pulumi.Any(_var.Disk_data_source_ref_ext_id),
					EntityType: pulumi.String("STORAGE_CONTAINER"),
					Uris: pulumi.StringArray{
						pulumi.String("uri1"),
						pulumi.String("uri2"),
					},
				},
			},
			DiskStorageFeatures: nutanix.VolumeGroupDiskV2DiskStorageFeatureArray{
				&nutanix.VolumeGroupDiskV2DiskStorageFeatureArgs{
					FlashModes: nutanix.VolumeGroupDiskV2DiskStorageFeatureFlashModeArray{
						&nutanix.VolumeGroupDiskV2DiskStorageFeatureFlashModeArgs{
							IsEnabled: pulumi.Bool(false),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = nutanix.GetVolumeGroupDisksV2(ctx, &nutanix.GetVolumeGroupDisksV2Args{
			VolumeGroupExtId: resource.Nutanix_volume_group_v2.Example.Id,
			Filter:           pulumi.StringRef("startswith(storageContainerId, var.filter_value)"),
			Limit:            pulumi.IntRef(1),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;
using Nutanix = Pulumi.Nutanix;

return await Deployment.RunAsync(() => 
{
    var exampleVolumeGroupV2 = new Nutanix.VolumeGroupV2("exampleVolumeGroupV2", new()
    {
        Description = "Test Volume group with min spec and no Auth",
        ShouldLoadBalanceVmAttachments = false,
        SharingStatus = "SHARED",
        TargetName = "volumegroup-test-0",
        CreatedBy = "Test",
        ClusterReference = "<Cluster uuid>",
        IscsiFeatures = new[]
        {
            new Nutanix.Inputs.VolumeGroupV2IscsiFeatureArgs
            {
                EnabledAuthentications = "CHAP",
                TargetSecret = "1234567891011",
            },
        },
        StorageFeatures = new[]
        {
            new Nutanix.Inputs.VolumeGroupV2StorageFeatureArgs
            {
                FlashModes = new[]
                {
                    new Nutanix.Inputs.VolumeGroupV2StorageFeatureFlashModeArgs
                    {
                        IsEnabled = true,
                    },
                },
            },
        },
        UsageType = "USER",
        IsHidden = false,
    });

    // Attach a volume group disk to the previous volume group
    var exampleVolumeGroupDiskV2 = new Nutanix.VolumeGroupDiskV2("exampleVolumeGroupDiskV2", new()
    {
        VolumeGroupExtId = resource.Nutanix_volume_group_v2.Example.Id,
        Index = 1,
        Description = "create volume disk test",
        DiskSizeBytes = 5368709120,
        DiskDataSourceReferences = new[]
        {
            new Nutanix.Inputs.VolumeGroupDiskV2DiskDataSourceReferenceArgs
            {
                Name = "disk1",
                ExtId = @var.Disk_data_source_ref_ext_id,
                EntityType = "STORAGE_CONTAINER",
                Uris = new[]
                {
                    "uri1",
                    "uri2",
                },
            },
        },
        DiskStorageFeatures = new[]
        {
            new Nutanix.Inputs.VolumeGroupDiskV2DiskStorageFeatureArgs
            {
                FlashModes = new[]
                {
                    new Nutanix.Inputs.VolumeGroupDiskV2DiskStorageFeatureFlashModeArgs
                    {
                        IsEnabled = false,
                    },
                },
            },
        },
    });

    var exampleVolumeGroupDisksV2 = Nutanix.GetVolumeGroupDisksV2.Invoke(new()
    {
        VolumeGroupExtId = resource.Nutanix_volume_group_v2.Example.Id,
        Filter = "startswith(storageContainerId, var.filter_value)",
        Limit = 1,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.VolumeGroupV2;
import com.pulumi.nutanix.VolumeGroupV2Args;
import com.pulumi.nutanix.inputs.VolumeGroupV2IscsiFeatureArgs;
import com.pulumi.nutanix.inputs.VolumeGroupV2StorageFeatureArgs;
import com.pulumi.nutanix.VolumeGroupDiskV2;
import com.pulumi.nutanix.VolumeGroupDiskV2Args;
import com.pulumi.nutanix.inputs.VolumeGroupDiskV2DiskDataSourceReferenceArgs;
import com.pulumi.nutanix.inputs.VolumeGroupDiskV2DiskStorageFeatureArgs;
import com.pulumi.nutanix.NutanixFunctions;
import com.pulumi.nutanix.inputs.GetVolumeGroupDisksV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var exampleVolumeGroupV2 = new VolumeGroupV2("exampleVolumeGroupV2", VolumeGroupV2Args.builder()
            .description("Test Volume group with min spec and no Auth")
            .shouldLoadBalanceVmAttachments(false)
            .sharingStatus("SHARED")
            .targetName("volumegroup-test-0")
            .createdBy("Test")
            .clusterReference("<Cluster uuid>")
            .iscsiFeatures(VolumeGroupV2IscsiFeatureArgs.builder()
                .enabledAuthentications("CHAP")
                .targetSecret("1234567891011")
                .build())
            .storageFeatures(VolumeGroupV2StorageFeatureArgs.builder()
                .flashModes(VolumeGroupV2StorageFeatureFlashModeArgs.builder()
                    .isEnabled(true)
                    .build())
                .build())
            .usageType("USER")
            .isHidden(false)
            .build());

        // Attach a volume group disk to the previous volume group
        var exampleVolumeGroupDiskV2 = new VolumeGroupDiskV2("exampleVolumeGroupDiskV2", VolumeGroupDiskV2Args.builder()
            .volumeGroupExtId(resource.nutanix_volume_group_v2().example().id())
            .index(1)
            .description("create volume disk test")
            .diskSizeBytes(5368709120)
            .diskDataSourceReferences(VolumeGroupDiskV2DiskDataSourceReferenceArgs.builder()
                .name("disk1")
                .extId(var_.disk_data_source_ref_ext_id())
                .entityType("STORAGE_CONTAINER")
                .uris(                
                    "uri1",
                    "uri2")
                .build())
            .diskStorageFeatures(VolumeGroupDiskV2DiskStorageFeatureArgs.builder()
                .flashModes(VolumeGroupDiskV2DiskStorageFeatureFlashModeArgs.builder()
                    .isEnabled(false)
                    .build())
                .build())
            .build());

        final var exampleVolumeGroupDisksV2 = NutanixFunctions.getVolumeGroupDisksV2(GetVolumeGroupDisksV2Args.builder()
            .volumeGroupExtId(resource.nutanix_volume_group_v2().example().id())
            .filter("startswith(storageContainerId, var.filter_value)")
            .limit(1)
            .build());

    }
}
Copy
resources:
  exampleVolumeGroupV2:
    type: nutanix:VolumeGroupV2
    properties:
      description: Test Volume group with min spec and no Auth
      shouldLoadBalanceVmAttachments: false
      sharingStatus: SHARED
      targetName: volumegroup-test-0
      createdBy: Test
      clusterReference: <Cluster uuid>
      iscsiFeatures:
        - enabledAuthentications: CHAP
          targetSecret: '1234567891011'
      storageFeatures:
        - flashModes:
            - isEnabled: true
      usageType: USER
      isHidden: false
  # Attach a volume group disk to the previous volume group
  exampleVolumeGroupDiskV2:
    type: nutanix:VolumeGroupDiskV2
    properties:
      volumeGroupExtId: ${resource.nutanix_volume_group_v2.example.id}
      index: 1
      description: create volume disk test
      diskSizeBytes: 5.36870912e+09
      diskDataSourceReferences:
        - name: disk1
          extId: ${var.disk_data_source_ref_ext_id}
          entityType: STORAGE_CONTAINER
          uris:
            - uri1
            - uri2
      diskStorageFeatures:
        - flashModes:
            - isEnabled: false
variables:
  exampleVolumeGroupDisksV2:
    fn::invoke:
      function: nutanix:getVolumeGroupDisksV2
      arguments:
        volumeGroupExtId: ${resource.nutanix_volume_group_v2.example.id}
        filter: startswith(storageContainerId, var.filter_value)
        limit: 1
Copy

Argument Reference

The following arguments are supported:

  • volume_group_ext_id: -(Required) The external identifier of the Volume Group.
  • page: - A query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource.
  • limit : A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
  • filter : A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions. For example, filter ‘$filter=name eq ‘karbon-ntnx-1.0’ would filter the result on cluster name ‘karbon-ntnx1.0’, filter ‘$filter=startswith(name, ‘C’)’ would filter on cluster name starting with ‘C’. The filter can be applied to the following fields: storageContainerId.
  • orderby : A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, ‘$orderby=templateName desc’ would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: diskSizeBytes.
  • expand : A URL query parameter that allows clients to request related resources when a resource that satisfies a particular request is retrieved. Each expanded item is evaluated relative to the entity containing the property being expanded. Other query options can be applied to an expanded property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property name. Permissible system query options are $filter, $select and $orderby. The following expansion keys are supported. The expand can be applied to the following fields: clusterReference, metadata.
  • select : A query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. The select can be applied to the following fields: extId, storageContainerId.

Using getVolumeGroupDisksV2

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 getVolumeGroupDisksV2(args: GetVolumeGroupDisksV2Args, opts?: InvokeOptions): Promise<GetVolumeGroupDisksV2Result>
function getVolumeGroupDisksV2Output(args: GetVolumeGroupDisksV2OutputArgs, opts?: InvokeOptions): Output<GetVolumeGroupDisksV2Result>
Copy
def get_volume_group_disks_v2(filter: Optional[str] = None,
                              limit: Optional[int] = None,
                              orderby: Optional[str] = None,
                              page: Optional[int] = None,
                              select: Optional[str] = None,
                              volume_group_ext_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetVolumeGroupDisksV2Result
def get_volume_group_disks_v2_output(filter: Optional[pulumi.Input[str]] = None,
                              limit: Optional[pulumi.Input[int]] = None,
                              orderby: Optional[pulumi.Input[str]] = None,
                              page: Optional[pulumi.Input[int]] = None,
                              select: Optional[pulumi.Input[str]] = None,
                              volume_group_ext_id: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetVolumeGroupDisksV2Result]
Copy
func GetVolumeGroupDisksV2(ctx *Context, args *GetVolumeGroupDisksV2Args, opts ...InvokeOption) (*GetVolumeGroupDisksV2Result, error)
func GetVolumeGroupDisksV2Output(ctx *Context, args *GetVolumeGroupDisksV2OutputArgs, opts ...InvokeOption) GetVolumeGroupDisksV2ResultOutput
Copy

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

public static class GetVolumeGroupDisksV2 
{
    public static Task<GetVolumeGroupDisksV2Result> InvokeAsync(GetVolumeGroupDisksV2Args args, InvokeOptions? opts = null)
    public static Output<GetVolumeGroupDisksV2Result> Invoke(GetVolumeGroupDisksV2InvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetVolumeGroupDisksV2Result> getVolumeGroupDisksV2(GetVolumeGroupDisksV2Args args, InvokeOptions options)
public static Output<GetVolumeGroupDisksV2Result> getVolumeGroupDisksV2(GetVolumeGroupDisksV2Args args, InvokeOptions options)
Copy
fn::invoke:
  function: nutanix:index/getVolumeGroupDisksV2:getVolumeGroupDisksV2
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

VolumeGroupExtId This property is required. string
Filter string
Limit int
Orderby string
Page int
Select string
VolumeGroupExtId This property is required. string
Filter string
Limit int
Orderby string
Page int
Select string
volumeGroupExtId This property is required. String
filter String
limit Integer
orderby String
page Integer
select String
volumeGroupExtId This property is required. string
filter string
limit number
orderby string
page number
select string
volume_group_ext_id This property is required. str
filter str
limit int
orderby str
page int
select str
volumeGroupExtId This property is required. String
filter String
limit Number
orderby String
page Number
select String

getVolumeGroupDisksV2 Result

The following output properties are available:

Disks List<PiersKarsenbarg.Nutanix.Outputs.GetVolumeGroupDisksV2Disk>
  • List of disks corresponding to a Volume Group identified by {volumeGroupExtId}.
Id string
The provider-assigned unique ID for this managed resource.
VolumeGroupExtId string
Filter string
Limit int
Orderby string
Page int
Select string
Disks []GetVolumeGroupDisksV2Disk
  • List of disks corresponding to a Volume Group identified by {volumeGroupExtId}.
Id string
The provider-assigned unique ID for this managed resource.
VolumeGroupExtId string
Filter string
Limit int
Orderby string
Page int
Select string
disks List<GetVolumeGroupDisksV2Disk>
  • List of disks corresponding to a Volume Group identified by {volumeGroupExtId}.
id String
The provider-assigned unique ID for this managed resource.
volumeGroupExtId String
filter String
limit Integer
orderby String
page Integer
select String
disks GetVolumeGroupDisksV2Disk[]
  • List of disks corresponding to a Volume Group identified by {volumeGroupExtId}.
id string
The provider-assigned unique ID for this managed resource.
volumeGroupExtId string
filter string
limit number
orderby string
page number
select string
disks Sequence[GetVolumeGroupDisksV2Disk]
  • List of disks corresponding to a Volume Group identified by {volumeGroupExtId}.
id str
The provider-assigned unique ID for this managed resource.
volume_group_ext_id str
filter str
limit int
orderby str
page int
select str
disks List<Property Map>
  • List of disks corresponding to a Volume Group identified by {volumeGroupExtId}.
id String
The provider-assigned unique ID for this managed resource.
volumeGroupExtId String
filter String
limit Number
orderby String
page Number
select String

Supporting Types

GetVolumeGroupDisksV2Disk

Description This property is required. string
  • Volume Disk description.
DiskDataSourceReferences This property is required. List<PiersKarsenbarg.Nutanix.Inputs.GetVolumeGroupDisksV2DiskDiskDataSourceReference>
  • Disk Data Source Reference.
DiskSizeBytes This property is required. 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 This property is required. List<PiersKarsenbarg.Nutanix.Inputs.GetVolumeGroupDisksV2DiskDiskStorageFeature>
  • 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 This property is required. string
  • The external identifier of the Data Source Reference.
Index This property is required. int
  • Index of the disk in a Volume Group. This field is optional and immutable.
Links This property is required. List<PiersKarsenbarg.Nutanix.Inputs.GetVolumeGroupDisksV2DiskLink>
  • 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 This property is required. string
  • Storage container on which the disk must be created. This is a read-only field.
TenantId This property is required. 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).
Description This property is required. string
  • Volume Disk description.
DiskDataSourceReferences This property is required. []GetVolumeGroupDisksV2DiskDiskDataSourceReference
  • Disk Data Source Reference.
DiskSizeBytes This property is required. 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 This property is required. []GetVolumeGroupDisksV2DiskDiskStorageFeature
  • 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 This property is required. string
  • The external identifier of the Data Source Reference.
Index This property is required. int
  • Index of the disk in a Volume Group. This field is optional and immutable.
Links This property is required. []GetVolumeGroupDisksV2DiskLink
  • 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 This property is required. string
  • Storage container on which the disk must be created. This is a read-only field.
TenantId This property is required. 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).
description This property is required. String
  • Volume Disk description.
diskDataSourceReferences This property is required. List<GetVolumeGroupDisksV2DiskDiskDataSourceReference>
  • Disk Data Source Reference.
diskSizeBytes This property is required. 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 This property is required. List<GetVolumeGroupDisksV2DiskDiskStorageFeature>
  • 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 This property is required. String
  • The external identifier of the Data Source Reference.
index This property is required. Integer
  • Index of the disk in a Volume Group. This field is optional and immutable.
links This property is required. List<GetVolumeGroupDisksV2DiskLink>
  • 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 This property is required. String
  • Storage container on which the disk must be created. This is a read-only field.
tenantId This property is required. 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).
description This property is required. string
  • Volume Disk description.
diskDataSourceReferences This property is required. GetVolumeGroupDisksV2DiskDiskDataSourceReference[]
  • Disk Data Source Reference.
diskSizeBytes This property is required. 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 This property is required. GetVolumeGroupDisksV2DiskDiskStorageFeature[]
  • 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 This property is required. string
  • The external identifier of the Data Source Reference.
index This property is required. number
  • Index of the disk in a Volume Group. This field is optional and immutable.
links This property is required. GetVolumeGroupDisksV2DiskLink[]
  • 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 This property is required. string
  • Storage container on which the disk must be created. This is a read-only field.
tenantId This property is required. 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).
description This property is required. str
  • Volume Disk description.
disk_data_source_references This property is required. Sequence[GetVolumeGroupDisksV2DiskDiskDataSourceReference]
  • Disk Data Source Reference.
disk_size_bytes This property is required. 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 This property is required. Sequence[GetVolumeGroupDisksV2DiskDiskStorageFeature]
  • 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 This property is required. str
  • The external identifier of the Data Source Reference.
index This property is required. int
  • Index of the disk in a Volume Group. This field is optional and immutable.
links This property is required. Sequence[GetVolumeGroupDisksV2DiskLink]
  • 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 This property is required. str
  • Storage container on which the disk must be created. This is a read-only field.
tenant_id This property is required. 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).
description This property is required. String
  • Volume Disk description.
diskDataSourceReferences This property is required. List<Property Map>
  • Disk Data Source Reference.
diskSizeBytes This property is required. 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 This property is required. 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 This property is required. String
  • The external identifier of the Data Source Reference.
index This property is required. Number
  • Index of the disk in a Volume Group. This field is optional and immutable.
links This property is required. 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 This property is required. String
  • Storage container on which the disk must be created. This is a read-only field.
tenantId This property is required. 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).

GetVolumeGroupDisksV2DiskDiskDataSourceReference

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.

GetVolumeGroupDisksV2DiskDiskStorageFeature

FlashModes This property is required. List<PiersKarsenbarg.Nutanix.Inputs.GetVolumeGroupDisksV2DiskDiskStorageFeatureFlashMode>
  • 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. []GetVolumeGroupDisksV2DiskDiskStorageFeatureFlashMode
  • 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<GetVolumeGroupDisksV2DiskDiskStorageFeatureFlashMode>
  • 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. GetVolumeGroupDisksV2DiskDiskStorageFeatureFlashMode[]
  • 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[GetVolumeGroupDisksV2DiskDiskStorageFeatureFlashMode]
  • 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.

GetVolumeGroupDisksV2DiskDiskStorageFeatureFlashMode

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.