Class: Azure::ARM::Resources::Models::DeploymentProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_resources/models/deployment_properties.rb

Overview

Deployment properties.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#debug_settingDebugSetting

Returns The debug setting of the deployment.

Returns:



50
51
52
# File 'lib/generated/azure_mgmt_resources/models/deployment_properties.rb', line 50

def debug_setting
  @debug_setting
end

#modeDeploymentMode

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’

Returns:



47
48
49
# File 'lib/generated/azure_mgmt_resources/models/deployment_properties.rb', line 47

def mode
  @mode
end

#parametersObject

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.

Returns:

  • Name and value pairs that define the deployment parameters for



32
33
34
# File 'lib/generated/azure_mgmt_resources/models/deployment_properties.rb', line 32

def parameters
  @parameters
end

element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.

Returns:



37
38
39
# File 'lib/generated/azure_mgmt_resources/models/deployment_properties.rb', line 37

def parameters_link
  @parameters_link
end

#templateObject

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.

Returns:

  • The template content. You use this element when you want to



20
21
22
# File 'lib/generated/azure_mgmt_resources/models/deployment_properties.rb', line 20

def template
  @template
end

templateLink property or the template property, but not both.

Returns:

  • (TemplateLink)

    The URI of the template. Use either the



24
25
26
# File 'lib/generated/azure_mgmt_resources/models/deployment_properties.rb', line 24

def template_link
  @template_link
end

Class Method Details

.mapperObject

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