NetworkLoadBalancerForwardingRuleProperties
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewNetworkLoadBalancerForwardingRuleProperties(algorithm string, listenerIp string, listenerPort int32, name string, protocol string, targets []NetworkLoadBalancerForwardingRuleTarget, ) *NetworkLoadBalancerForwardingRuleProperties
NewNetworkLoadBalancerForwardingRuleProperties instantiates a new NetworkLoadBalancerForwardingRuleProperties 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 NewNetworkLoadBalancerForwardingRulePropertiesWithDefaults() *NetworkLoadBalancerForwardingRuleProperties
NewNetworkLoadBalancerForwardingRulePropertiesWithDefaults instantiates a new NetworkLoadBalancerForwardingRuleProperties 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 *NetworkLoadBalancerForwardingRuleProperties) GetAlgorithm() string
GetAlgorithm returns the Algorithm field if non-nil, zero value otherwise.
func (o *NetworkLoadBalancerForwardingRuleProperties) GetAlgorithmOk() (*string, bool)
GetAlgorithmOk returns a tuple with the Algorithm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkLoadBalancerForwardingRuleProperties) SetAlgorithm(v string)
SetAlgorithm sets Algorithm field to given value.
func (o *NetworkLoadBalancerForwardingRuleProperties) GetHealthCheck() NetworkLoadBalancerForwardingRuleHealthCheck
GetHealthCheck returns the HealthCheck field if non-nil, zero value otherwise.
func (o *NetworkLoadBalancerForwardingRuleProperties) GetHealthCheckOk() (*NetworkLoadBalancerForwardingRuleHealthCheck, bool)
GetHealthCheckOk returns a tuple with the HealthCheck field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkLoadBalancerForwardingRuleProperties) SetHealthCheck(v NetworkLoadBalancerForwardingRuleHealthCheck)
SetHealthCheck sets HealthCheck field to given value.
func (o *NetworkLoadBalancerForwardingRuleProperties) HasHealthCheck() bool
HasHealthCheck returns a boolean if a field has been set.
func (o *NetworkLoadBalancerForwardingRuleProperties) GetListenerIp() string
GetListenerIp returns the ListenerIp field if non-nil, zero value otherwise.
func (o *NetworkLoadBalancerForwardingRuleProperties) GetListenerIpOk() (*string, bool)
GetListenerIpOk returns a tuple with the ListenerIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkLoadBalancerForwardingRuleProperties) SetListenerIp(v string)
SetListenerIp sets ListenerIp field to given value.
func (o *NetworkLoadBalancerForwardingRuleProperties) GetListenerPort() int32
GetListenerPort returns the ListenerPort field if non-nil, zero value otherwise.
func (o *NetworkLoadBalancerForwardingRuleProperties) GetListenerPortOk() (*int32, bool)
GetListenerPortOk returns a tuple with the ListenerPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkLoadBalancerForwardingRuleProperties) SetListenerPort(v int32)
SetListenerPort sets ListenerPort field to given value.
func (o *NetworkLoadBalancerForwardingRuleProperties) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *NetworkLoadBalancerForwardingRuleProperties) 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 *NetworkLoadBalancerForwardingRuleProperties) SetName(v string)
SetName sets Name field to given value.
func (o *NetworkLoadBalancerForwardingRuleProperties) GetProtocol() string
GetProtocol returns the Protocol field if non-nil, zero value otherwise.
func (o *NetworkLoadBalancerForwardingRuleProperties) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkLoadBalancerForwardingRuleProperties) SetProtocol(v string)
SetProtocol sets Protocol field to given value.
func (o *NetworkLoadBalancerForwardingRuleProperties) GetTargets() []NetworkLoadBalancerForwardingRuleTarget
GetTargets returns the Targets field if non-nil, zero value otherwise.
func (o *NetworkLoadBalancerForwardingRuleProperties) GetTargetsOk() (*[]NetworkLoadBalancerForwardingRuleTarget, bool)
GetTargetsOk returns a tuple with the Targets field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkLoadBalancerForwardingRuleProperties) SetTargets(v []NetworkLoadBalancerForwardingRuleTarget)
SetTargets sets Targets field to given value.
Algorithm
string
Balancing algorithm
HealthCheck
Pointer to NetworkLoadBalancerForwardingRuleHealthCheck
[optional]
ListenerIp
string
Listening (inbound) IP.
ListenerPort
int32
Listening (inbound) port number; valid range is 1 to 65535.
Name
string
The name of the Network Load Balancer forwarding rule.
Protocol
string
Balancing protocol
Targets
Array of items in the collection.