Class: Ansible::Ruby::Modules::Azure_rm_resource
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Azure_rm_resource
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_resource.rb
Overview
Create, update or delete any Azure resource using Azure REST API. This module gives access to resources that are not supported via Ansible modules. Refer to docs.microsoft.com/en-us/rest/api/ regarding details related to specific resource REST API.
Instance Method Summary collapse
-
#api_version ⇒ String
Specific API version to be used.
-
#body ⇒ String?
The body of the http request/response to the web service.
-
#idempotency ⇒ Symbol?
If enabled, idempotency check will be done by using GET method first and then comparing with I(body).
-
#method ⇒ :GET, ...
The HTTP method of the request or response.
-
#provider ⇒ String?
Provider type.,Required if URL is not specified.
-
#resource_group ⇒ String?
Resource group to be used.,Required if URL is not specified.
-
#resource_name ⇒ String?
Resource name.,Required if URL Is not specified.
-
#resource_type ⇒ String?
Resource type.,Required if URL is not specified.
-
#state ⇒ :absent, ...
Assert the state of the resource.
-
#status_code ⇒ Integer?
A valid, numeric, HTTP status code that signifies success of the request.
-
#subresource ⇒ Object?
List of subresources.
-
#url ⇒ Object?
Azure RM Resource URL.
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
#api_version ⇒ String
17 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_resource.rb', line 17 attribute :api_version |
#body ⇒ String?
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_resource.rb', line 40 attribute :body |
#idempotency ⇒ Symbol?
52 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_resource.rb', line 52 attribute :idempotency |
#method ⇒ :GET, ...
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_resource.rb', line 44 attribute :method |
#provider ⇒ String?
21 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_resource.rb', line 21 attribute :provider |
#resource_group ⇒ String?
25 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_resource.rb', line 25 attribute :resource_group |
#resource_name ⇒ String?
33 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_resource.rb', line 33 attribute :resource_name |
#resource_type ⇒ String?
29 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_resource.rb', line 29 attribute :resource_type |
#state ⇒ :absent, ...
56 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_resource.rb', line 56 attribute :state |
#status_code ⇒ Integer?
48 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_resource.rb', line 48 attribute :status_code |
#subresource ⇒ Object?
37 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_resource.rb', line 37 attribute :subresource |
#url ⇒ Object?
14 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_resource.rb', line 14 attribute :url |