arvancloud_cdn_domain_load_balancer (Resource)
Domain's Load Balancer.
Example Usage
resource "arvancloud_cdn_domain_load_balancer" "example" {
domain = "cdn-terraform.ir"
name = "from-terraform"
description = "An example load balancer"
status = true
method = "cluster_rr"
time_slice = "10s"
}
Schema
Required
domain
(String) UUID or the name of the domain.method
(String)name
(String)status
(Boolean)time_slice
(String)
Optional
description
(String)id
(String) UUID of the load balancer.
Read-Only
last_updated
(String) Timestamp of the last Terraform update of the domain.
Import
Import is supported using the following syntax:
terraform import arvancloud_cdn_domain_load_balancer.example cdn-terraform.ir,1a700f5a-acef-4786-9192-4960dcf18449
terraform import arvancloud_cdn_domain_load_balancer_pool.example cdn-terraform.ir,1a700f5a-acef-4786-9192-4960dcf18449,b0f19e8c-3612-452d-940b-05cb10f02ba1
terraform import arvancloud_cdn_domain_load_balancer_pool_origin.first-origin cdn-terraform.ir,1a700f5a-acef-4786-9192-4960dcf18449,b0f19e8c-3612-452d-940b-05cb10f02ba1,7b406e15-9335-4f5d-bddd-ffd07473728a
terraform import arvancloud_cdn_domain_active_health_check.example cdn-terraform.ir,1a700f5a-acef-4786-9192-4960dcf18449