Class: Ansible::Ruby::Modules::Azure_rm_deployment
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Azure_rm_deployment
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_deployment.rb
Overview
Create or destroy Azure Resource Manager template deployments via the Azure SDK for Python. You can find some quick start templates in GitHub here github.com/azure/azure-quickstart-templates. For more information on Azue resource manager templates see azure.microsoft.com/en-us/documentation/articles/resource-group-template-deploy/.
Instance Method Summary collapse
-
#deployment_mode ⇒ :complete, ...
In incremental mode, resources are deployed without deleting existing resources that are not included in the template.
-
#deployment_name ⇒ String?
The name of the deployment to be tracked in the resource group deployment history.
-
#location ⇒ String?
The geo-locations in which the resource group will be located.
-
#parameters ⇒ Hash?
A hash of all the required template variables for the deployment template.
-
#parameters_link ⇒ String?
Uri of file containing the parameters body.
-
#resource_group_name ⇒ String
The resource group name to use or create to host the deployed template.
-
#state ⇒ :present, ...
If state is “present”, template will be created.
-
#template ⇒ Hash?
A hash containing the templates inline.
-
#template_link ⇒ String?
Uri of file containing the template body.
-
#wait_for_deployment_completion ⇒ :yes, ...
Whether or not to block until the deployment has completed.
-
#wait_for_deployment_polling_period ⇒ Integer?
Time (in seconds) to wait between polls when waiting for deployment completion.
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
#deployment_mode ⇒ :complete, ...
Returns In incremental mode, resources are deployed without deleting existing resources that are not included in the template. In complete mode resources are deployed and existing resources in the resource group not included in the template are deleted.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_deployment.rb', line 20 attribute :deployment_mode |
#deployment_name ⇒ String?
Returns The name of the deployment to be tracked in the resource group deployment history. Re-using a deployment name will overwrite the previous value in the resource group’s deployment history.
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_deployment.rb', line 44 attribute :deployment_name |
#location ⇒ String?
Returns The geo-locations in which the resource group will be located.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_deployment.rb', line 16 attribute :location |
#parameters ⇒ Hash?
Returns A hash of all the required template variables for the deployment template. This parameter is mutually exclusive with ‘parameters_link’. Either one of them is required if “state” parameter is “present”.
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_deployment.rb', line 36 attribute :parameters |
#parameters_link ⇒ String?
Returns Uri of file containing the parameters body. This parameter is mutually exclusive with ‘parameters’. Either one of them is required if “state” parameter is “present”.
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_deployment.rb', line 40 attribute :parameters_link |
#resource_group_name ⇒ String
Returns The resource group name to use or create to host the deployed template.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_deployment.rb', line 12 attribute :resource_group_name |
#state ⇒ :present, ...
Returns If state is “present”, template will be created. If state is “present” and if deployment exists, it will be updated. If state is “absent”, stack will be removed.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_deployment.rb', line 24 attribute :state |
#template ⇒ Hash?
Returns A hash containing the templates inline. This parameter is mutually exclusive with ‘template_link’. Either one of them is required if “state” parameter is “present”.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_deployment.rb', line 28 attribute :template |
#template_link ⇒ String?
Returns Uri of file containing the template body. This parameter is mutually exclusive with ‘template’. Either one of them is required if “state” parameter is “present”.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_deployment.rb', line 32 attribute :template_link |
#wait_for_deployment_completion ⇒ :yes, ...
Returns Whether or not to block until the deployment has completed.
48 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_deployment.rb', line 48 attribute :wait_for_deployment_completion |
#wait_for_deployment_polling_period ⇒ Integer?
Returns Time (in seconds) to wait between polls when waiting for deployment completion.
52 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_deployment.rb', line 52 attribute :wait_for_deployment_polling_period |