NetworkLoadBalancerProperties
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewNetworkLoadBalancerProperties(name string, listenerLan int32, targetLan int32, ) *NetworkLoadBalancerProperties
NewNetworkLoadBalancerProperties instantiates a new NetworkLoadBalancerProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNetworkLoadBalancerPropertiesWithDefaults() *NetworkLoadBalancerProperties
NewNetworkLoadBalancerPropertiesWithDefaults instantiates a new NetworkLoadBalancerProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *NetworkLoadBalancerProperties) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *NetworkLoadBalancerProperties) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkLoadBalancerProperties) SetName(v string)
SetName sets Name field to given value.
func (o *NetworkLoadBalancerProperties) GetListenerLan() int32
GetListenerLan returns the ListenerLan field if non-nil, zero value otherwise.
func (o *NetworkLoadBalancerProperties) GetListenerLanOk() (*int32, bool)
GetListenerLanOk returns a tuple with the ListenerLan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkLoadBalancerProperties) SetListenerLan(v int32)
SetListenerLan sets ListenerLan field to given value.
func (o *NetworkLoadBalancerProperties) GetIps() []string
GetIps returns the Ips field if non-nil, zero value otherwise.
func (o *NetworkLoadBalancerProperties) GetIpsOk() (*[]string, bool)
GetIpsOk returns a tuple with the Ips field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkLoadBalancerProperties) SetIps(v []string)
SetIps sets Ips field to given value.
func (o *NetworkLoadBalancerProperties) HasIps() bool
HasIps returns a boolean if a field has been set.
func (o *NetworkLoadBalancerProperties) GetTargetLan() int32
GetTargetLan returns the TargetLan field if non-nil, zero value otherwise.
func (o *NetworkLoadBalancerProperties) GetTargetLanOk() (*int32, bool)
GetTargetLanOk returns a tuple with the TargetLan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkLoadBalancerProperties) SetTargetLan(v int32)
SetTargetLan sets TargetLan field to given value.
func (o *NetworkLoadBalancerProperties) GetLbPrivateIps() []string
GetLbPrivateIps returns the LbPrivateIps field if non-nil, zero value otherwise.
func (o *NetworkLoadBalancerProperties) GetLbPrivateIpsOk() (*[]string, bool)
GetLbPrivateIpsOk returns a tuple with the LbPrivateIps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkLoadBalancerProperties) SetLbPrivateIps(v []string)
SetLbPrivateIps sets LbPrivateIps field to given value.
func (o *NetworkLoadBalancerProperties) HasLbPrivateIps() bool
HasLbPrivateIps returns a boolean if a field has been set.
Name
string
The name of the Network Load Balancer.
ListenerLan
int32
ID of the listening LAN (inbound).
Ips
Pointer to []string
Collection of the Network Load Balancer IP addresses. (Inbound and outbound) IPs of the listenerLan must be customer-reserved IPs for public Load Balancers, and private IPs for private Load Balancers.
[optional]
TargetLan
int32
ID of the balanced private target LAN (outbound).
LbPrivateIps
Pointer to []string
Collection of private IP addresses with subnet mask of the Network Load Balancer. IPs must contain a valid subnet mask. If no IP is provided, the system will generate an IP with /24 subnet.
[optional]