Class: Ansible::Ruby::Modules::Azure_rm_resourcegroup

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

Instance Method Summary collapse

Methods inherited from Base

#to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#forceBoolean?

Returns Remove a resource group and all associated resources. Use with state ‘absent’ to delete a resource group that contains resources.

Returns:

  • (Boolean, nil)

    Remove a resource group and all associated resources. Use with state ‘absent’ to delete a resource group that contains resources.



10
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_resourcegroup.rb', line 10

attribute :force

#locationString?

Returns Azure location for the resource group. Required when creating a new resource group. Cannot be changed once resource group is created.

Returns:

  • (String, nil)

    Azure location for the resource group. Required when creating a new resource group. Cannot be changed once resource group is created.



14
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_resourcegroup.rb', line 14

attribute :location

#nameString

Returns Name of the resource group.

Returns:

  • (String)

    Name of the resource group.



18
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_resourcegroup.rb', line 18

attribute :name

#state:absent, ...

Returns Assert the state of the resource group. Use ‘present’ to create or update and ‘absent’ to delete. When ‘absent’ a resource group containing resources will not be removed unless the force option is used.

Returns:

  • (:absent, :present, nil)

    Assert the state of the resource group. Use ‘present’ to create or update and ‘absent’ to delete. When ‘absent’ a resource group containing resources will not be removed unless the force option is used.



22
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_resourcegroup.rb', line 22

attribute :state