github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/loadbalancer/pool_member_group.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  import (
    13  	"github.com/vmware/go-vmware-nsxt/common"
    14  )
    15  
    16  type PoolMemberGroup struct {
    17  
    18  	// The list is used to show the customized pool member settings. User can only user pool member action API to update the admin state for a specific IP address.
    19  	CustomizedMembers []PoolMemberSetting `json:"customized_members,omitempty"`
    20  
    21  	// Load balancer pool support grouping object as dynamic pool members. The IP list of the grouping object such as NSGroup would be used as pool member IP setting.
    22  	GroupingObject *common.ResourceReference `json:"grouping_object"`
    23  
    24  	// Ip revision filter is used to filter IPv4 or IPv6 addresses from the grouping object. If the filter is not specified, both IPv4 and IPv6 addresses would be used as server IPs. The link local and loopback addresses would be always filtered out.
    25  	IpRevisionFilter string `json:"ip_revision_filter,omitempty"`
    26  
    27  	// The size is used to define the maximum number of grouping object IP address list. These IP addresses would be used as pool members. If the grouping object includes more than certain number of IP addresses, the redundant parts would be ignored and those IP addresses would not be treated as pool members.
    28          // In order to destinguish between zero and unspecified value, use pointer
    29  	MaxIpListSize *int64 `json:"max_ip_list_size,omitempty"`
    30  
    31  	// If port is specified, all connections will be sent to this port. If unset, the same port the client connected to will be used, it could be overridden by default_pool_member_ports setting in virtual server. The port should not specified for multiple ports case.
    32  	Port int32 `json:"port,omitempty"`
    33  }