github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/vcd/r/snat.html.markdown (about)

     1  ---
     2  layout: "vcd"
     3  page_title: "vCloudDirector: vcd_snat"
     4  sidebar_current: "docs-vcd-resource-snat"
     5  description: |-
     6    Provides a vCloud Director SNAT resource. This can be used to create, modify, and delete source NATs to allow vApps to send external traffic.
     7  ---
     8  
     9  # vcd\_snat
    10  
    11  Provides a vCloud Director SNAT resource. This can be used to create, modify,
    12  and delete source NATs to allow vApps to send external traffic.
    13  
    14  ## Example Usage
    15  
    16  ```hcl
    17  resource "vcd_snat" "outbound" {
    18    edge_gateway = "Edge Gateway Name"
    19    external_ip  = "78.101.10.20"
    20    internal_ip  = "10.10.0.0/24"
    21  }
    22  ```
    23  
    24  ## Argument Reference
    25  
    26  The following arguments are supported:
    27  
    28  * `edge_gateway` - (Required) The name of the edge gateway on which to apply the SNAT
    29  * `external_ip` - (Required) One of the external IPs available on your Edge Gateway
    30  * `internal_ip` - (Required) The IP or IP Range of the VM(s) to map from