Class: Ansible::Ruby::Modules::Azure_rm_autoscale
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Azure_rm_autoscale
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_autoscale.rb
Overview
Create, delete an autoscale setting.
Instance Method Summary collapse
-
#enabled ⇒ Boolean?
Specifies whether automatic scaling is enabled for the resource.
-
#location ⇒ Object?
Location of the resource.
-
#name ⇒ String
Name of the resource.
-
#notifications ⇒ Array<Hash>, ...
The collection of notifications.
-
#profiles ⇒ Array<Hash>, ...
The collection of automatic scaling profiles that specify different scaling parameters for different time periods.,A maximum of 20 profiles can be specified.
-
#resource_group ⇒ String
Resource group of the resource.
-
#state ⇒ :present, ...
Assert the state of the virtual network.
-
#target ⇒ String?
The identifier of the resource to apply autoscale setting.,It could be the resource id string.,It also could be a dict contains the C(name), C(subscription_id), C(namespace), C(types), C(resource_group) of the resource.
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
#enabled ⇒ Boolean?
Returns Specifies whether automatic scaling is enabled for the resource.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_autoscale.rb', line 20 attribute :enabled |
#location ⇒ Object?
Returns location of the resource.
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_autoscale.rb', line 36 attribute :location |
#name ⇒ String
Returns name of the resource.
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_autoscale.rb', line 39 attribute :name |
#notifications ⇒ Array<Hash>, ...
Returns the collection of notifications.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_autoscale.rb', line 28 attribute :notifications |
#profiles ⇒ Array<Hash>, ...
Returns The collection of automatic scaling profiles that specify different scaling parameters for different time periods.,A maximum of 20 profiles can be specified.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_autoscale.rb', line 24 attribute :profiles |
#resource_group ⇒ String
Returns resource group of the resource.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_autoscale.rb', line 16 attribute :resource_group |
#state ⇒ :present, ...
Returns Assert the state of the virtual network. Use ‘present’ to create or update and ‘absent’ to delete.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_autoscale.rb', line 32 attribute :state |
#target ⇒ String?
Returns The identifier of the resource to apply autoscale setting.,It could be the resource id string.,It also could be a dict contains the C(name), C(subscription_id), C(namespace), C(types), C(resource_group) of the resource.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_autoscale.rb', line 12 attribute :target |