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/core/cloud/azure/azure_rm_resourcegroup.rb
Instance Method Summary collapse
-
#force ⇒ Boolean?
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, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#force ⇒ Boolean?
Returns 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 |
#location ⇒ String?
Returns 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 |
#name ⇒ String
Returns 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.
22 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_resourcegroup.rb', line 22 attribute :state |