github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/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  ```hcl
    16  resource "ultradns_probe_ping" "probe" {
    17    zone        = "${ultradns_tcpool.pool.zone}"
    18    name        = "${ultradns_tcpool.pool.name}"
    19    pool_record = "10.3.0.1"
    20  
    21    agents = ["DALLAS", "AMSTERDAM"]
    22  
    23    interval  = "ONE_MINUTE"
    24    threshold = 1
    25  
    26    ping_probe {
    27      packets     = 15
    28      packet_size = 56
    29  
    30      limit {
    31        name     = "lossPercent"
    32        warning  = 1
    33        critical = 2
    34        fail     = 3
    35      }
    36  
    37      limit {
    38        name     = "total"
    39        warning  = 2
    40        critical = 3
    41        fail     = 4
    42      }
    43    }
    44  }
    45  ```
    46  
    47  ## Argument Reference
    48  
    49  The following arguments are supported:
    50  
    51  * `zone` - (Required) The domain of the pool to probe.
    52  * `name` - (Required) The name of the pool to probe.
    53  - `pool_record` - (optional) IP address or domain. If provided, a record-level probe is created, otherwise a pool-level probe is created.
    54  - `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"`.
    55  - `threshold` - (Required) Number of agents that must agree for a probe state to be changed.
    56  - `ping_probe` - (Required) a Ping Probe block.
    57  - `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"`.
    58  
    59  Ping Probe block
    60  - `packets` - (Optional) Number of ICMP packets to send. Default `3`.
    61  - `packet_size` - (Optional) Size of packets in bytes. Default `56`.
    62  - `limit` - (Required) One or more Limit blocks. Only one limit block may exist for each name.
    63  
    64  Limit block
    65  - `name` - (Required) Kind of limit. Valid values are `"lossPercent"`, `"total"`, `"average"`, `"run"` & `"avgRun"`.
    66  - `warning` - (Optional) Amount to trigger a warning.
    67  - `critical` - (Optional) Amount to trigger a critical.
    68  - `fail` - (Optional) Amount to trigger a failure.