Class: Azure::Resources::Mgmt::V2020_06_01::Models::ScopedDeploymentWhatIf

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-06-01/generated/azure_mgmt_resources/models/scoped_deployment_what_if.rb

Overview

Deployment What-if operation parameters.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#locationString

Returns The location to store the deployment data.

Returns:

  • (String)

    The location to store the deployment data.



16
17
18
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/scoped_deployment_what_if.rb', line 16

def location
  @location
end

#propertiesDeploymentWhatIfProperties

Returns The deployment properties.

Returns:



19
20
21
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/scoped_deployment_what_if.rb', line 19

def properties
  @properties
end

Class Method Details

.mapperObject

Mapper for ScopedDeploymentWhatIf class as Ruby Hash. This will be used for serialization/deserialization.



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/scoped_deployment_what_if.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ScopedDeploymentWhatIf',
    type: {
      name: 'Composite',
      class_name: 'ScopedDeploymentWhatIf',
      model_properties: {
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        properties: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties',
          type: {
            name: 'Composite',
            class_name: 'DeploymentWhatIfProperties'
          }
        }
      }
    }
  }
end