mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
rdpool doc
This commit is contained in:
parent
1b841e77de
commit
a8b8404589
@ -0,0 +1,46 @@
|
||||
---
|
||||
layout: "ultradns"
|
||||
page_title: "UltraDNS: ultradns_rdpool"
|
||||
sidebar_current: "docs-ultradns-resource-rdpool"
|
||||
description: |-
|
||||
Provides an UltraDNS Resource Distribution pool resource.
|
||||
---
|
||||
|
||||
# ultradns\_rdpool
|
||||
|
||||
Provides an UltraDNS Resource Distribution (RD) pool resource, which are
|
||||
used to define rules for returning multiple A or AAAA records for a given owner name. Ordering can be FIXED, RANDOM or ROUND_ROBIN.
|
||||
|
||||
## Example Usage
|
||||
```
|
||||
# Create a Resource Distribution pool
|
||||
|
||||
resource "ultradns_rdpool" "pool" {
|
||||
zone = "${var.ultradns_domain}"
|
||||
name = "terraform-rdpool"
|
||||
ttl = 600
|
||||
description = "Example RD Pool"
|
||||
order = "ROUND_ROBIN"
|
||||
rdata = [ "192.168.0.10", "192.168.0.11" ]
|
||||
}
|
||||
```
|
||||
|
||||
## Argument Reference
|
||||
|
||||
See [related part of UltraDNS Docs](https://restapi.ultradns.com/v1/docs#post-rrset) for details about valid values.
|
||||
|
||||
The following arguments are supported:
|
||||
|
||||
* `zone` - (Required) The domain to add the record to
|
||||
* `name` - (Required) The name of the record
|
||||
* `order` - (Required) Ordering rule, one of FIXED, RANDOM or ROUND_ROBIN
|
||||
* `rdata` - (Required) list ip addresses.
|
||||
* `description` - (Optional) Description of the Resource Distribution pool. Valid values are strings less than 256 characters.
|
||||
* `ttl` - (Optional) The TTL of the pool in seconds. Default: `3600`.
|
||||
|
||||
## Attributes Reference
|
||||
|
||||
The following attributes are exported:
|
||||
|
||||
* `id` - The record ID
|
||||
* `hostname` - The FQDN of the record
|
Loading…
Reference in New Issue
Block a user