Class: Azure::ARM::Resources::Models::DeploymentProperties
- Inherits:
-
Object
- Object
- Azure::ARM::Resources::Models::DeploymentProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_resources/models/deployment_properties.rb
Overview
Deployment properties.
Instance Attribute Summary collapse
-
#debug_setting ⇒ DebugSetting
The debug setting of the deployment.
-
#mode ⇒ DeploymentMode
This value can be either Incremental or Complete.
-
#parameters ⇒ Object
the template.
-
#parameters_link ⇒ ParametersLink
element to link to an existing parameters file.
-
#template ⇒ Object
pass the template syntax directly in the request rather than link to an existing template.
-
#template_link ⇒ TemplateLink
templateLink property or the template property, but not both.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DeploymentProperties class as Ruby Hash.
Instance Attribute Details
#debug_setting ⇒ DebugSetting
Returns The debug setting of the deployment.
50 51 52 |
# File 'lib/generated/azure_mgmt_resources/models/deployment_properties.rb', line 50 def debug_setting @debug_setting end |
#mode ⇒ DeploymentMode
This value can be either Incremental or Complete. 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 that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources. Possible values include: ‘Incremental’, ‘Complete’
47 48 49 |
# File 'lib/generated/azure_mgmt_resources/models/deployment_properties.rb', line 47 def mode @mode end |
#parameters ⇒ Object
the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string.
32 33 34 |
# File 'lib/generated/azure_mgmt_resources/models/deployment_properties.rb', line 32 def parameters @parameters end |
#parameters_link ⇒ ParametersLink
element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.
37 38 39 |
# File 'lib/generated/azure_mgmt_resources/models/deployment_properties.rb', line 37 def parameters_link @parameters_link end |
#template ⇒ Object
pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both.
20 21 22 |
# File 'lib/generated/azure_mgmt_resources/models/deployment_properties.rb', line 20 def template @template end |
#template_link ⇒ TemplateLink
templateLink property or the template property, but not both.
24 25 26 |
# File 'lib/generated/azure_mgmt_resources/models/deployment_properties.rb', line 24 def template_link @template_link end |
Class Method Details
.mapper ⇒ Object
Mapper for DeploymentProperties class as Ruby Hash. This will be used for serialization/deserialization.
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 |
# File 'lib/generated/azure_mgmt_resources/models/deployment_properties.rb', line 57 def self.mapper() { required: false, serialized_name: 'DeploymentProperties', type: { name: 'Composite', class_name: 'DeploymentProperties', model_properties: { template: { required: false, serialized_name: 'template', type: { name: 'Object' } }, template_link: { required: false, serialized_name: 'templateLink', type: { name: 'Composite', class_name: 'TemplateLink' } }, parameters: { required: false, serialized_name: 'parameters', type: { name: 'Object' } }, parameters_link: { required: false, serialized_name: 'parametersLink', type: { name: 'Composite', class_name: 'ParametersLink' } }, mode: { required: true, serialized_name: 'mode', type: { name: 'Enum', module: 'DeploymentMode' } }, debug_setting: { required: false, serialized_name: 'debugSetting', type: { name: 'Composite', class_name: 'DebugSetting' } } } } } end |