class Azure::Web::Mgmt::V2016_08_01::Models::SlotDifference

A setting difference between two deployment slots of an app.

Attributes

description[RW]

@return [String] Description of the setting difference.

diff_rule[RW]

@return [String] Rule that describes how to process the setting difference during a slot swap.

setting_name[RW]

@return [String] Name of the setting.

setting_type[RW]

@return [String] The type of the setting: General, AppSetting or ConnectionString.

slot_difference_type[RW]

@return [String] Type of the difference: Information, Warning or Error.

value_in_current_slot[RW]

@return [String] Value of the setting in the current slot.

value_in_target_slot[RW]

@return [String] Value of the setting in the target slot.

Private Class Methods

mapper() click to toggle source

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

# File lib/2016-08-01/generated/azure_mgmt_web/models/slot_difference.rb, line 43
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SlotDifference',
    type: {
      name: 'Composite',
      class_name: 'SlotDifference',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        slot_difference_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.type',
          type: {
            name: 'String'
          }
        },
        setting_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.settingType',
          type: {
            name: 'String'
          }
        },
        diff_rule: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.diffRule',
          type: {
            name: 'String'
          }
        },
        setting_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.settingName',
          type: {
            name: 'String'
          }
        },
        value_in_current_slot: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.valueInCurrentSlot',
          type: {
            name: 'String'
          }
        },
        value_in_target_slot: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.valueInTargetSlot',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end