Merge pull request #10079 from hashicorp/vsphere_cluster_host_investigation
fix docs linking issue
This commit is contained in:
commit
d378a4477a
@ -14,15 +14,18 @@ type LocationConfig struct {
|
||||
VMName string `mapstructure:"vm_name"`
|
||||
// VM folder to create the VM in.
|
||||
Folder string `mapstructure:"folder"`
|
||||
// ESXi cluster where target VM is created. See
|
||||
// [Working with Clusters](#working-with-clusters).
|
||||
// ESXi cluster where target VM is created. See the
|
||||
// [Working With Clusters And Hosts](#working-with-clusters-and-hosts)
|
||||
// section above for more details.
|
||||
Cluster string `mapstructure:"cluster"`
|
||||
// ESXi host where target VM is created. A full path must be specified if
|
||||
// the host is in a folder. For example `folder/host`. See the
|
||||
// `Specifying Clusters and Hosts` section above for more details.
|
||||
// [Working With Clusters And Hosts](#working-with-clusters-and-hosts)
|
||||
// section above for more details.
|
||||
Host string `mapstructure:"host"`
|
||||
// VMWare resource pool. If not set, it will look for the root resource pool of the `host` or `cluster`.
|
||||
// If a root resource is not found, it will then look for a default resource pool.
|
||||
// VMWare resource pool. If not set, it will look for the root resource
|
||||
// pool of the `host` or `cluster`. If a root resource is not found, it
|
||||
// will then look for a default resource pool.
|
||||
ResourcePool string `mapstructure:"resource_pool"`
|
||||
// VMWare datastore. Required if `host` is a cluster, or if `host` has
|
||||
// multiple datastores.
|
||||
|
@ -280,7 +280,7 @@ Minimal example of usage:
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Working with Clusters
|
||||
## Working With Clusters And Hosts
|
||||
|
||||
#### Standalone Hosts
|
||||
|
||||
|
@ -290,7 +290,7 @@ Minimal example of usage to import a OVF template:
|
||||
|
||||
@include 'helper/communicator/WinRM-not-required.mdx'
|
||||
|
||||
## Working with Clusters
|
||||
## Working With Clusters And Hosts
|
||||
|
||||
#### Standalone Hosts
|
||||
|
||||
|
@ -4,15 +4,18 @@
|
||||
|
||||
- `folder` (string) - VM folder to create the VM in.
|
||||
|
||||
- `cluster` (string) - ESXi cluster where target VM is created. See
|
||||
[Working with Clusters](#working-with-clusters).
|
||||
- `cluster` (string) - ESXi cluster where target VM is created. See the
|
||||
[Working With Clusters And Hosts](#working-with-clusters-and-hosts)
|
||||
section above for more details.
|
||||
|
||||
- `host` (string) - ESXi host where target VM is created. A full path must be specified if
|
||||
the host is in a folder. For example `folder/host`. See the
|
||||
`Specifying Clusters and Hosts` section above for more details.
|
||||
[Working With Clusters And Hosts](#working-with-clusters-and-hosts)
|
||||
section above for more details.
|
||||
|
||||
- `resource_pool` (string) - VMWare resource pool. If not set, it will look for the root resource pool of the `host` or `cluster`.
|
||||
If a root resource is not found, it will then look for a default resource pool.
|
||||
- `resource_pool` (string) - VMWare resource pool. If not set, it will look for the root resource
|
||||
pool of the `host` or `cluster`. If a root resource is not found, it
|
||||
will then look for a default resource pool.
|
||||
|
||||
- `datastore` (string) - VMWare datastore. Required if `host` is a cluster, or if `host` has
|
||||
multiple datastores.
|
||||
|
Loading…
x
Reference in New Issue
Block a user