vcd.IndependentDisk
Explore with Pulumi AI
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:
- Size
In doubleMb - Size of disk in MB.
- Bus
Sub stringType - Disk bus subtype. Values can be:
buslogic
,lsilogic
,lsilogicsas
,VirtualSCSI
forSCSI
,ahci
forSATA
and (v3.6+)nvmecontroller
forNVME
- Bus
Type 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
- Independent
Disk stringId - Metadata Dictionary<string, string>
- Use
metadata_entry
instead. Key value map of metadata to assign to this independent disk. - Metadata
Entries List<IndependentDisk Metadata Entry> - 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
- string
- This is the sharing type. Values can be:
DiskSharing
,ControllerSharing
, orNone
- Storage
Profile 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 float64Mb - Size of disk in MB.
- Bus
Sub stringType - Disk bus subtype. Values can be:
buslogic
,lsilogic
,lsilogicsas
,VirtualSCSI
forSCSI
,ahci
forSATA
and (v3.6+)nvmecontroller
forNVME
- Bus
Type 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
- Independent
Disk stringId - Metadata map[string]string
- Use
metadata_entry
instead. Key value map of metadata to assign to this independent disk. - Metadata
Entries []IndependentDisk Metadata Entry Args - 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
- string
- This is the sharing type. Values can be:
DiskSharing
,ControllerSharing
, orNone
- Storage
Profile 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 DoubleMb - Size of disk in MB.
- bus
Sub StringType - Disk bus subtype. Values can be:
buslogic
,lsilogic
,lsilogicsas
,VirtualSCSI
forSCSI
,ahci
forSATA
and (v3.6+)nvmecontroller
forNVME
- bus
Type 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
- independent
Disk StringId - metadata Map<String,String>
- Use
metadata_entry
instead. Key value map of metadata to assign to this independent disk. - metadata
Entries List<IndependentDisk Metadata Entry> - 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
- String
- This is the sharing type. Values can be:
DiskSharing
,ControllerSharing
, orNone
- storage
Profile 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 numberMb - Size of disk in MB.
- bus
Sub stringType - Disk bus subtype. Values can be:
buslogic
,lsilogic
,lsilogicsas
,VirtualSCSI
forSCSI
,ahci
forSATA
and (v3.6+)nvmecontroller
forNVME
- bus
Type 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
- independent
Disk stringId - metadata {[key: string]: string}
- Use
metadata_entry
instead. Key value map of metadata to assign to this independent disk. - metadata
Entries IndependentDisk Metadata Entry[] - 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
- string
- This is the sharing type. Values can be:
DiskSharing
,ControllerSharing
, orNone
- storage
Profile 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_ floatmb - Size of disk in MB.
- bus_
sub_ strtype - Disk bus subtype. Values can be:
buslogic
,lsilogic
,lsilogicsas
,VirtualSCSI
forSCSI
,ahci
forSATA
and (v3.6+)nvmecontroller
forNVME
- 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_ strid - metadata Mapping[str, str]
- Use
metadata_entry
instead. Key value map of metadata to assign to this independent disk. - metadata_
entries Sequence[IndependentDisk Metadata Entry Args] - 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
- str
- This is the sharing type. Values can be:
DiskSharing
,ControllerSharing
, orNone
- 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
- size
In NumberMb - Size of disk in MB.
- bus
Sub StringType - Disk bus subtype. Values can be:
buslogic
,lsilogic
,lsilogicsas
,VirtualSCSI
forSCSI
,ahci
forSATA
and (v3.6+)nvmecontroller
forNVME
- bus
Type 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
- independent
Disk StringId - metadata Map<String>
- Use
metadata_entry
instead. Key value map of metadata to assign to this independent disk. - metadata
Entries 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
- String
- This is the sharing type. Values can be:
DiskSharing
,ControllerSharing
, orNone
- storage
Profile 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:
- Attached
Vm List<string>Ids - (Computed, v3.6+) IDs of VM which are using the disk
- Datastore
Name 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
- Is
Attached bool - (Computed) True if the disk is already attached
- Owner
Name 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 []stringIds - (Computed, v3.6+) IDs of VM which are using the disk
- Datastore
Name 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
- Is
Attached bool - (Computed) True if the disk is already attached
- Owner
Name 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 List<String>Ids - (Computed, v3.6+) IDs of VM which are using the disk
- datastore
Name 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
- is
Attached Boolean - (Computed) True if the disk is already attached
- owner
Name 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 string[]Ids - (Computed, v3.6+) IDs of VM which are using the disk
- datastore
Name 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
- is
Attached boolean - (Computed) True if the disk is already attached
- owner
Name 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_ Sequence[str]ids - (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
- attached
Vm List<String>Ids - (Computed, v3.6+) IDs of VM which are using the disk
- datastore
Name 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
- is
Attached Boolean - (Computed) True if the disk is already attached
- owner
Name 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.
- Attached
Vm List<string>Ids - (Computed, v3.6+) IDs of VM which are using the disk
- Bus
Sub stringType - Disk bus subtype. Values can be:
buslogic
,lsilogic
,lsilogicsas
,VirtualSCSI
forSCSI
,ahci
forSATA
and (v3.6+)nvmecontroller
forNVME
- Bus
Type 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 - Datastore
Name 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
- Independent
Disk stringId - Iops double
- (Computed) IOPS request for the created disk
- Is
Attached 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. - Metadata
Entries List<IndependentDisk Metadata Entry> - 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
- Owner
Name string - (Computed) The owner name of the disk
- Sharing
Type string - This is the sharing type. Values can be:
DiskSharing
,ControllerSharing
, orNone
- Size
In doubleMb - Size of disk in MB.
- Storage
Profile 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 []stringIds - (Computed, v3.6+) IDs of VM which are using the disk
- Bus
Sub stringType - Disk bus subtype. Values can be:
buslogic
,lsilogic
,lsilogicsas
,VirtualSCSI
forSCSI
,ahci
forSATA
and (v3.6+)nvmecontroller
forNVME
- Bus
Type 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 - Datastore
Name 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
- Independent
Disk stringId - Iops float64
- (Computed) IOPS request for the created disk
- Is
Attached 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. - Metadata
Entries []IndependentDisk Metadata Entry Args - 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
- Owner
Name string - (Computed) The owner name of the disk
- Sharing
Type string - This is the sharing type. Values can be:
DiskSharing
,ControllerSharing
, orNone
- Size
In float64Mb - Size of disk in MB.
- Storage
Profile 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 List<String>Ids - (Computed, v3.6+) IDs of VM which are using the disk
- bus
Sub StringType - Disk bus subtype. Values can be:
buslogic
,lsilogic
,lsilogicsas
,VirtualSCSI
forSCSI
,ahci
forSATA
and (v3.6+)nvmecontroller
forNVME
- bus
Type 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 - datastore
Name 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
- independent
Disk StringId - iops Double
- (Computed) IOPS request for the created disk
- is
Attached 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. - metadata
Entries List<IndependentDisk Metadata Entry> - 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
- owner
Name String - (Computed) The owner name of the disk
- sharing
Type String - This is the sharing type. Values can be:
DiskSharing
,ControllerSharing
, orNone
- size
In DoubleMb - Size of disk in MB.
- storage
Profile 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 string[]Ids - (Computed, v3.6+) IDs of VM which are using the disk
- bus
Sub stringType - Disk bus subtype. Values can be:
buslogic
,lsilogic
,lsilogicsas
,VirtualSCSI
forSCSI
,ahci
forSATA
and (v3.6+)nvmecontroller
forNVME
- bus
Type 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 - datastore
Name 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
- independent
Disk stringId - iops number
- (Computed) IOPS request for the created disk
- is
Attached 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. - metadata
Entries IndependentDisk Metadata Entry[] - 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
- owner
Name string - (Computed) The owner name of the disk
- sharing
Type string - This is the sharing type. Values can be:
DiskSharing
,ControllerSharing
, orNone
- size
In numberMb - Size of disk in MB.
- storage
Profile 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_ Sequence[str]ids - (Computed, v3.6+) IDs of VM which are using the disk
- bus_
sub_ strtype - Disk bus subtype. Values can be:
buslogic
,lsilogic
,lsilogicsas
,VirtualSCSI
forSCSI
,ahci
forSATA
and (v3.6+)nvmecontroller
forNVME
- 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_ strid - 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. - metadata_
entries Sequence[IndependentDisk Metadata Entry Args] - 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
, orNone
- size_
in_ floatmb - 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
- attached
Vm List<String>Ids - (Computed, v3.6+) IDs of VM which are using the disk
- bus
Sub StringType - Disk bus subtype. Values can be:
buslogic
,lsilogic
,lsilogicsas
,VirtualSCSI
forSCSI
,ahci
forSATA
and (v3.6+)nvmecontroller
forNVME
- bus
Type 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 - datastore
Name 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
- independent
Disk StringId - iops Number
- (Computed) IOPS request for the created disk
- is
Attached 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. - metadata
Entries 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
- owner
Name String - (Computed) The owner name of the disk
- sharing
Type String - This is the sharing type. Values can be:
DiskSharing
,ControllerSharing
, orNone
- size
In NumberMb - Size of disk in MB.
- storage
Profile 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
- Is
System 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'
- User
Access 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 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'
- User
Access 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 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'
- user
Access 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 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'
- user
Access 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
- is
System 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'
- user
Access 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.