github.com/jrasell/terraform@v0.6.17-0.20160523115548-2652f5232949/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_id = "6eb22f91-7454-4107-89f4-36afcdf33021"
    18  }
    19  ```
    20  
    21  ## Argument Reference
    22  
    23  The following arguments are supported:
    24  
    25  * `network_id` - (Optional) The 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  * `network` - (Optional, Deprecated) The name or ID of the network for which an IP
    29      addess should be acquired and associated. Changing this forces a new resource
    30      to be created.
    31  
    32  * `vpc_id` - (Optional) The ID of the VPC for which an IP address should be
    33     acquired and associated. Changing this forces a new resource to be created.
    34  
    35  * `vpc` - (Optional, Deprecated) The name or ID of the VPC for which an IP address
    36      should be acquired and associated. Changing this forces a new resource to be
    37      created.
    38  
    39  * `project` - (Optional) The name or ID of the project to deploy this
    40      instance to. Changing this forces a new resource to be created.
    41  
    42  *NOTE: Either `network_id` or `vpc_id` should have a value!*
    43  
    44  ## Attributes Reference
    45  
    46  The following attributes are exported:
    47  
    48  * `id` - The ID of the acquired and associated IP address.
    49  * `ip_address` - The IP address that was acquired and associated.