Renaming linkedClone to linked_clone in config spec

This commit is contained in:
Adam Heeren 2016-04-13 12:42:55 -04:00
parent 338cb956ba
commit f04298f78d
2 changed files with 3 additions and 3 deletions

View File

@ -136,7 +136,7 @@ func resourceVSphereVirtualMachine() *schema.Resource {
ForceNew: true,
},
"linkedClone": &schema.Schema{
"linked_clone": &schema.Schema{
Type: schema.TypeBool,
Optional: true,
Default: false,
@ -374,7 +374,7 @@ func resourceVSphereVirtualMachineCreate(d *schema.ResourceData, meta interface{
vm.timeZone = v.(string)
}
if v, ok := d.GetOk("linkedClone"); ok {
if v, ok := d.GetOk("linked_clone"); ok {
vm.linkedClone = v.(bool)
}

View File

@ -48,7 +48,7 @@ The following arguments are supported:
* `disk` - (Required) Configures virtual disks; see [Disks](#disks) below for details
* `boot_delay` - (Optional) Time in seconds to wait for machine network to be ready.
* `windows_opt_config` - (Optional) Extra options for clones of Windows machines.
* `linkedClone` - (Optional) Specifies if the new machine is a [linked clone](https://www.vmware.com/support/ws5/doc/ws_clone_overview.html#wp1036396) of another machine or not.
* `linked_clone` - (Optional) Specifies if the new machine is a [linked clone](https://www.vmware.com/support/ws5/doc/ws_clone_overview.html#wp1036396) of another machine or not.
* `custom_configuration_parameters` - (Optional) Map of values that is set as virtual machine custom configurations.
The `network_interface` block supports: