Class: Ansible::Ruby::Modules::Avi_serverautoscalepolicy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Avi_serverautoscalepolicy
- Defined in:
- lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb
Overview
This module is used to configure ServerAutoScalePolicy object more examples at U(github.com/avinetworks/devops)
Instance Method Summary collapse
-
#avi_api_patch_op ⇒ :add, ...
Patch operation to use when using avi_api_update_method as patch.
-
#avi_api_update_method ⇒ :put, ...
Default method for object update is HTTP PUT.,Setting to patch will override that behavior to use HTTP PATCH.
-
#description ⇒ Object?
User defined description for the object.
-
#intelligent_autoscale ⇒ Symbol?
Use avi intelligent autoscale algorithm where autoscale is performed by comparing load on the pool against estimated capacity of all the servers.,Default value when not specified in API or module is interpreted by Avi Controller as False.
-
#intelligent_scalein_margin ⇒ Object?
Maximum extra capacity as percentage of load used by the intelligent scheme.,Scalein is triggered when available capacity is more than this margin.,Allowed values are 1-99.,Default value when not specified in API or module is interpreted by Avi Controller as 40.
-
#intelligent_scaleout_margin ⇒ Object?
Minimum extra capacity as percentage of load used by the intelligent scheme.,Scaleout is triggered when available capacity is less than this margin.,Allowed values are 1-99.,Default value when not specified in API or module is interpreted by Avi Controller as 20.
-
#max_scalein_adjustment_step ⇒ Object?
Maximum number of servers to scalein simultaneously.,The actual number of servers to scalein is chosen such that target number of servers is always more than or equal to the min_size.,Default value when not specified in API or module is interpreted by Avi Controller as 1.
-
#max_scaleout_adjustment_step ⇒ Object?
Maximum number of servers to scaleout simultaneously.,The actual number of servers to scaleout is chosen such that target number of servers is always less than or equal to the max_size.,Default value when not specified in API or module is interpreted by Avi Controller as 1.
-
#max_size ⇒ Object?
Maximum number of servers after scaleout.,Allowed values are 0-400.
-
#min_size ⇒ Object?
No scale-in happens once number of operationally up servers reach min_servers.,Allowed values are 0-400.
-
#name ⇒ String
Name of the object.
-
#scalein_alertconfig_refs ⇒ Object?
Trigger scalein when alerts due to any of these alert configurations are raised.,It is a reference to an object of type alertconfig.
-
#scalein_cooldown ⇒ Object?
Cooldown period during which no new scalein is triggered to allow previous scalein to successfully complete.,Default value when not specified in API or module is interpreted by Avi Controller as 300.,Units(SEC).
-
#scaleout_alertconfig_refs ⇒ Object?
Trigger scaleout when alerts due to any of these alert configurations are raised.,It is a reference to an object of type alertconfig.
-
#scaleout_cooldown ⇒ Object?
Cooldown period during which no new scaleout is triggered to allow previous scaleout to successfully complete.,Default value when not specified in API or module is interpreted by Avi Controller as 300.,Units(SEC).
-
#state ⇒ :absent, ...
The state that should be applied on the entity.
-
#tenant_ref ⇒ Object?
It is a reference to an object of type tenant.
-
#url ⇒ Object?
Avi controller URL of the object.
-
#use_predicted_load ⇒ Symbol?
Use predicted load rather than current load.,Default value when not specified in API or module is interpreted by Avi Controller as False.
-
#uuid ⇒ Object?
Unique object identifier of the object.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#avi_api_patch_op ⇒ :add, ...
21 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 21 attribute :avi_api_patch_op |
#avi_api_update_method ⇒ :put, ...
17 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 17 attribute :avi_api_update_method |
#description ⇒ Object?
25 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 25 attribute :description |
#intelligent_autoscale ⇒ Symbol?
28 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 28 attribute :intelligent_autoscale |
#intelligent_scalein_margin ⇒ Object?
32 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 32 attribute :intelligent_scalein_margin |
#intelligent_scaleout_margin ⇒ Object?
35 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 35 attribute :intelligent_scaleout_margin |
#max_scalein_adjustment_step ⇒ Object?
38 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 38 attribute :max_scalein_adjustment_step |
#max_scaleout_adjustment_step ⇒ Object?
41 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 41 attribute :max_scaleout_adjustment_step |
#max_size ⇒ Object?
44 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 44 attribute :max_size |
#min_size ⇒ Object?
47 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 47 attribute :min_size |
#name ⇒ String
50 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 50 attribute :name |
#scalein_alertconfig_refs ⇒ Object?
54 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 54 attribute :scalein_alertconfig_refs |
#scalein_cooldown ⇒ Object?
57 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 57 attribute :scalein_cooldown |
#scaleout_alertconfig_refs ⇒ Object?
60 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 60 attribute :scaleout_alertconfig_refs |
#scaleout_cooldown ⇒ Object?
63 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 63 attribute :scaleout_cooldown |
#state ⇒ :absent, ...
13 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 13 attribute :state |
#tenant_ref ⇒ Object?
66 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 66 attribute :tenant_ref |
#url ⇒ Object?
69 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 69 attribute :url |
#use_predicted_load ⇒ Symbol?
72 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 72 attribute :use_predicted_load |
#uuid ⇒ Object?
76 |
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 76 attribute :uuid |