github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/website/source/docs/providers/vcd/r/dnat.html.markdown (about)

     1  ---
     2  layout: "vcd"
     3  page_title: "vCloudDirector: vcd_dnat"
     4  sidebar_current: "docs-vcd-resource-dnat"
     5  description: |-
     6    Provides a vCloud Director DNAT resource. This can be used to create, modify, and delete destination NATs to map external IPs to a VM.
     7  ---
     8  
     9  # vcd\_dnat
    10  
    11  Provides a vCloud Director DNAT resource. This can be used to create, modify,
    12  and delete destination NATs to map an external IP/port to a VM.
    13  
    14  ## Example Usage
    15  
    16  ```
    17  resource "vcd_dnat" "web" {
    18      edge_gateway  = "Edge Gateway Name"
    19      external_ip   = "78.101.10.20"
    20      port          = 80
    21      internal_ip   = "10.10.0.5"
    22  }
    23  ```
    24  
    25  ## Argument Reference
    26  
    27  The following arguments are supported:
    28  
    29  * `edge_gateway` - (Required) The name of the edge gateway on which to apply the DNAT
    30  * `external_ip` - (Required) One of the external IPs available on your Edge Gateway
    31  * `port` - (Required) The port number to map
    32  * `internal_ip` - (Required) The IP of the VM to map to