class Azure::Resources::Mgmt::V2020_06_01::Models::WhatIfPropertyChange

The predicted change to the resource property.

Attributes

after[RW]

@return The value of the property after the deployment is executed.

before[RW]

@return The value of the property before the deployment is executed.

children[RW]

@return [Array<WhatIfPropertyChange>] Nested property changes.

path[RW]

@return [String] The path of the property.

property_change_type[RW]

@return [PropertyChangeType] The type of property change. Possible values include: 'Create', 'Delete', 'Modify', 'Array'

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_property_change.rb, line 36
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WhatIfPropertyChange',
    type: {
      name: 'Composite',
      class_name: 'WhatIfPropertyChange',
      model_properties: {
        path: {
          client_side_validation: true,
          required: true,
          serialized_name: 'path',
          type: {
            name: 'String'
          }
        },
        property_change_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'propertyChangeType',
          type: {
            name: 'Enum',
            module: 'PropertyChangeType'
          }
        },
        before: {
          client_side_validation: true,
          required: false,
          serialized_name: 'before',
          type: {
            name: 'Object'
          }
        },
        after: {
          client_side_validation: true,
          required: false,
          serialized_name: 'after',
          type: {
            name: 'Object'
          }
        },
        children: {
          client_side_validation: true,
          required: false,
          serialized_name: 'children',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'WhatIfPropertyChangeElementType',
                type: {
                  name: 'Composite',
                  class_name: 'WhatIfPropertyChange'
                }
            }
          }
        }
      }
    }
  }
end