github.com/atsaki/terraform@v0.4.3-0.20150919165407-25bba5967654/website/source/docs/providers/cloudstack/r/ipaddress.html.markdown (about)

     1  ---
     2  layout: "cloudstack"
     3  page_title: "CloudStack: cloudstack_ipaddress"
     4  sidebar_current: "docs-cloudstack-resource-ipaddress"
     5  description: |-
     6    Acquires and associates a public IP.
     7  ---
     8  
     9  # cloudstack\_ipaddress
    10  
    11  Acquires and associates a public IP.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "cloudstack_ipaddress" "default" {
    17    network = "test-network"
    18  }
    19  ```
    20  
    21  ## Argument Reference
    22  
    23  The following arguments are supported:
    24  
    25  * `network` - (Optional) The name or ID of the network for which an IP address should
    26      be acquired and associated. Changing this forces a new resource to be created.
    27  
    28  * `vpc` - (Optional) The name or ID of the VPC for which an IP address should
    29      be acquired and associated. Changing this forces a new resource to be created.
    30  
    31  * `project` - (Optional) The name or ID of the project to deploy this
    32      instance to. Changing this forces a new resource to be created.
    33  
    34  *NOTE: Either `network` or `vpc` should have a value!*
    35  
    36  ## Attributes Reference
    37  
    38  The following attributes are exported:
    39  
    40  * `id` - The ID of the acquired and associated IP address.
    41  * `ipaddress` - The IP address that was acquired and associated.