Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 7.16 KB

RDSHLoadBalancerSettingsInfo.md

File metadata and controls

186 lines (101 loc) · 7.16 KB

RDSHLoadBalancerSettingsInfo

Properties

Name Type Description Notes
CpuThreshold Pointer to int32 Represents threshold of CPU usage, in percentage. If the value is 0, then this metric is not considered for load balancing. [optional]
DiskQueueLengthThreshold Pointer to int32 Represents the threshold of average number of both read and write requests that were queued for the selected disk during the sample interval. If the value is 0, then this metric is not considered for load balancing. [optional]
DiskReadLatencyThreshold Pointer to int32 Represents the threshold of average time, in milliseconds, of a read of data from the disk. If the value is 0, then this metric is not considered for load balancing. [optional]
DiskWriteLatencyThreshold Pointer to int32 Represents the threshold of average time, in milliseconds, of a write of data to the disk. If the value is 0, then this metric is not considered for load balancing. [optional]
IncludeSessionCount Pointer to bool Indicates whether to include session count for load balancing. [optional]
MemoryThreshold Pointer to int32 Represents threshold of memory usage, in percentage. If the value is 0, then this metric is not considered for load balancing. [optional]

Methods

NewRDSHLoadBalancerSettingsInfo

func NewRDSHLoadBalancerSettingsInfo() *RDSHLoadBalancerSettingsInfo

NewRDSHLoadBalancerSettingsInfo instantiates a new RDSHLoadBalancerSettingsInfo 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

NewRDSHLoadBalancerSettingsInfoWithDefaults

func NewRDSHLoadBalancerSettingsInfoWithDefaults() *RDSHLoadBalancerSettingsInfo

NewRDSHLoadBalancerSettingsInfoWithDefaults instantiates a new RDSHLoadBalancerSettingsInfo 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

GetCpuThreshold

func (o *RDSHLoadBalancerSettingsInfo) GetCpuThreshold() int32

GetCpuThreshold returns the CpuThreshold field if non-nil, zero value otherwise.

GetCpuThresholdOk

func (o *RDSHLoadBalancerSettingsInfo) GetCpuThresholdOk() (*int32, bool)

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

SetCpuThreshold

func (o *RDSHLoadBalancerSettingsInfo) SetCpuThreshold(v int32)

SetCpuThreshold sets CpuThreshold field to given value.

HasCpuThreshold

func (o *RDSHLoadBalancerSettingsInfo) HasCpuThreshold() bool

HasCpuThreshold returns a boolean if a field has been set.

GetDiskQueueLengthThreshold

func (o *RDSHLoadBalancerSettingsInfo) GetDiskQueueLengthThreshold() int32

GetDiskQueueLengthThreshold returns the DiskQueueLengthThreshold field if non-nil, zero value otherwise.

GetDiskQueueLengthThresholdOk

func (o *RDSHLoadBalancerSettingsInfo) GetDiskQueueLengthThresholdOk() (*int32, bool)

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

SetDiskQueueLengthThreshold

func (o *RDSHLoadBalancerSettingsInfo) SetDiskQueueLengthThreshold(v int32)

SetDiskQueueLengthThreshold sets DiskQueueLengthThreshold field to given value.

HasDiskQueueLengthThreshold

func (o *RDSHLoadBalancerSettingsInfo) HasDiskQueueLengthThreshold() bool

HasDiskQueueLengthThreshold returns a boolean if a field has been set.

GetDiskReadLatencyThreshold

func (o *RDSHLoadBalancerSettingsInfo) GetDiskReadLatencyThreshold() int32

GetDiskReadLatencyThreshold returns the DiskReadLatencyThreshold field if non-nil, zero value otherwise.

GetDiskReadLatencyThresholdOk

func (o *RDSHLoadBalancerSettingsInfo) GetDiskReadLatencyThresholdOk() (*int32, bool)

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

SetDiskReadLatencyThreshold

func (o *RDSHLoadBalancerSettingsInfo) SetDiskReadLatencyThreshold(v int32)

SetDiskReadLatencyThreshold sets DiskReadLatencyThreshold field to given value.

HasDiskReadLatencyThreshold

func (o *RDSHLoadBalancerSettingsInfo) HasDiskReadLatencyThreshold() bool

HasDiskReadLatencyThreshold returns a boolean if a field has been set.

GetDiskWriteLatencyThreshold

func (o *RDSHLoadBalancerSettingsInfo) GetDiskWriteLatencyThreshold() int32

GetDiskWriteLatencyThreshold returns the DiskWriteLatencyThreshold field if non-nil, zero value otherwise.

GetDiskWriteLatencyThresholdOk

func (o *RDSHLoadBalancerSettingsInfo) GetDiskWriteLatencyThresholdOk() (*int32, bool)

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

SetDiskWriteLatencyThreshold

func (o *RDSHLoadBalancerSettingsInfo) SetDiskWriteLatencyThreshold(v int32)

SetDiskWriteLatencyThreshold sets DiskWriteLatencyThreshold field to given value.

HasDiskWriteLatencyThreshold

func (o *RDSHLoadBalancerSettingsInfo) HasDiskWriteLatencyThreshold() bool

HasDiskWriteLatencyThreshold returns a boolean if a field has been set.

GetIncludeSessionCount

func (o *RDSHLoadBalancerSettingsInfo) GetIncludeSessionCount() bool

GetIncludeSessionCount returns the IncludeSessionCount field if non-nil, zero value otherwise.

GetIncludeSessionCountOk

func (o *RDSHLoadBalancerSettingsInfo) GetIncludeSessionCountOk() (*bool, bool)

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

SetIncludeSessionCount

func (o *RDSHLoadBalancerSettingsInfo) SetIncludeSessionCount(v bool)

SetIncludeSessionCount sets IncludeSessionCount field to given value.

HasIncludeSessionCount

func (o *RDSHLoadBalancerSettingsInfo) HasIncludeSessionCount() bool

HasIncludeSessionCount returns a boolean if a field has been set.

GetMemoryThreshold

func (o *RDSHLoadBalancerSettingsInfo) GetMemoryThreshold() int32

GetMemoryThreshold returns the MemoryThreshold field if non-nil, zero value otherwise.

GetMemoryThresholdOk

func (o *RDSHLoadBalancerSettingsInfo) GetMemoryThresholdOk() (*int32, bool)

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

SetMemoryThreshold

func (o *RDSHLoadBalancerSettingsInfo) SetMemoryThreshold(v int32)

SetMemoryThreshold sets MemoryThreshold field to given value.

HasMemoryThreshold

func (o *RDSHLoadBalancerSettingsInfo) HasMemoryThreshold() bool

HasMemoryThreshold returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]