File: NetworkLoadBalancerProperties.md

package info (click to toggle)
golang-github-ionos-cloud-sdk-go 6.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,360 kB
  • sloc: sh: 35; makefile: 3
file content (195 lines) | stat: -rw-r--r-- 6,324 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
# NetworkLoadBalancerProperties

## Properties

|Name | Type | Description | Notes|
|------------ | ------------- | ------------- | -------------|
|**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] |
|**CentralLogging** | Pointer to **bool** | Turn logging on and off for this product. Default value is 'false'. | [optional] |
|**LoggingFormat** | Pointer to **string** | Specifies the format of the logs. | [optional] |

## Methods

### NewNetworkLoadBalancerProperties

`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

### NewNetworkLoadBalancerPropertiesWithDefaults

`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

### GetName

`func (o *NetworkLoadBalancerProperties) GetName() string`

GetName returns the Name field if non-nil, zero value otherwise.

### GetNameOk

`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.

### SetName

`func (o *NetworkLoadBalancerProperties) SetName(v string)`

SetName sets Name field to given value.


### GetListenerLan

`func (o *NetworkLoadBalancerProperties) GetListenerLan() int32`

GetListenerLan returns the ListenerLan field if non-nil, zero value otherwise.

### GetListenerLanOk

`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.

### SetListenerLan

`func (o *NetworkLoadBalancerProperties) SetListenerLan(v int32)`

SetListenerLan sets ListenerLan field to given value.


### GetIps

`func (o *NetworkLoadBalancerProperties) GetIps() []string`

GetIps returns the Ips field if non-nil, zero value otherwise.

### GetIpsOk

`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.

### SetIps

`func (o *NetworkLoadBalancerProperties) SetIps(v []string)`

SetIps sets Ips field to given value.

### HasIps

`func (o *NetworkLoadBalancerProperties) HasIps() bool`

HasIps returns a boolean if a field has been set.

### GetTargetLan

`func (o *NetworkLoadBalancerProperties) GetTargetLan() int32`

GetTargetLan returns the TargetLan field if non-nil, zero value otherwise.

### GetTargetLanOk

`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.

### SetTargetLan

`func (o *NetworkLoadBalancerProperties) SetTargetLan(v int32)`

SetTargetLan sets TargetLan field to given value.


### GetLbPrivateIps

`func (o *NetworkLoadBalancerProperties) GetLbPrivateIps() []string`

GetLbPrivateIps returns the LbPrivateIps field if non-nil, zero value otherwise.

### GetLbPrivateIpsOk

`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.

### SetLbPrivateIps

`func (o *NetworkLoadBalancerProperties) SetLbPrivateIps(v []string)`

SetLbPrivateIps sets LbPrivateIps field to given value.

### HasLbPrivateIps

`func (o *NetworkLoadBalancerProperties) HasLbPrivateIps() bool`

HasLbPrivateIps returns a boolean if a field has been set.

### GetCentralLogging

`func (o *NetworkLoadBalancerProperties) GetCentralLogging() bool`

GetCentralLogging returns the CentralLogging field if non-nil, zero value otherwise.

### GetCentralLoggingOk

`func (o *NetworkLoadBalancerProperties) GetCentralLoggingOk() (*bool, bool)`

GetCentralLoggingOk returns a tuple with the CentralLogging field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetCentralLogging

`func (o *NetworkLoadBalancerProperties) SetCentralLogging(v bool)`

SetCentralLogging sets CentralLogging field to given value.

### HasCentralLogging

`func (o *NetworkLoadBalancerProperties) HasCentralLogging() bool`

HasCentralLogging returns a boolean if a field has been set.

### GetLoggingFormat

`func (o *NetworkLoadBalancerProperties) GetLoggingFormat() string`

GetLoggingFormat returns the LoggingFormat field if non-nil, zero value otherwise.

### GetLoggingFormatOk

`func (o *NetworkLoadBalancerProperties) GetLoggingFormatOk() (*string, bool)`

GetLoggingFormatOk returns a tuple with the LoggingFormat field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetLoggingFormat

`func (o *NetworkLoadBalancerProperties) SetLoggingFormat(v string)`

SetLoggingFormat sets LoggingFormat field to given value.

### HasLoggingFormat

`func (o *NetworkLoadBalancerProperties) HasLoggingFormat() bool`

HasLoggingFormat returns a boolean if a field has been set.