Merge pull request #12703 from ewypych/docs-fix-vsphere-disk

Adapter_type description was added
This commit is contained in:
Jake Champlin 2017-03-14 17:13:30 -04:00 committed by GitHub
commit f90f864837
1 changed files with 9 additions and 7 deletions

View File

@ -14,11 +14,12 @@ Provides a VMware virtual disk resource. This can be used to create and delete
```
resource "vsphere_virtual_disk" "myDisk" {
size = 2
vmdk_path = "myDisk.vmdk"
datacenter = "Datacenter"
datastore = "local"
type = "thin"
size = 2
vmdk_path = "myDisk.vmdk"
datacenter = "Datacenter"
datastore = "local"
type = "thin"
adapter_type = "lsiLogic"
}
```
@ -28,6 +29,7 @@ The following arguments are supported:
* `size` - (Required) Size of the disk (in GB).
* `vmdk_path` - (Required) The path, including filename, of the virtual disk to be created. This should end with '.vmdk'.
* `type` - (Optional) 'eagerZeroedThick' (the default), or 'thin' are supported options.
* `type` - (Optional) 'eagerZeroedThick' (the default), 'lazy', or 'thin' are supported options.
* `adapter_type` - (Optional) set adapter type, 'ide' (the default), 'lsiLogic', or 'busLogic' are supported options.
* `datacenter` - (Optional) The name of a Datacenter in which to create the disk.
* `datastore` - (Required) The name of the Datastore in which to create the disk.
* `datastore` - (Required) The name of the Datastore in which to create the disk.