Resource
akamai_gtm_resource
The akamai_gtm_resource lets you create, configure, and import a GTM resource. In GTM, a resource is anything you can measure whose scarcity affects load balancing. Examples of resources include bandwidth, CPU load average, database queries per second, or disk operations per second.
resource "akamai_gtm_resource" "demo_resource" {
    domain = "demo_domain.akadns.net"
    name = "demo_resource"
    aggregation_type = "latest"
    type = "XML load object via HTTP"
}
Arguments
| Argument | Required | Description | 
|---|---|---|
domain | ✔ | DNS name for the GTM Domain set that includes this property. | 
name | ✔ | A descriptive label for the GTM resource. | 
aggregation_type | ✔ | Specifies how GTM handles different load numbers when multiple load servers are used for a data center or property. | 
type | ✔ | Indicates the kind of load_object format used to determine the load on the resource. | 
wait_on_complete | A boolean indicating whether to wait for transaction to complete. Set to true by default. | |
resource_instance | Contains information about the resources that constrain the properties within the data center. You can have multiple resource_instance entries. Contains:
  | |
use_default_load_object | A boolean that indicates whether a default load_object is used for the resources. | |
host_header | Optionally specifies the host header used when fetching the load object. | |
upper_bound | The maximum allowed value for any component of the load object. | |
description | A descriptive note to help you track what the resource constrains. | |
leader_string | Specifies the text that comes before the load_object. | |
constrained_property | Specifies the name of the property that this resource constrains, enter ** to constrain all properties. | |
load_imbalance_percent | Indicates the percent of load imbalance factor (LIF) for the property. | 
Updated 21 days ago
