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

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

Overview

Create, update and delete a resource group.

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

#force:yes, ...

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

Returns:

  • (:yes, :no, nil)

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



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

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.



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

attribute :location

#nameString

Returns Name of the resource group.

Returns:

  • (String)

    Name of the resource group.



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

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.



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

attribute :state