You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"ecl_network_load_balancer_v2" {
source="./modules/ecl/r/ecl_network_load_balancer_v2"# availability_zone - (optional) is a type of stringavailability_zone=null# default_gateway - (optional) is a type of stringdefault_gateway=null# description - (optional) is a type of stringdescription=null# load_balancer_plan_id - (required) is a type of stringload_balancer_plan_id=null# name - (optional) is a type of stringname=null# tenant_id - (optional) is a type of stringtenant_id=nullinterfaces=[{
description =null
id =null
ip_address =null
name =null
network_id =null
slot_number =null
status =null
virtual_ip_address =null
virtual_ip_properties = [{
protocol =null
vrid =null
}]
}]
syslog_servers=[{
acl_logging =null
appflow_logging =null
date_format =null
description =null
id =null
ip_address =null
log_facility =null
log_level =null
name =null
port_number =null
priority =null
status =null
tcp_logging =null
tenant_id =null
time_zone =null
transport_type =null
user_configurable_log_messages =null
}]
timeouts=[{
create =null
delete =null
update =null
}]
}
resource"ecl_network_load_balancer_v2""this" {
# availability_zone - (optional) is a type of stringavailability_zone=var.availability_zone# default_gateway - (optional) is a type of stringdefault_gateway=var.default_gateway# description - (optional) is a type of stringdescription=var.description# load_balancer_plan_id - (required) is a type of stringload_balancer_plan_id=var.load_balancer_plan_id# name - (optional) is a type of stringname=var.name# tenant_id - (optional) is a type of stringtenant_id=var.tenant_iddynamic"interfaces" {
for_each=var.interfacescontent {
# description - (optional) is a type of stringdescription=interfaces.value["description"]
# ip_address - (optional) is a type of stringip_address=interfaces.value["ip_address"]
# name - (optional) is a type of stringname=interfaces.value["name"]
# network_id - (optional) is a type of stringnetwork_id=interfaces.value["network_id"]
# slot_number - (required) is a type of numberslot_number=interfaces.value["slot_number"]
# virtual_ip_address - (optional) is a type of stringvirtual_ip_address=interfaces.value["virtual_ip_address"]
dynamic"virtual_ip_properties" {
for_each=interfaces.value.virtual_ip_propertiescontent {
# protocol - (required) is a type of stringprotocol=virtual_ip_properties.value["protocol"]
# vrid - (required) is a type of numbervrid=virtual_ip_properties.value["vrid"]
}
}
}
}
dynamic"syslog_servers" {
for_each=var.syslog_serverscontent {
# acl_logging - (optional) is a type of stringacl_logging=syslog_servers.value["acl_logging"]
# appflow_logging - (optional) is a type of stringappflow_logging=syslog_servers.value["appflow_logging"]
# date_format - (optional) is a type of stringdate_format=syslog_servers.value["date_format"]
# description - (optional) is a type of stringdescription=syslog_servers.value["description"]
# ip_address - (required) is a type of stringip_address=syslog_servers.value["ip_address"]
# log_facility - (optional) is a type of stringlog_facility=syslog_servers.value["log_facility"]
# log_level - (optional) is a type of stringlog_level=syslog_servers.value["log_level"]
# name - (required) is a type of stringname=syslog_servers.value["name"]
# port_number - (optional) is a type of numberport_number=syslog_servers.value["port_number"]
# priority - (optional) is a type of numberpriority=syslog_servers.value["priority"]
# tcp_logging - (optional) is a type of stringtcp_logging=syslog_servers.value["tcp_logging"]
# tenant_id - (optional) is a type of stringtenant_id=syslog_servers.value["tenant_id"]
# time_zone - (optional) is a type of stringtime_zone=syslog_servers.value["time_zone"]
# transport_type - (optional) is a type of stringtransport_type=syslog_servers.value["transport_type"]
# user_configurable_log_messages - (optional) is a type of stringuser_configurable_log_messages=syslog_servers.value["user_configurable_log_messages"]
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}