fix sidebar + small rewordings (#6782)

This commit is contained in:
Ricard Clau 2016-05-19 23:25:47 +01:00 committed by Paul Stack
parent f0b12b443b
commit 283e3ae6b5
2 changed files with 7 additions and 4 deletions

View File

@ -3,12 +3,12 @@ layout: "vsphere"
page_title: "VMware vSphere: vsphere_file" page_title: "VMware vSphere: vsphere_file"
sidebar_current: "docs-vsphere-resource-file" sidebar_current: "docs-vsphere-resource-file"
description: |- description: |-
Provides a VMware vSphere virtual machine file resource. This can be used to files (e.g. vmdk disks) from Terraform host machine to remote vSphere. Provides a VMware vSphere virtual machine file resource. This can be used to upload files (e.g. vmdk disks) from the Terraform host machine to a remote vSphere.
----------------------------------------------------------------------------------------------------------------------------------------------------- ---
# vsphere\_file # vsphere\_file
Provides a VMware vSphere virtual machine file resource. This can be used to files (e.g. vmdk disks) from Terraform host machine to remote vSphere. Provides a VMware vSphere virtual machine file resource. This can be used to upload files (e.g. vmdk disks) from the Terraform host machine to a remote vSphere.
## Example Usage ## Example Usage
@ -24,7 +24,7 @@ resource "vsphere_file" "ubuntu_disk" {
The following arguments are supported: The following arguments are supported:
* `source_file` - (Required) The path to the file on Terraform host that will be uploaded to vSphere. * `source_file` - (Required) The path to the file on the Terraform host that will be uploaded to vSphere.
* `destination_file` - (Required) The path to where the file should be uploaded to on vSphere. * `destination_file` - (Required) The path to where the file should be uploaded to on vSphere.
* `datacenter` - (Optional) The name of a Datacenter in which the file will be created/uploaded to. * `datacenter` - (Optional) The name of a Datacenter in which the file will be created/uploaded to.
* `datastore` - (Required) The name of the Datastore in which to create/upload the file to. * `datastore` - (Required) The name of the Datastore in which to create/upload the file to.

View File

@ -19,6 +19,9 @@
<li<%= sidebar_current("docs-vsphere-resource-folder") %>> <li<%= sidebar_current("docs-vsphere-resource-folder") %>>
<a href="/docs/providers/vsphere/r/folder.html">vsphere_folder</a> <a href="/docs/providers/vsphere/r/folder.html">vsphere_folder</a>
</li> </li>
<li<%= sidebar_current("docs-vsphere-resource-file") %>>
<a href="/docs/providers/vsphere/r/file.html">vsphere_file</a>
</li>
</ul> </ul>
</li> </li>
</ul> </ul>