1. Packages
  2. Vcd Provider
  3. API Docs
  4. IndependentDisk
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

vcd.IndependentDisk

Explore with Pulumi AI

vcd logo
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

    Create IndependentDisk Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IndependentDisk(name: string, args: IndependentDiskArgs, opts?: CustomResourceOptions);
    @overload
    def IndependentDisk(resource_name: str,
                        args: IndependentDiskArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def IndependentDisk(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        size_in_mb: Optional[float] = None,
                        bus_sub_type: Optional[str] = None,
                        bus_type: Optional[str] = None,
                        description: Optional[str] = None,
                        independent_disk_id: Optional[str] = None,
                        metadata: Optional[Mapping[str, str]] = None,
                        metadata_entries: Optional[Sequence[IndependentDiskMetadataEntryArgs]] = None,
                        name: Optional[str] = None,
                        org: Optional[str] = None,
                        sharing_type: Optional[str] = None,
                        storage_profile: Optional[str] = None,
                        vdc: Optional[str] = None)
    func NewIndependentDisk(ctx *Context, name string, args IndependentDiskArgs, opts ...ResourceOption) (*IndependentDisk, error)
    public IndependentDisk(string name, IndependentDiskArgs args, CustomResourceOptions? opts = null)
    public IndependentDisk(String name, IndependentDiskArgs args)
    public IndependentDisk(String name, IndependentDiskArgs args, CustomResourceOptions options)
    
    type: vcd:IndependentDisk
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IndependentDiskArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IndependentDiskArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IndependentDiskArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IndependentDiskArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IndependentDiskArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var independentDiskResource = new Vcd.IndependentDisk("independentDiskResource", new()
    {
        SizeInMb = 0,
        BusSubType = "string",
        BusType = "string",
        Description = "string",
        IndependentDiskId = "string",
        MetadataEntries = new[]
        {
            new Vcd.Inputs.IndependentDiskMetadataEntryArgs
            {
                IsSystem = false,
                Key = "string",
                Type = "string",
                UserAccess = "string",
                Value = "string",
            },
        },
        Name = "string",
        Org = "string",
        SharingType = "string",
        StorageProfile = "string",
        Vdc = "string",
    });
    
    example, err := vcd.NewIndependentDisk(ctx, "independentDiskResource", &vcd.IndependentDiskArgs{
    	SizeInMb:          pulumi.Float64(0),
    	BusSubType:        pulumi.String("string"),
    	BusType:           pulumi.String("string"),
    	Description:       pulumi.String("string"),
    	IndependentDiskId: pulumi.String("string"),
    	MetadataEntries: vcd.IndependentDiskMetadataEntryArray{
    		&vcd.IndependentDiskMetadataEntryArgs{
    			IsSystem:   pulumi.Bool(false),
    			Key:        pulumi.String("string"),
    			Type:       pulumi.String("string"),
    			UserAccess: pulumi.String("string"),
    			Value:      pulumi.String("string"),
    		},
    	},
    	Name:           pulumi.String("string"),
    	Org:            pulumi.String("string"),
    	SharingType:    pulumi.String("string"),
    	StorageProfile: pulumi.String("string"),
    	Vdc:            pulumi.String("string"),
    })
    
    var independentDiskResource = new IndependentDisk("independentDiskResource", IndependentDiskArgs.builder()
        .sizeInMb(0)
        .busSubType("string")
        .busType("string")
        .description("string")
        .independentDiskId("string")
        .metadataEntries(IndependentDiskMetadataEntryArgs.builder()
            .isSystem(false)
            .key("string")
            .type("string")
            .userAccess("string")
            .value("string")
            .build())
        .name("string")
        .org("string")
        .sharingType("string")
        .storageProfile("string")
        .vdc("string")
        .build());
    
    independent_disk_resource = vcd.IndependentDisk("independentDiskResource",
        size_in_mb=0,
        bus_sub_type="string",
        bus_type="string",
        description="string",
        independent_disk_id="string",
        metadata_entries=[{
            "is_system": False,
            "key": "string",
            "type": "string",
            "user_access": "string",
            "value": "string",
        }],
        name="string",
        org="string",
        sharing_type="string",
        storage_profile="string",
        vdc="string")
    
    const independentDiskResource = new vcd.IndependentDisk("independentDiskResource", {
        sizeInMb: 0,
        busSubType: "string",
        busType: "string",
        description: "string",
        independentDiskId: "string",
        metadataEntries: [{
            isSystem: false,
            key: "string",
            type: "string",
            userAccess: "string",
            value: "string",
        }],
        name: "string",
        org: "string",
        sharingType: "string",
        storageProfile: "string",
        vdc: "string",
    });
    
    type: vcd:IndependentDisk
    properties:
        busSubType: string
        busType: string
        description: string
        independentDiskId: string
        metadataEntries:
            - isSystem: false
              key: string
              type: string
              userAccess: string
              value: string
        name: string
        org: string
        sharingType: string
        sizeInMb: 0
        storageProfile: string
        vdc: string
    

    IndependentDisk Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The IndependentDisk resource accepts the following input properties:

    SizeInMb double
    Size of disk in MB.
    BusSubType string
    Disk bus subtype. Values can be: buslogic, lsilogic, lsilogicsas, VirtualSCSI for SCSI, ahci for SATA and (v3.6+) nvmecontroller for NVME
    BusType string
    Disk bus type. Values can be: IDE, SCSI, SATA, (v3.6+) NVME. Note When the disk type is IDE then VM is required to be powered off
    Description string
    independent disk description
    IndependentDiskId string
    Metadata Dictionary<string, string>
    Use metadata_entry instead. Key value map of metadata to assign to this independent disk.

    Deprecated: Deprecated

    MetadataEntries List<IndependentDiskMetadataEntry>
    A set of metadata entries to assign. See Metadata section for details.
    Name string
    Disk name
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    SharingType string
    This is the sharing type. Values can be: DiskSharing,ControllerSharing, or None
    StorageProfile string
    The name of storage profile where disk will be created
    Vdc string
    The name of VDC to use, optional if defined at provider level
    SizeInMb float64
    Size of disk in MB.
    BusSubType string
    Disk bus subtype. Values can be: buslogic, lsilogic, lsilogicsas, VirtualSCSI for SCSI, ahci for SATA and (v3.6+) nvmecontroller for NVME
    BusType string
    Disk bus type. Values can be: IDE, SCSI, SATA, (v3.6+) NVME. Note When the disk type is IDE then VM is required to be powered off
    Description string
    independent disk description
    IndependentDiskId string
    Metadata map[string]string
    Use metadata_entry instead. Key value map of metadata to assign to this independent disk.

    Deprecated: Deprecated

    MetadataEntries []IndependentDiskMetadataEntryArgs
    A set of metadata entries to assign. See Metadata section for details.
    Name string
    Disk name
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    SharingType string
    This is the sharing type. Values can be: DiskSharing,ControllerSharing, or None
    StorageProfile string
    The name of storage profile where disk will be created
    Vdc string
    The name of VDC to use, optional if defined at provider level
    sizeInMb Double
    Size of disk in MB.
    busSubType String
    Disk bus subtype. Values can be: buslogic, lsilogic, lsilogicsas, VirtualSCSI for SCSI, ahci for SATA and (v3.6+) nvmecontroller for NVME
    busType String
    Disk bus type. Values can be: IDE, SCSI, SATA, (v3.6+) NVME. Note When the disk type is IDE then VM is required to be powered off
    description String
    independent disk description
    independentDiskId String
    metadata Map<String,String>
    Use metadata_entry instead. Key value map of metadata to assign to this independent disk.

    Deprecated: Deprecated

    metadataEntries List<IndependentDiskMetadataEntry>
    A set of metadata entries to assign. See Metadata section for details.
    name String
    Disk name
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    sharingType String
    This is the sharing type. Values can be: DiskSharing,ControllerSharing, or None
    storageProfile String
    The name of storage profile where disk will be created
    vdc String
    The name of VDC to use, optional if defined at provider level
    sizeInMb number
    Size of disk in MB.
    busSubType string
    Disk bus subtype. Values can be: buslogic, lsilogic, lsilogicsas, VirtualSCSI for SCSI, ahci for SATA and (v3.6+) nvmecontroller for NVME
    busType string
    Disk bus type. Values can be: IDE, SCSI, SATA, (v3.6+) NVME. Note When the disk type is IDE then VM is required to be powered off
    description string
    independent disk description
    independentDiskId string
    metadata {[key: string]: string}
    Use metadata_entry instead. Key value map of metadata to assign to this independent disk.

    Deprecated: Deprecated

    metadataEntries IndependentDiskMetadataEntry[]
    A set of metadata entries to assign. See Metadata section for details.
    name string
    Disk name
    org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    sharingType string
    This is the sharing type. Values can be: DiskSharing,ControllerSharing, or None
    storageProfile string
    The name of storage profile where disk will be created
    vdc string
    The name of VDC to use, optional if defined at provider level
    size_in_mb float
    Size of disk in MB.
    bus_sub_type str
    Disk bus subtype. Values can be: buslogic, lsilogic, lsilogicsas, VirtualSCSI for SCSI, ahci for SATA and (v3.6+) nvmecontroller for NVME
    bus_type str
    Disk bus type. Values can be: IDE, SCSI, SATA, (v3.6+) NVME. Note When the disk type is IDE then VM is required to be powered off
    description str
    independent disk description
    independent_disk_id str
    metadata Mapping[str, str]
    Use metadata_entry instead. Key value map of metadata to assign to this independent disk.

    Deprecated: Deprecated

    metadata_entries Sequence[IndependentDiskMetadataEntryArgs]
    A set of metadata entries to assign. See Metadata section for details.
    name str
    Disk name
    org str
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    sharing_type str
    This is the sharing type. Values can be: DiskSharing,ControllerSharing, or None
    storage_profile str
    The name of storage profile where disk will be created
    vdc str
    The name of VDC to use, optional if defined at provider level
    sizeInMb Number
    Size of disk in MB.
    busSubType String
    Disk bus subtype. Values can be: buslogic, lsilogic, lsilogicsas, VirtualSCSI for SCSI, ahci for SATA and (v3.6+) nvmecontroller for NVME
    busType String
    Disk bus type. Values can be: IDE, SCSI, SATA, (v3.6+) NVME. Note When the disk type is IDE then VM is required to be powered off
    description String
    independent disk description
    independentDiskId String
    metadata Map<String>
    Use metadata_entry instead. Key value map of metadata to assign to this independent disk.

    Deprecated: Deprecated

    metadataEntries List<Property Map>
    A set of metadata entries to assign. See Metadata section for details.
    name String
    Disk name
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    sharingType String
    This is the sharing type. Values can be: DiskSharing,ControllerSharing, or None
    storageProfile String
    The name of storage profile where disk will be created
    vdc String
    The name of VDC to use, optional if defined at provider level

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IndependentDisk resource produces the following output properties:

    AttachedVmIds List<string>
    (Computed, v3.6+) IDs of VM which are using the disk
    DatastoreName string
    (Computed) Data store name. Readable only for system user.
    Encrypted bool
    (Computed, v3.6+ and VCD 10.2+) True if disk is encrypted
    Id string
    The provider-assigned unique ID for this managed resource.
    Iops double
    (Computed) IOPS request for the created disk
    IsAttached bool
    (Computed) True if the disk is already attached
    OwnerName string
    (Computed) The owner name of the disk
    Uuid string
    (Computed, v3.6+ and VCD 10.2+) The UUID of this named disk's device backing
    AttachedVmIds []string
    (Computed, v3.6+) IDs of VM which are using the disk
    DatastoreName string
    (Computed) Data store name. Readable only for system user.
    Encrypted bool
    (Computed, v3.6+ and VCD 10.2+) True if disk is encrypted
    Id string
    The provider-assigned unique ID for this managed resource.
    Iops float64
    (Computed) IOPS request for the created disk
    IsAttached bool
    (Computed) True if the disk is already attached
    OwnerName string
    (Computed) The owner name of the disk
    Uuid string
    (Computed, v3.6+ and VCD 10.2+) The UUID of this named disk's device backing
    attachedVmIds List<String>
    (Computed, v3.6+) IDs of VM which are using the disk
    datastoreName String
    (Computed) Data store name. Readable only for system user.
    encrypted Boolean
    (Computed, v3.6+ and VCD 10.2+) True if disk is encrypted
    id String
    The provider-assigned unique ID for this managed resource.
    iops Double
    (Computed) IOPS request for the created disk
    isAttached Boolean
    (Computed) True if the disk is already attached
    ownerName String
    (Computed) The owner name of the disk
    uuid String
    (Computed, v3.6+ and VCD 10.2+) The UUID of this named disk's device backing
    attachedVmIds string[]
    (Computed, v3.6+) IDs of VM which are using the disk
    datastoreName string
    (Computed) Data store name. Readable only for system user.
    encrypted boolean
    (Computed, v3.6+ and VCD 10.2+) True if disk is encrypted
    id string
    The provider-assigned unique ID for this managed resource.
    iops number
    (Computed) IOPS request for the created disk
    isAttached boolean
    (Computed) True if the disk is already attached
    ownerName string
    (Computed) The owner name of the disk
    uuid string
    (Computed, v3.6+ and VCD 10.2+) The UUID of this named disk's device backing
    attached_vm_ids Sequence[str]
    (Computed, v3.6+) IDs of VM which are using the disk
    datastore_name str
    (Computed) Data store name. Readable only for system user.
    encrypted bool
    (Computed, v3.6+ and VCD 10.2+) True if disk is encrypted
    id str
    The provider-assigned unique ID for this managed resource.
    iops float
    (Computed) IOPS request for the created disk
    is_attached bool
    (Computed) True if the disk is already attached
    owner_name str
    (Computed) The owner name of the disk
    uuid str
    (Computed, v3.6+ and VCD 10.2+) The UUID of this named disk's device backing
    attachedVmIds List<String>
    (Computed, v3.6+) IDs of VM which are using the disk
    datastoreName String
    (Computed) Data store name. Readable only for system user.
    encrypted Boolean
    (Computed, v3.6+ and VCD 10.2+) True if disk is encrypted
    id String
    The provider-assigned unique ID for this managed resource.
    iops Number
    (Computed) IOPS request for the created disk
    isAttached Boolean
    (Computed) True if the disk is already attached
    ownerName String
    (Computed) The owner name of the disk
    uuid String
    (Computed, v3.6+ and VCD 10.2+) The UUID of this named disk's device backing

    Look up Existing IndependentDisk Resource

    Get an existing IndependentDisk resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IndependentDiskState, opts?: CustomResourceOptions): IndependentDisk
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            attached_vm_ids: Optional[Sequence[str]] = None,
            bus_sub_type: Optional[str] = None,
            bus_type: Optional[str] = None,
            datastore_name: Optional[str] = None,
            description: Optional[str] = None,
            encrypted: Optional[bool] = None,
            independent_disk_id: Optional[str] = None,
            iops: Optional[float] = None,
            is_attached: Optional[bool] = None,
            metadata: Optional[Mapping[str, str]] = None,
            metadata_entries: Optional[Sequence[IndependentDiskMetadataEntryArgs]] = None,
            name: Optional[str] = None,
            org: Optional[str] = None,
            owner_name: Optional[str] = None,
            sharing_type: Optional[str] = None,
            size_in_mb: Optional[float] = None,
            storage_profile: Optional[str] = None,
            uuid: Optional[str] = None,
            vdc: Optional[str] = None) -> IndependentDisk
    func GetIndependentDisk(ctx *Context, name string, id IDInput, state *IndependentDiskState, opts ...ResourceOption) (*IndependentDisk, error)
    public static IndependentDisk Get(string name, Input<string> id, IndependentDiskState? state, CustomResourceOptions? opts = null)
    public static IndependentDisk get(String name, Output<String> id, IndependentDiskState state, CustomResourceOptions options)
    resources:  _:    type: vcd:IndependentDisk    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AttachedVmIds List<string>
    (Computed, v3.6+) IDs of VM which are using the disk
    BusSubType string
    Disk bus subtype. Values can be: buslogic, lsilogic, lsilogicsas, VirtualSCSI for SCSI, ahci for SATA and (v3.6+) nvmecontroller for NVME
    BusType string
    Disk bus type. Values can be: IDE, SCSI, SATA, (v3.6+) NVME. Note When the disk type is IDE then VM is required to be powered off
    DatastoreName string
    (Computed) Data store name. Readable only for system user.
    Description string
    independent disk description
    Encrypted bool
    (Computed, v3.6+ and VCD 10.2+) True if disk is encrypted
    IndependentDiskId string
    Iops double
    (Computed) IOPS request for the created disk
    IsAttached bool
    (Computed) True if the disk is already attached
    Metadata Dictionary<string, string>
    Use metadata_entry instead. Key value map of metadata to assign to this independent disk.

    Deprecated: Deprecated

    MetadataEntries List<IndependentDiskMetadataEntry>
    A set of metadata entries to assign. See Metadata section for details.
    Name string
    Disk name
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    OwnerName string
    (Computed) The owner name of the disk
    SharingType string
    This is the sharing type. Values can be: DiskSharing,ControllerSharing, or None
    SizeInMb double
    Size of disk in MB.
    StorageProfile string
    The name of storage profile where disk will be created
    Uuid string
    (Computed, v3.6+ and VCD 10.2+) The UUID of this named disk's device backing
    Vdc string
    The name of VDC to use, optional if defined at provider level
    AttachedVmIds []string
    (Computed, v3.6+) IDs of VM which are using the disk
    BusSubType string
    Disk bus subtype. Values can be: buslogic, lsilogic, lsilogicsas, VirtualSCSI for SCSI, ahci for SATA and (v3.6+) nvmecontroller for NVME
    BusType string
    Disk bus type. Values can be: IDE, SCSI, SATA, (v3.6+) NVME. Note When the disk type is IDE then VM is required to be powered off
    DatastoreName string
    (Computed) Data store name. Readable only for system user.
    Description string
    independent disk description
    Encrypted bool
    (Computed, v3.6+ and VCD 10.2+) True if disk is encrypted
    IndependentDiskId string
    Iops float64
    (Computed) IOPS request for the created disk
    IsAttached bool
    (Computed) True if the disk is already attached
    Metadata map[string]string
    Use metadata_entry instead. Key value map of metadata to assign to this independent disk.

    Deprecated: Deprecated

    MetadataEntries []IndependentDiskMetadataEntryArgs
    A set of metadata entries to assign. See Metadata section for details.
    Name string
    Disk name
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    OwnerName string
    (Computed) The owner name of the disk
    SharingType string
    This is the sharing type. Values can be: DiskSharing,ControllerSharing, or None
    SizeInMb float64
    Size of disk in MB.
    StorageProfile string
    The name of storage profile where disk will be created
    Uuid string
    (Computed, v3.6+ and VCD 10.2+) The UUID of this named disk's device backing
    Vdc string
    The name of VDC to use, optional if defined at provider level
    attachedVmIds List<String>
    (Computed, v3.6+) IDs of VM which are using the disk
    busSubType String
    Disk bus subtype. Values can be: buslogic, lsilogic, lsilogicsas, VirtualSCSI for SCSI, ahci for SATA and (v3.6+) nvmecontroller for NVME
    busType String
    Disk bus type. Values can be: IDE, SCSI, SATA, (v3.6+) NVME. Note When the disk type is IDE then VM is required to be powered off
    datastoreName String
    (Computed) Data store name. Readable only for system user.
    description String
    independent disk description
    encrypted Boolean
    (Computed, v3.6+ and VCD 10.2+) True if disk is encrypted
    independentDiskId String
    iops Double
    (Computed) IOPS request for the created disk
    isAttached Boolean
    (Computed) True if the disk is already attached
    metadata Map<String,String>
    Use metadata_entry instead. Key value map of metadata to assign to this independent disk.

    Deprecated: Deprecated

    metadataEntries List<IndependentDiskMetadataEntry>
    A set of metadata entries to assign. See Metadata section for details.
    name String
    Disk name
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    ownerName String
    (Computed) The owner name of the disk
    sharingType String
    This is the sharing type. Values can be: DiskSharing,ControllerSharing, or None
    sizeInMb Double
    Size of disk in MB.
    storageProfile String
    The name of storage profile where disk will be created
    uuid String
    (Computed, v3.6+ and VCD 10.2+) The UUID of this named disk's device backing
    vdc String
    The name of VDC to use, optional if defined at provider level
    attachedVmIds string[]
    (Computed, v3.6+) IDs of VM which are using the disk
    busSubType string
    Disk bus subtype. Values can be: buslogic, lsilogic, lsilogicsas, VirtualSCSI for SCSI, ahci for SATA and (v3.6+) nvmecontroller for NVME
    busType string
    Disk bus type. Values can be: IDE, SCSI, SATA, (v3.6+) NVME. Note When the disk type is IDE then VM is required to be powered off
    datastoreName string
    (Computed) Data store name. Readable only for system user.
    description string
    independent disk description
    encrypted boolean
    (Computed, v3.6+ and VCD 10.2+) True if disk is encrypted
    independentDiskId string
    iops number
    (Computed) IOPS request for the created disk
    isAttached boolean
    (Computed) True if the disk is already attached
    metadata {[key: string]: string}
    Use metadata_entry instead. Key value map of metadata to assign to this independent disk.

    Deprecated: Deprecated

    metadataEntries IndependentDiskMetadataEntry[]
    A set of metadata entries to assign. See Metadata section for details.
    name string
    Disk name
    org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    ownerName string
    (Computed) The owner name of the disk
    sharingType string
    This is the sharing type. Values can be: DiskSharing,ControllerSharing, or None
    sizeInMb number
    Size of disk in MB.
    storageProfile string
    The name of storage profile where disk will be created
    uuid string
    (Computed, v3.6+ and VCD 10.2+) The UUID of this named disk's device backing
    vdc string
    The name of VDC to use, optional if defined at provider level
    attached_vm_ids Sequence[str]
    (Computed, v3.6+) IDs of VM which are using the disk
    bus_sub_type str
    Disk bus subtype. Values can be: buslogic, lsilogic, lsilogicsas, VirtualSCSI for SCSI, ahci for SATA and (v3.6+) nvmecontroller for NVME
    bus_type str
    Disk bus type. Values can be: IDE, SCSI, SATA, (v3.6+) NVME. Note When the disk type is IDE then VM is required to be powered off
    datastore_name str
    (Computed) Data store name. Readable only for system user.
    description str
    independent disk description
    encrypted bool
    (Computed, v3.6+ and VCD 10.2+) True if disk is encrypted
    independent_disk_id str
    iops float
    (Computed) IOPS request for the created disk
    is_attached bool
    (Computed) True if the disk is already attached
    metadata Mapping[str, str]
    Use metadata_entry instead. Key value map of metadata to assign to this independent disk.

    Deprecated: Deprecated

    metadata_entries Sequence[IndependentDiskMetadataEntryArgs]
    A set of metadata entries to assign. See Metadata section for details.
    name str
    Disk name
    org str
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    owner_name str
    (Computed) The owner name of the disk
    sharing_type str
    This is the sharing type. Values can be: DiskSharing,ControllerSharing, or None
    size_in_mb float
    Size of disk in MB.
    storage_profile str
    The name of storage profile where disk will be created
    uuid str
    (Computed, v3.6+ and VCD 10.2+) The UUID of this named disk's device backing
    vdc str
    The name of VDC to use, optional if defined at provider level
    attachedVmIds List<String>
    (Computed, v3.6+) IDs of VM which are using the disk
    busSubType String
    Disk bus subtype. Values can be: buslogic, lsilogic, lsilogicsas, VirtualSCSI for SCSI, ahci for SATA and (v3.6+) nvmecontroller for NVME
    busType String
    Disk bus type. Values can be: IDE, SCSI, SATA, (v3.6+) NVME. Note When the disk type is IDE then VM is required to be powered off
    datastoreName String
    (Computed) Data store name. Readable only for system user.
    description String
    independent disk description
    encrypted Boolean
    (Computed, v3.6+ and VCD 10.2+) True if disk is encrypted
    independentDiskId String
    iops Number
    (Computed) IOPS request for the created disk
    isAttached Boolean
    (Computed) True if the disk is already attached
    metadata Map<String>
    Use metadata_entry instead. Key value map of metadata to assign to this independent disk.

    Deprecated: Deprecated

    metadataEntries List<Property Map>
    A set of metadata entries to assign. See Metadata section for details.
    name String
    Disk name
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    ownerName String
    (Computed) The owner name of the disk
    sharingType String
    This is the sharing type. Values can be: DiskSharing,ControllerSharing, or None
    sizeInMb Number
    Size of disk in MB.
    storageProfile String
    The name of storage profile where disk will be created
    uuid String
    (Computed, v3.6+ and VCD 10.2+) The UUID of this named disk's device backing
    vdc String
    The name of VDC to use, optional if defined at provider level

    Supporting Types

    IndependentDiskMetadataEntry, IndependentDiskMetadataEntryArgs

    IsSystem bool
    Domain for this metadata entry. true, if it belongs to SYSTEM. false, if it belongs to GENERAL
    Key string
    Key of this metadata entry. Required if the metadata entry is not empty
    Type string
    Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue'
    UserAccess string
    User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE'
    Value string
    Value of this metadata entry. Required if the metadata entry is not empty
    IsSystem bool
    Domain for this metadata entry. true, if it belongs to SYSTEM. false, if it belongs to GENERAL
    Key string
    Key of this metadata entry. Required if the metadata entry is not empty
    Type string
    Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue'
    UserAccess string
    User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE'
    Value string
    Value of this metadata entry. Required if the metadata entry is not empty
    isSystem Boolean
    Domain for this metadata entry. true, if it belongs to SYSTEM. false, if it belongs to GENERAL
    key String
    Key of this metadata entry. Required if the metadata entry is not empty
    type String
    Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue'
    userAccess String
    User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE'
    value String
    Value of this metadata entry. Required if the metadata entry is not empty
    isSystem boolean
    Domain for this metadata entry. true, if it belongs to SYSTEM. false, if it belongs to GENERAL
    key string
    Key of this metadata entry. Required if the metadata entry is not empty
    type string
    Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue'
    userAccess string
    User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE'
    value string
    Value of this metadata entry. Required if the metadata entry is not empty
    is_system bool
    Domain for this metadata entry. true, if it belongs to SYSTEM. false, if it belongs to GENERAL
    key str
    Key of this metadata entry. Required if the metadata entry is not empty
    type str
    Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue'
    user_access str
    User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE'
    value str
    Value of this metadata entry. Required if the metadata entry is not empty
    isSystem Boolean
    Domain for this metadata entry. true, if it belongs to SYSTEM. false, if it belongs to GENERAL
    key String
    Key of this metadata entry. Required if the metadata entry is not empty
    type String
    Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue'
    userAccess String
    User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE'
    value String
    Value of this metadata entry. Required if the metadata entry is not empty

    Package Details

    Repository
    vcd vmware/terraform-provider-vcd
    License
    Notes
    This Pulumi package is based on the vcd Terraform Provider.
    vcd logo
    vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware