Class: Ansible::Ruby::Modules::Avi_serverautoscalepolicy

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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

Returns Patch operation to use when using avi_api_update_method as patch.

Returns:

  • (:add, :replace, :delete, nil)

    Patch operation to use when using avi_api_update_method as patch.



21
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 21

attribute :avi_api_patch_op

#avi_api_update_method:put, ...

Returns Default method for object update is HTTP PUT.,Setting to patch will override that behavior to use HTTP PATCH.

Returns:

  • (:put, :patch, nil)

    Default method for object update is HTTP PUT.,Setting to patch will override that behavior to use HTTP PATCH.



17
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 17

attribute :avi_api_update_method

#descriptionObject?

Returns User defined description for the object.

Returns:

  • (Object, nil)

    User defined description for the object.



25
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 25

attribute :description

#intelligent_autoscaleSymbol?

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

Returns:

  • (Symbol, nil)

    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.



28
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 28

attribute :intelligent_autoscale

#intelligent_scalein_marginObject?

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

Returns:

  • (Object, nil)

    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.



32
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 32

attribute :intelligent_scalein_margin

#intelligent_scaleout_marginObject?

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

Returns:

  • (Object, nil)

    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.



35
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 35

attribute :intelligent_scaleout_margin

#max_scalein_adjustment_stepObject?

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

Returns:

  • (Object, nil)

    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.



38
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 38

attribute :max_scalein_adjustment_step

#max_scaleout_adjustment_stepObject?

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

Returns:

  • (Object, nil)

    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.



41
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 41

attribute :max_scaleout_adjustment_step

#max_sizeObject?

Returns Maximum number of servers after scaleout.,Allowed values are 0-400.

Returns:

  • (Object, nil)

    Maximum number of servers after scaleout.,Allowed values are 0-400.



44
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 44

attribute :max_size

#min_sizeObject?

Returns No scale-in happens once number of operationally up servers reach min_servers.,Allowed values are 0-400.

Returns:

  • (Object, nil)

    No scale-in happens once number of operationally up servers reach min_servers.,Allowed values are 0-400.



47
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 47

attribute :min_size

#nameString

Returns Name of the object.

Returns:

  • (String)

    Name of the object.



50
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 50

attribute :name

#scalein_alertconfig_refsObject?

Returns Trigger scalein when alerts due to any of these alert configurations are raised.,It is a reference to an object of type alertconfig.

Returns:

  • (Object, nil)

    Trigger scalein when alerts due to any of these alert configurations are raised.,It is a reference to an object of type alertconfig.



54
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 54

attribute :scalein_alertconfig_refs

#scalein_cooldownObject?

Returns 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).

Returns:

  • (Object, nil)

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



57
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 57

attribute :scalein_cooldown

#scaleout_alertconfig_refsObject?

Returns Trigger scaleout when alerts due to any of these alert configurations are raised.,It is a reference to an object of type alertconfig.

Returns:

  • (Object, nil)

    Trigger scaleout when alerts due to any of these alert configurations are raised.,It is a reference to an object of type alertconfig.



60
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 60

attribute :scaleout_alertconfig_refs

#scaleout_cooldownObject?

Returns 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).

Returns:

  • (Object, nil)

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



63
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 63

attribute :scaleout_cooldown

#state:absent, ...

Returns The state that should be applied on the entity.

Returns:

  • (:absent, :present, nil)

    The state that should be applied on the entity.



13
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 13

attribute :state

#tenant_refObject?

Returns It is a reference to an object of type tenant.

Returns:

  • (Object, nil)

    It is a reference to an object of type tenant.



66
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 66

attribute :tenant_ref

#urlObject?

Returns Avi controller URL of the object.

Returns:

  • (Object, nil)

    Avi controller URL of the object.



69
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 69

attribute :url

#use_predicted_loadSymbol?

Returns Use predicted load rather than current load.,Default value when not specified in API or module is interpreted by Avi Controller as False.

Returns:

  • (Symbol, nil)

    Use predicted load rather than current load.,Default value when not specified in API or module is interpreted by Avi Controller as False.



72
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 72

attribute :use_predicted_load

#uuidObject?

Returns Unique object identifier of the object.

Returns:

  • (Object, nil)

    Unique object identifier of the object.



76
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_serverautoscalepolicy.rb', line 76

attribute :uuid