github.com/simonswine/terraform@v0.9.0-beta2/website/source/docs/providers/ultradns/r/probe_ping.html.markdown (about)

     1  ---
     2  layout: "ultradns"
     3  page_title: "UltraDNS: ultradns_probe_ping"
     4  sidebar_current: "docs-ultradns-resource-probe-ping"
     5  description: |-
     6    Provides an UltraDNS Ping Probe
     7  ---
     8  
     9  # ultradns\_probe\_ping
    10  
    11  Provides an UltraDNS ping probe
    12  
    13  ## Example Usage
    14  ```
    15  resource "ultradns_probe_ping" "probe" {
    16    zone        = "${ultradns_tcpool.pool.zone}"
    17    name        = "${ultradns_tcpool.pool.name}"
    18    pool_record = "10.3.0.1"
    19  
    20    agents = ["DALLAS", "AMSTERDAM"]
    21  
    22    interval  = "ONE_MINUTE"
    23    threshold = 1
    24  
    25    ping_probe {
    26      packets     = 15
    27      packet_size = 56
    28  
    29      limit {
    30        name     = "lossPercent"
    31        warning  = 1
    32        critical = 2
    33        fail     = 3
    34      }
    35  
    36      limit {
    37        name     = "total"
    38        warning  = 2
    39        critical = 3
    40        fail     = 4
    41      }
    42    }
    43  }
    44  ```
    45  
    46  ## Argument Reference
    47  
    48  The following arguments are supported:
    49  
    50  * `zone` - (Required) The domain of the pool to probe.
    51  * `name` - (Required) The name of the pool to probe.
    52  - `pool_record` - (optional) IP address or domain. If provided, a record-level probe is created, otherwise a pool-level probe is created.
    53  - `agents` - (Required) List of locations that will be used for probing. One or more values must be specified. Valid values are `"NEW_YORK"`, `"PALO_ALTO"`, `"DALLAS"` & `"AMSTERDAM"`.
    54  - `threshold` - (Required) Number of agents that must agree for a probe state to be changed.
    55  - `ping_probe` - (Required) a Ping Probe block.
    56  - `interval` - (Optional) Length of time between probes in minutes. Valid values are `"HALF_MINUTE"`, `"ONE_MINUTE"`, `"TWO_MINUTES"`, `"FIVE_MINUTES"`, `"TEN_MINUTES"` & `"FIFTEEN_MINUTE"`. Default: `"FIVE_MINUTES"`.
    57  
    58  Ping Probe block
    59  - `packets` - (Optional) Number of ICMP packets to send. Default `3`.
    60  - `packet_size` - (Optional) Size of packets in bytes. Default `56`.
    61  - `limit` - (Required) One or more Limit blocks. Only one limit block may exist for each name.
    62  
    63  Limit block
    64  - `name` - (Required) Kind of limit. Valid values are `"lossPercent"`, `"total"`, `"average"`, `"run"` & `"avgRun"`.
    65  - `warning` - (Optional) Amount to trigger a warning.
    66  - `critical` - (Optional) Amount to trigger a critical.
    67  - `fail` - (Optional) Amount to trigger a failure.