github.com/simonswine/terraform@v0.9.0-beta2/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  # Create a Directional Controller pool
    16  resource "ultradns_dirpool" "pool" {
    17    zone        = "${var.ultradns_domain}"
    18    name        = "terraform-dirpool"
    19    ttl         = 300
    20    description = "Minimal DirPool"
    21  
    22    rdata {
    23      host = "192.168.0.10"
    24    }
    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  - `type` - (Required) The Record Type of the record
    37  * `description` - (Required) Description of the Traffic Controller pool. Valid values are strings less than 256 characters.
    38  * `rdata` - (Required) a list of Record Data blocks, one for each member in the pool. Record Data documented below.
    39  * `ttl` - (Optional) The TTL of the record. Default: `3600`.
    40  * `conflict_resolve` - (Optional) String. Valid: `"GEO"` or `"IP"`. Default: `"GEO"`.
    41  * `no_response` - (Optional) a single Record Data block, without any `host` attribute. Record Data documented below.
    42  
    43  Record Data blocks support the following:
    44  
    45  * `host` - (Required in `rdata`, absent in `no_response`) IPv4 address or CNAME for the pool member.
    46  - `all_non_configured` - (Optional) Boolean. Default: `false`.
    47  - `geo_info` - (Optional) a single Geo Info block. Geo Info documented below.
    48  - `ip_info` - (Optional) a single IP Info block. IP Info documented below.
    49  
    50  
    51  Geo Info blocks support the following:
    52  
    53  - `name` - (Optional) String.
    54  - `is_account_level` - (Optional) Boolean. Default: `false`.
    55  - `codes` - (Optional) Set of geo code strings. Shorthand codes are expanded.
    56  
    57  IP Info blocks support the following:
    58  
    59  - `name` - (Optional) String.
    60  - `is_account_level` - (Optional) Boolean. Default: `false`.
    61  - `ips` - (Optional) Set of IP blocks. IP Info documented below.
    62  
    63  IP blocks support the following:
    64  - `start` - (Optional) String. IP Address. Must be paired with `end`. Conflicts with `cidr` or `address`.
    65  - `end` - (Optional) String. IP Address. Must be paired with `start`.
    66  - `cidr` - (Optional) String.
    67  - `address` - (Optional) String. IP Address.
    68  
    69  ## Attributes Reference
    70  
    71  The following attributes are exported:
    72  
    73  * `id` - The record ID
    74  * `hostname` - The FQDN of the record