Class: Ansible::Ruby::Modules::Azure_rm_appserviceplan

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

Overview

Create, update and delete instance of App Service Plan.

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

#is_linuxSymbol?

Returns Describe whether to host webapp on Linux worker.

Returns:

  • (Symbol, nil)

    Describe whether to host webapp on Linux worker.



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

attribute :is_linux

#locationString?

Returns Resource location. If not set, location from the resource group will be used as default.

Returns:

  • (String, nil)

    Resource location. If not set, location from the resource group will be used as default.



20
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_appserviceplan.rb', line 20

attribute :location

#nameString

Returns Unique name of the app service plan to create or update.

Returns:

  • (String)

    Unique name of the app service plan to create or update.



16
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_appserviceplan.rb', line 16

attribute :name

#number_of_workersInteger?

Returns Describe number of workers to be allocated.

Returns:

  • (Integer, nil)

    Describe number of workers to be allocated.



32
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_appserviceplan.rb', line 32

attribute :number_of_workers

#resource_groupString

Returns Name of the resource group to which the resource belongs.

Returns:

  • (String)

    Name of the resource group to which the resource belongs.



12
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_appserviceplan.rb', line 12

attribute :resource_group

#skuString?

Returns The pricing tiers, e.g., F1, D1, B1, B2, B3, S1, P1, P1V2 etc.,Please see U(azure.microsoft.com/en-us/pricing/details/app-service/plans/) for more detail.,For linux app service plan, please see U(azure.microsoft.com/en-us/pricing/details/app-service/linux/) for more detail.

Returns:



24
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_appserviceplan.rb', line 24

attribute :sku

#state:absent, ...

Returns Assert the state of the app service plan.,Use ‘present’ to create or update an app service plan and ‘absent’ to delete it.

Returns:

  • (:absent, :present, nil)

    Assert the state of the app service plan.,Use ‘present’ to create or update an app service plan and ‘absent’ to delete it.



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

attribute :state