# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Web module Models # # An object describing the difference in setting values between two web app # slots # class SlotDifference < MsRestAzure::Resource include MsRestAzure # @return [String] Indicates the type of the difference: Information, # Warning or Error. attr_accessor :slot_difference_type # @return [String] The type of the settings: General, AppSetting or # ConnectionString attr_accessor :setting_type # @return [String] Rule that describes how to process the difference in # settings during web app slot swap. attr_accessor :diff_rule # @return [String] Name of the setting attr_accessor :setting_name # @return [String] Value of the setting in the current web app slot attr_accessor :value_in_current_slot # @return [String] Value of the setting in the target web app slot attr_accessor :value_in_target_slot # @return [String] Description of the difference attr_accessor :description # # Mapper for SlotDifference class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'SlotDifference', type: { name: 'Composite', class_name: 'SlotDifference', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { required: true, serialized_name: 'name', type: { name: 'String' } }, kind: { required: false, serialized_name: 'kind', type: { name: 'String' } }, location: { required: true, serialized_name: 'location', type: { name: 'String' } }, type: { required: false, serialized_name: 'type', type: { name: 'String' } }, tags: { required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, slot_difference_type: { required: false, serialized_name: 'properties.type', type: { name: 'String' } }, setting_type: { required: false, serialized_name: 'properties.settingType', type: { name: 'String' } }, diff_rule: { required: false, serialized_name: 'properties.diffRule', type: { name: 'String' } }, setting_name: { required: false, serialized_name: 'properties.settingName', type: { name: 'String' } }, value_in_current_slot: { required: false, serialized_name: 'properties.valueInCurrentSlot', type: { name: 'String' } }, value_in_target_slot: { required: false, serialized_name: 'properties.valueInTargetSlot', type: { name: 'String' } }, description: { required: false, serialized_name: 'properties.description', type: { name: 'String' } } } } } end end end end