File: NetworkLoadBalancerForwardingRuleTargetHealthCheck.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 (106 lines) | stat: -rw-r--r-- 4,047 bytes parent folder | download | duplicates (3)
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
# NetworkLoadBalancerForwardingRuleTargetHealthCheck

## Properties

|Name | Type | Description | Notes|
|------------ | ------------- | ------------- | -------------|
|**Check** | Pointer to **bool** | Makes the target available only if it accepts periodic health check TCP connection attempts; when turned off, the target is considered always available. The health check only consists of a connection attempt to the address and port of the target. | [optional] |
|**CheckInterval** | Pointer to **int32** | The interval in milliseconds between consecutive health checks; default is 2000. | [optional] |
|**Maintenance** | Pointer to **bool** | Maintenance mode prevents the target from receiving balanced traffic. | [optional] |

## Methods

### NewNetworkLoadBalancerForwardingRuleTargetHealthCheck

`func NewNetworkLoadBalancerForwardingRuleTargetHealthCheck() *NetworkLoadBalancerForwardingRuleTargetHealthCheck`

NewNetworkLoadBalancerForwardingRuleTargetHealthCheck instantiates a new NetworkLoadBalancerForwardingRuleTargetHealthCheck 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

### NewNetworkLoadBalancerForwardingRuleTargetHealthCheckWithDefaults

`func NewNetworkLoadBalancerForwardingRuleTargetHealthCheckWithDefaults() *NetworkLoadBalancerForwardingRuleTargetHealthCheck`

NewNetworkLoadBalancerForwardingRuleTargetHealthCheckWithDefaults instantiates a new NetworkLoadBalancerForwardingRuleTargetHealthCheck 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

### GetCheck

`func (o *NetworkLoadBalancerForwardingRuleTargetHealthCheck) GetCheck() bool`

GetCheck returns the Check field if non-nil, zero value otherwise.

### GetCheckOk

`func (o *NetworkLoadBalancerForwardingRuleTargetHealthCheck) GetCheckOk() (*bool, bool)`

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

### SetCheck

`func (o *NetworkLoadBalancerForwardingRuleTargetHealthCheck) SetCheck(v bool)`

SetCheck sets Check field to given value.

### HasCheck

`func (o *NetworkLoadBalancerForwardingRuleTargetHealthCheck) HasCheck() bool`

HasCheck returns a boolean if a field has been set.

### GetCheckInterval

`func (o *NetworkLoadBalancerForwardingRuleTargetHealthCheck) GetCheckInterval() int32`

GetCheckInterval returns the CheckInterval field if non-nil, zero value otherwise.

### GetCheckIntervalOk

`func (o *NetworkLoadBalancerForwardingRuleTargetHealthCheck) GetCheckIntervalOk() (*int32, bool)`

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

### SetCheckInterval

`func (o *NetworkLoadBalancerForwardingRuleTargetHealthCheck) SetCheckInterval(v int32)`

SetCheckInterval sets CheckInterval field to given value.

### HasCheckInterval

`func (o *NetworkLoadBalancerForwardingRuleTargetHealthCheck) HasCheckInterval() bool`

HasCheckInterval returns a boolean if a field has been set.

### GetMaintenance

`func (o *NetworkLoadBalancerForwardingRuleTargetHealthCheck) GetMaintenance() bool`

GetMaintenance returns the Maintenance field if non-nil, zero value otherwise.

### GetMaintenanceOk

`func (o *NetworkLoadBalancerForwardingRuleTargetHealthCheck) GetMaintenanceOk() (*bool, bool)`

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

### SetMaintenance

`func (o *NetworkLoadBalancerForwardingRuleTargetHealthCheck) SetMaintenance(v bool)`

SetMaintenance sets Maintenance field to given value.

### HasMaintenance

`func (o *NetworkLoadBalancerForwardingRuleTargetHealthCheck) HasMaintenance() bool`

HasMaintenance returns a boolean if a field has been set.