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"nsxt_lb_udp_virtual_server" {
source="./modules/nsxt/r/nsxt_lb_udp_virtual_server"# access_log_enabled - (optional) is a type of boolaccess_log_enabled=null# application_profile_id - (required) is a type of stringapplication_profile_id=null# default_pool_member_ports - (optional) is a type of list of stringdefault_pool_member_ports=[]
# description - (optional) is a type of stringdescription=null# display_name - (optional) is a type of stringdisplay_name=null# enabled - (optional) is a type of boolenabled=null# ip_address - (required) is a type of stringip_address=null# max_concurrent_connections - (optional) is a type of numbermax_concurrent_connections=null# max_new_connection_rate - (optional) is a type of numbermax_new_connection_rate=null# persistence_profile_id - (optional) is a type of stringpersistence_profile_id=null# pool_id - (optional) is a type of stringpool_id=null# ports - (required) is a type of list of stringports=[]
# sorry_pool_id - (optional) is a type of stringsorry_pool_id=nulltag=[{
scope =null
tag =null
}]
}
variable"access_log_enabled" {
description="(optional) - Whether access log is enabled"type=booldefault=null
}
variable"application_profile_id" {
description="(required) - The tcp application profile defines the application protocol characteristics"type=string
}
variable"default_pool_member_ports" {
description="(optional) - Default pool member ports or port range"type=list(string)
default=null
}
variable"description" {
description="(optional) - Description of this resource"type=stringdefault=null
}
variable"display_name" {
description="(optional) - The display name of this resource. Defaults to ID if not set"type=stringdefault=null
}
variable"enabled" {
description="(optional) - whether the virtual server is enabled"type=booldefault=null
}
variable"ip_address" {
description="(required) - virtual server IP address"type=string
}
variable"max_concurrent_connections" {
description="(optional) - If not specified, connections are unlimited"type=numberdefault=null
}
variable"max_new_connection_rate" {
description="(optional) - If not specified, connection rate is unlimited"type=numberdefault=null
}
variable"persistence_profile_id" {
description="(optional) - Persistence profile is used to allow related client connections to be sent to the same backend server. Source ip persistence is supported."type=stringdefault=null
}
variable"pool_id" {
description="(optional) - Server pool for backend connections"type=stringdefault=null
}
variable"ports" {
description="(required) - Single port, multiple ports or port ranges"type=list(string)
}
variable"sorry_pool_id" {
description="(optional) - When load balancer can not select a backend server to serve the request in default pool, the request would be served by sorry server pool"type=stringdefault=null
}
variable"tag" {
description="nested block: NestingSet, min items: 0, max items: 0"type=set(object(
{
scope =string
tag =string
}
))
default=[]
}
resource"nsxt_lb_udp_virtual_server""this" {
# access_log_enabled - (optional) is a type of boolaccess_log_enabled=var.access_log_enabled# application_profile_id - (required) is a type of stringapplication_profile_id=var.application_profile_id# default_pool_member_ports - (optional) is a type of list of stringdefault_pool_member_ports=var.default_pool_member_ports# description - (optional) is a type of stringdescription=var.description# display_name - (optional) is a type of stringdisplay_name=var.display_name# enabled - (optional) is a type of boolenabled=var.enabled# ip_address - (required) is a type of stringip_address=var.ip_address# max_concurrent_connections - (optional) is a type of numbermax_concurrent_connections=var.max_concurrent_connections# max_new_connection_rate - (optional) is a type of numbermax_new_connection_rate=var.max_new_connection_rate# persistence_profile_id - (optional) is a type of stringpersistence_profile_id=var.persistence_profile_id# pool_id - (optional) is a type of stringpool_id=var.pool_id# ports - (required) is a type of list of stringports=var.ports# sorry_pool_id - (optional) is a type of stringsorry_pool_id=var.sorry_pool_iddynamic"tag" {
for_each=var.tagcontent {
# scope - (optional) is a type of stringscope=tag.value["scope"]
# tag - (optional) is a type of stringtag=tag.value["tag"]
}
}
}