Class: Ansible::Ruby::Modules::Azure_rm_resourcegroup
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Azure_rm_resourcegroup
- 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
-
#force ⇒ :yes, ...
Remove a resource group and all associated resources.
-
#location ⇒ String?
Azure location for the resource group.
-
#name ⇒ String
Name of the resource group.
-
#state ⇒ :absent, ...
Assert the state of the resource group.
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
#force ⇒ :yes, ...
Returns 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 |
#location ⇒ String?
Returns 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 |
#name ⇒ String
Returns 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.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_resourcegroup.rb', line 24 attribute :state |