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

     1  ---
     2  layout: "ultradns"
     3  page_title: "UltraDNS: ultradns_dirpool"
     4  sidebar_current: "docs-ultradns-resource-dirpool"
     5  description: |-
     6    Provides an UltraDNS Directional Controller pool resource.
     7  ---
     8  
     9  # ultradns\_dirpool
    10  
    11  Provides an UltraDNS Directional Controller pool resource.
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  # Create a Directional Controller pool
    17  resource "ultradns_dirpool" "pool" {
    18    zone        = "${var.ultradns_domain}"
    19    name        = "terraform-dirpool"
    20    ttl         = 300
    21    description = "Minimal DirPool"
    22  
    23    rdata {
    24      host = "192.168.0.10"
    25    }
    26  }
    27  ```
    28  
    29  ## Argument Reference
    30  
    31  See [related part of UltraDNS Docs](https://restapi.ultradns.com/v1/docs#post-rrset) for details about valid values.
    32  
    33  The following arguments are supported:
    34  
    35  * `zone` - (Required) The domain to add the record to
    36  * `name` - (Required) The name of the record
    37  - `type` - (Required) The Record Type of the record
    38  * `description` - (Required) Description of the Traffic Controller pool. Valid values are strings less than 256 characters.
    39  * `rdata` - (Required) a list of Record Data blocks, one for each member in the pool. Record Data documented below.
    40  * `ttl` - (Optional) The TTL of the record. Default: `3600`.
    41  * `conflict_resolve` - (Optional) String. Valid: `"GEO"` or `"IP"`. Default: `"GEO"`.
    42  * `no_response` - (Optional) a single Record Data block, without any `host` attribute. Record Data documented below.
    43  
    44  Record Data blocks support the following:
    45  
    46  * `host` - (Required in `rdata`, absent in `no_response`) IPv4 address or CNAME for the pool member.
    47  - `all_non_configured` - (Optional) Boolean. Default: `false`.
    48  - `geo_info` - (Optional) a single Geo Info block. Geo Info documented below.
    49  - `ip_info` - (Optional) a single IP Info block. IP Info documented below.
    50  
    51  
    52  Geo Info blocks support the following:
    53  
    54  - `name` - (Optional) String.
    55  - `is_account_level` - (Optional) Boolean. Default: `false`.
    56  - `codes` - (Optional) Set of geo code strings. Shorthand codes are expanded.
    57  
    58  IP Info blocks support the following:
    59  
    60  - `name` - (Optional) String.
    61  - `is_account_level` - (Optional) Boolean. Default: `false`.
    62  - `ips` - (Optional) Set of IP blocks. IP Info documented below.
    63  
    64  IP blocks support the following:
    65  - `start` - (Optional) String. IP Address. Must be paired with `end`. Conflicts with `cidr` or `address`.
    66  - `end` - (Optional) String. IP Address. Must be paired with `start`.
    67  - `cidr` - (Optional) String.
    68  - `address` - (Optional) String. IP Address.
    69  
    70  ## Attributes Reference
    71  
    72  The following attributes are exported:
    73  
    74  * `id` - The record ID
    75  * `hostname` - The FQDN of the record