Edge hostname
BetaHello. Just a note to let you know the underlying API on which this data source is built is general release and has been vetted, but because this is a new feature for our Terraform provider, we've given it beta label.
This status just means we've paused for a bit to get your feedback to make sure this data source works like you need and expect.
Get details of an edge hostname.
- To assign an edge hostnames to a property, use the
akamai_propertyresource. - To modify an existing edge hostname or delete any that aren't currently assigned to an active property configuration, use the
akamai_edge_hostnameresource.
data "akamai_edge_hostname" "my-edge-hostname" {
id = "98765"
contract_id = "C-0N7RAC7"
group_id = "12345"
}
output "my-edge-hostname" {
value = data.akamai_edge_hostname.my-edge-hostname
}my-edge-hostname = {
account_id = "act_A-CCT1234"
contract_id = "C-0N7RAC7"
edge_hostname = {
domain_prefix = "example.com"
domain_suffix = "edgesuite.net"
edge_hostname_domain = "example.com.edgesuite.net"
edge_hostname_id = "ehn_98765"
https_service_binding = null
ip_version_behaviour = "IPV4"
product_id = "prd_Download_Delivery"
secure = false
status = "CREATED"
use_cases = [
{
option = "BACKGROUND"
type = "GLOBAL"
use_case = "Download_Mode"
},
]
}
group_id = "12345"
id = "98765"
options = null
}Arguments
Pass your edge hostname, contract, and group IDs in the data block to get the edge hostname's details.
| Name | Required | Description |
|---|---|---|
id | ✔ | Your edge hostname's ID. |
contract_id | ✔ | Your contract's ID. |
group_id | ✔ | Your group's ID. |
options | Optional query parameters that enable extra mapping-related information. Currently, the only supported option is mapDetails. |
Attributes
Returned to you are the account and edge hostname's details.
| Name | Description |
|---|---|
account_id |
The account's ID. |
edge_hostname |
The details of the requested edge hostname.
|
Updated 14 days ago
