Name | Type | Description | Notes |
---|---|---|---|
DesiredAmount | Pointer to int32 | When "SCHEDULED", the number of instances that need to be running at the specified date and time. When "MANUAL", the number of instances that to be launched immediately. | [optional] |
MinimumAmount | Pointer to int32 | The minimum number of instances that should be running | [optional] |
MaximumAmount | Pointer to int32 | Only for "CPU_BASED" auto scaling group. The maximum number of instances that can be running | [optional] |
CpuThreshold | Pointer to int32 | Only for "CPU_BASED" auto scaling group. The target average CPU utilization for scaling | [optional] |
WarmupTime | Pointer to int32 | Only for "CPU_BASED" auto scaling group. Warm-up time in seconds for new instances | [optional] |
CooldownTime | Pointer to int32 | Only for "CPU_BASED" auto scaling group. Cool-down time in seconds for new instances | [optional] |
Reference | Pointer to string | The identifying name set to the auto scaling group | [optional] |
StartsAt | Pointer to time.Time | Only for "SCHEDULED" auto scaling group. Date and time (UTC) that the instances need to be launched. Must be changed along with "endsAt" | [optional] |
EndsAt | Pointer to time.Time | Only for "SCHEDULED" auto scaling group. Date and time (UTC) that the instances need to be terminated. Must be changed along with "startsAt" | [optional] |
func NewUpdateAutoScalingGroupOpts() *UpdateAutoScalingGroupOpts
NewUpdateAutoScalingGroupOpts instantiates a new UpdateAutoScalingGroupOpts 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 NewUpdateAutoScalingGroupOptsWithDefaults() *UpdateAutoScalingGroupOpts
NewUpdateAutoScalingGroupOptsWithDefaults instantiates a new UpdateAutoScalingGroupOpts 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 *UpdateAutoScalingGroupOpts) GetDesiredAmount() int32
GetDesiredAmount returns the DesiredAmount field if non-nil, zero value otherwise.
func (o *UpdateAutoScalingGroupOpts) GetDesiredAmountOk() (*int32, bool)
GetDesiredAmountOk returns a tuple with the DesiredAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateAutoScalingGroupOpts) SetDesiredAmount(v int32)
SetDesiredAmount sets DesiredAmount field to given value.
func (o *UpdateAutoScalingGroupOpts) HasDesiredAmount() bool
HasDesiredAmount returns a boolean if a field has been set.
func (o *UpdateAutoScalingGroupOpts) GetMinimumAmount() int32
GetMinimumAmount returns the MinimumAmount field if non-nil, zero value otherwise.
func (o *UpdateAutoScalingGroupOpts) GetMinimumAmountOk() (*int32, bool)
GetMinimumAmountOk returns a tuple with the MinimumAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateAutoScalingGroupOpts) SetMinimumAmount(v int32)
SetMinimumAmount sets MinimumAmount field to given value.
func (o *UpdateAutoScalingGroupOpts) HasMinimumAmount() bool
HasMinimumAmount returns a boolean if a field has been set.
func (o *UpdateAutoScalingGroupOpts) GetMaximumAmount() int32
GetMaximumAmount returns the MaximumAmount field if non-nil, zero value otherwise.
func (o *UpdateAutoScalingGroupOpts) GetMaximumAmountOk() (*int32, bool)
GetMaximumAmountOk returns a tuple with the MaximumAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateAutoScalingGroupOpts) SetMaximumAmount(v int32)
SetMaximumAmount sets MaximumAmount field to given value.
func (o *UpdateAutoScalingGroupOpts) HasMaximumAmount() bool
HasMaximumAmount returns a boolean if a field has been set.
func (o *UpdateAutoScalingGroupOpts) GetCpuThreshold() int32
GetCpuThreshold returns the CpuThreshold field if non-nil, zero value otherwise.
func (o *UpdateAutoScalingGroupOpts) 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.
func (o *UpdateAutoScalingGroupOpts) SetCpuThreshold(v int32)
SetCpuThreshold sets CpuThreshold field to given value.
func (o *UpdateAutoScalingGroupOpts) HasCpuThreshold() bool
HasCpuThreshold returns a boolean if a field has been set.
func (o *UpdateAutoScalingGroupOpts) GetWarmupTime() int32
GetWarmupTime returns the WarmupTime field if non-nil, zero value otherwise.
func (o *UpdateAutoScalingGroupOpts) GetWarmupTimeOk() (*int32, bool)
GetWarmupTimeOk returns a tuple with the WarmupTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateAutoScalingGroupOpts) SetWarmupTime(v int32)
SetWarmupTime sets WarmupTime field to given value.
func (o *UpdateAutoScalingGroupOpts) HasWarmupTime() bool
HasWarmupTime returns a boolean if a field has been set.
func (o *UpdateAutoScalingGroupOpts) GetCooldownTime() int32
GetCooldownTime returns the CooldownTime field if non-nil, zero value otherwise.
func (o *UpdateAutoScalingGroupOpts) GetCooldownTimeOk() (*int32, bool)
GetCooldownTimeOk returns a tuple with the CooldownTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateAutoScalingGroupOpts) SetCooldownTime(v int32)
SetCooldownTime sets CooldownTime field to given value.
func (o *UpdateAutoScalingGroupOpts) HasCooldownTime() bool
HasCooldownTime returns a boolean if a field has been set.
func (o *UpdateAutoScalingGroupOpts) GetReference() string
GetReference returns the Reference field if non-nil, zero value otherwise.
func (o *UpdateAutoScalingGroupOpts) GetReferenceOk() (*string, bool)
GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateAutoScalingGroupOpts) SetReference(v string)
SetReference sets Reference field to given value.
func (o *UpdateAutoScalingGroupOpts) HasReference() bool
HasReference returns a boolean if a field has been set.
func (o *UpdateAutoScalingGroupOpts) GetStartsAt() time.Time
GetStartsAt returns the StartsAt field if non-nil, zero value otherwise.
func (o *UpdateAutoScalingGroupOpts) GetStartsAtOk() (*time.Time, bool)
GetStartsAtOk returns a tuple with the StartsAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateAutoScalingGroupOpts) SetStartsAt(v time.Time)
SetStartsAt sets StartsAt field to given value.
func (o *UpdateAutoScalingGroupOpts) HasStartsAt() bool
HasStartsAt returns a boolean if a field has been set.
func (o *UpdateAutoScalingGroupOpts) GetEndsAt() time.Time
GetEndsAt returns the EndsAt field if non-nil, zero value otherwise.
func (o *UpdateAutoScalingGroupOpts) GetEndsAtOk() (*time.Time, bool)
GetEndsAtOk returns a tuple with the EndsAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateAutoScalingGroupOpts) SetEndsAt(v time.Time)
SetEndsAt sets EndsAt field to given value.
func (o *UpdateAutoScalingGroupOpts) HasEndsAt() bool
HasEndsAt returns a boolean if a field has been set.