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

     1  ---
     2  layout: "ultradns"
     3  page_title: "UltraDNS: ultradns_rdpool"
     4  sidebar_current: "docs-ultradns-resource-rdpool"
     5  description: |-
     6    Provides an UltraDNS Resource Distribution pool resource.
     7  ---
     8  
     9  # ultradns\_rdpool
    10  
    11  Provides an UltraDNS Resource Distribution (RD) pool resource, which are
    12  used to define rules for returning multiple A or AAAA records for a given owner name. Ordering can be FIXED, RANDOM or ROUND_ROBIN.
    13  
    14  ## Example Usage
    15  ```
    16  # Create a Resource Distribution pool
    17  
    18  resource "ultradns_rdpool" "pool" {
    19    zone        = "${var.ultradns_domain}"
    20    name        = "terraform-rdpool"
    21    ttl         = 600
    22    description = "Example RD Pool"
    23    order       = "ROUND_ROBIN"
    24    rdata       = [ "192.168.0.10", "192.168.0.11" ]
    25  }
    26  ```
    27  
    28  ## Argument Reference
    29  
    30  See [related part of UltraDNS Docs](https://restapi.ultradns.com/v1/docs#post-rrset) for details about valid values.
    31  
    32  The following arguments are supported:
    33  
    34  * `zone` - (Required) The domain to add the record to
    35  * `name` - (Required) The name of the record
    36  * `rdata` - (Required) list ip addresses.
    37  * `order` - (Optional) Ordering rule, one of FIXED, RANDOM or ROUND_ROBIN. Default: 'ROUND_ROBIN'.
    38  * `description` - (Optional) Description of the Resource Distribution pool. Valid values are strings less than 256 characters.
    39  * `ttl` - (Optional) The TTL of the pool in seconds. Default: `3600`.
    40  
    41  ## Attributes Reference
    42  
    43  The following attributes are exported:
    44  
    45  * `id` - The record ID
    46  * `hostname` - The FQDN of the record