Class VirtualDiskState
Inherited Members
Namespace: Pulumi.VSphere
Assembly: Pulumi.VSphere.dll
Syntax
public sealed class VirtualDiskState : ResourceArgs
Constructors
View SourceVirtualDiskState()
Declaration
public VirtualDiskState()
Properties
View SourceAdapterType
The adapter type for this virtual disk. Can be
one of ide, lsiLogic, or busLogic. Default: lsiLogic.
Declaration
public Input<string> AdapterType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CreateDirectories
Tells the resource to create any
directories that are a part of the vmdk_path parameter if they are missing.
Default: false.
Declaration
public Input<bool> CreateDirectories { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Datacenter
The name of the datacenter in which to create the disk. Can be omitted when when ESXi or if there is only one datacenter in your infrastructure.
Declaration
public Input<string> Datacenter { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Datastore
The name of the datastore in which to create the disk.
Declaration
public Input<string> Datastore { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Size
Size of the disk (in GB).
Declaration
public Input<int> Size { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Type
The type of disk to create. Can be one of
eagerZeroedThick, lazy, or thin. Default: eagerZeroedThick. For
information on what each kind of disk provisioning policy means, click
[here][docs-vmware-vm-disk-provisioning].
Declaration
public Input<string> Type { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
VmdkPath
The path, including filename, of the virtual disk to
be created. This needs to end in .vmdk.
Declaration
public Input<string> VmdkPath { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |