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

     1  ---
     2  layout: "alicloud"
     3  page_title: "Alicloud: alicloud_eip"
     4  sidebar_current: "docs-alicloud-resource-eip"
     5  description: |-
     6    Provides a ECS EIP resource.
     7  ---
     8  
     9  # alicloud\_eip
    10  
    11  Provides a ECS EIP resource.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  # Create a new EIP.
    17  resource "alicloud_eip" "example" {
    18    bandwidth            = "10"
    19    internet_charge_type = "PayByBandwidth"
    20  }
    21  ```
    22  ## Argument Reference
    23  
    24  The following arguments are supported:
    25  
    26  * `bandwidth` - (Optional) Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). If this value is not specified, then automatically sets it to 5 Mbps.
    27  * `internet_charge_type` - (Optional, Forces new resource) Internet charge type of the EIP, Valid values are `PayByBandwidth`, `PayByTraffic`. Default is `PayByBandwidth`.
    28  
    29  ## Attributes Reference
    30  
    31  The following attributes are exported:
    32  
    33  * `id` - The EIP ID.
    34  * `bandwidth` - The elastic public network bandwidth.
    35  * `internet_charge_type` - The EIP internet charge type.
    36  * `status` - The EIP current status.
    37  * `ip_address` - The elastic ip address
    38  * `instance` - The ID of the instance which is associated with the EIP.