Class: Ansible::Ruby::Modules::Azure_rm_autoscale

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_autoscale.rb

Overview

Create, delete an autoscale setting.

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

#enabledBoolean?

Returns Specifies whether automatic scaling is enabled for the resource.

Returns:

  • (Boolean, nil)

    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

#locationObject?

Returns location of the resource.

Returns:

  • (Object, nil)

    location of the resource.



36
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_autoscale.rb', line 36

attribute :location

#nameString

Returns name of the resource.

Returns:

  • (String)

    name of the resource.



39
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_autoscale.rb', line 39

attribute :name

#notificationsArray<Hash>, ...

Returns the collection of notifications.

Returns:

  • (Array<Hash>, Hash, nil)

    the collection of notifications.



28
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_autoscale.rb', line 28

attribute :notifications

#profilesArray<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.

Returns:

  • (Array<Hash>, Hash, nil)

    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_groupString

Returns resource group of the resource.

Returns:

  • (String)

    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.

Returns:

  • (:present, :absent, nil)

    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

#targetString?

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.

Returns:

  • (String, nil)

    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