github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/loadbalancer/lb_snat_ip_element.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 LbSnatIpElement struct {
    13  
    14  	// Ip address or ip range such as 1.1.1.1 or 1.1.1.101-1.1.1.160
    15  	IpAddress string `json:"ip_address"`
    16  
    17  	// Subnet prefix length should be not specified if there is only one single IP address or IP range.
    18  	PrefixLength int64 `json:"prefix_length,omitempty"`
    19  }