github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/loadbalancer/pool_member.go (about)

     1  /*
     2   * NSX API
     3   *
     4   * VMware NSX REST API
     5   *
     6   * API version: 1.0.0
     7   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     8   */
     9  
    10  package loadbalancer
    11  
    12  type PoolMember struct {
    13  
    14  	// member admin state
    15  	AdminState string `json:"admin_state,omitempty"`
    16  
    17  	// Backup servers are typically configured with a sorry page indicating to the user that the application is currently unavailable. While the pool is active (a specified minimum number of pool members are active) BACKUP members are skipped during server selection. When the pool is inactive, incoming connections are sent to only the BACKUP member(s).
    18  	BackupMember bool `json:"backup_member"`
    19  
    20  	// pool member name
    21  	DisplayName string `json:"display_name,omitempty"`
    22  
    23  	// pool member IP address
    24  	IpAddress string `json:"ip_address"`
    25  
    26  	// To ensure members are not overloaded, connections to a member can be capped by the load balancer. When a member reaches this limit, it is skipped during server selection. If it is not specified, it means that connections are unlimited.
    27  	MaxConcurrentConnections int64 `json:"max_concurrent_connections,omitempty"`
    28  
    29  	// If port is specified, all connections will be sent to this port. Only single port is supported. If unset, the same port the client connected to will be used, it could be overrode by default_pool_member_port setting in virtual server. The port should not specified for port range case.
    30  	Port string `json:"port,omitempty"`
    31  
    32  	// Pool member weight is used for WEIGHTED_ROUND_ROBIN balancing algorithm. The weight value would be ignored in other algorithms.
    33  	Weight int64 `json:"weight,omitempty"`
    34  }