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

     1  ---
     2  layout: "ultradns"
     3  page_title: "UltraDNS: ultradns_probe_http"
     4  sidebar_current: "docs-ultradns-resource-probe-http"
     5  description: |-
     6    Provides an UltraDNS HTTP probe
     7  ---
     8  
     9  # ultradns\_probe\_http
    10  
    11  Provides an UltraDNS HTTP probe
    12  
    13  ## Example Usage
    14  ```
    15  resource "ultradns_probe_http" "probe" {
    16    zone        = "${ultradns_tcpool.pool.zone}"
    17    name        = "${ultradns_tcpool.pool.name}"
    18    pool_record = "10.2.1.1"
    19  
    20    agents = ["DALLAS", "AMSTERDAM"]
    21  
    22    interval  = "ONE_MINUTE"
    23    threshold = 1
    24  
    25    http_probe {
    26      transaction {
    27        method           = "POST"
    28        url              = "http://localhost/index"
    29        transmitted_data = "{}"
    30        follow_redirects = true
    31  
    32        limit {
    33          name = "run"
    34  
    35          warning  = 1
    36          critical = 2
    37          fail     = 3
    38        }
    39  
    40        limit {
    41          name = "avgConnect"
    42  
    43          warning  = 4
    44          critical = 5
    45          fail     = 6
    46        }
    47  
    48        limit {
    49          name = "avgRun"
    50  
    51          warning  = 7
    52          critical = 8
    53          fail     = 9
    54        }
    55  
    56        limit {
    57          name = "connect"
    58  
    59          warning  = 10
    60          critical = 11
    61          fail     = 12
    62        }
    63      }
    64  
    65      total_limits {
    66        warning  = 13
    67        critical = 14
    68        fail     = 15
    69      }
    70    }
    71  }
    72  ```
    73  
    74  ## Argument Reference
    75  
    76  The following arguments are supported:
    77  
    78  * `zone` - (Required) The domain of the pool to probe.
    79  * `name` - (Required) The name of the pool to probe.
    80  - `pool_record` - (optional) IP address or domain. If provided, a record-level probe is created, otherwise a pool-level probe is created.
    81  - `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"`.
    82  - `threshold` - (Required) Number of agents that must agree for a probe state to be changed.
    83  - `http_probe` - (Required) an HTTP Probe block.
    84  - `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"`.
    85  
    86  HTTP Probe block
    87  - `transaction` - (Optional) One or more Transaction blocks.
    88  - `total_limits` - (Optional) A Limit block, but with no `name` attribute.
    89  
    90  Transaction block
    91  - `method` - (Required) HTTP method. Valid values are`"GET"`, `"POST"`.
    92  - `url` - (Required) URL to probe.
    93  - `transmitted_data` - (Optional) Data to send to URL.
    94  - `follow_redirects` - (Optional) Whether to follow redirects.
    95  - `limit` - (Required) One or more Limit blocks. Only one limit block may exist for each name.
    96  
    97  Limit block
    98  - `name` - (Required) Kind of limit. Valid values are `"lossPercent"`, `"total"`, `"average"`, `"run"` & `"avgRun"`.
    99  - `warning` - (Optional) Amount to trigger a warning.
   100  - `critical` - (Optional) Amount to trigger a critical.
   101  - `fail` - (Optional) Amount to trigger a failure.