Class: Azure::ARM::Web::Models::SlotDifference
- Inherits:
-
MsRestAzure::Resource
- Object
- MsRestAzure::Resource
- Azure::ARM::Web::Models::SlotDifference
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_web/models/slot_difference.rb
Overview
An object describing the difference in setting values between two web app slots
Instance Attribute Summary collapse
-
#description ⇒ String
Description of the difference.
-
#diff_rule ⇒ String
settings during web app slot swap.
-
#setting_name ⇒ String
Name of the setting.
-
#setting_type ⇒ String
ConnectionString.
-
#slot_difference_type ⇒ String
Warning or Error.
-
#value_in_current_slot ⇒ String
Value of the setting in the current web app slot.
-
#value_in_target_slot ⇒ String
Value of the setting in the target web app slot.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SlotDifference class as Ruby Hash.
Instance Attribute Details
#description ⇒ String
Returns Description of the difference.
38 39 40 |
# File 'lib/generated/azure_mgmt_web/models/slot_difference.rb', line 38 def description @description end |
#diff_rule ⇒ String
settings during web app slot swap.
26 27 28 |
# File 'lib/generated/azure_mgmt_web/models/slot_difference.rb', line 26 def diff_rule @diff_rule end |
#setting_name ⇒ String
Returns Name of the setting.
29 30 31 |
# File 'lib/generated/azure_mgmt_web/models/slot_difference.rb', line 29 def setting_name @setting_name end |
#setting_type ⇒ String
ConnectionString
22 23 24 |
# File 'lib/generated/azure_mgmt_web/models/slot_difference.rb', line 22 def setting_type @setting_type end |
#slot_difference_type ⇒ String
Warning or Error.
18 19 20 |
# File 'lib/generated/azure_mgmt_web/models/slot_difference.rb', line 18 def slot_difference_type @slot_difference_type end |
#value_in_current_slot ⇒ String
Returns Value of the setting in the current web app slot.
32 33 34 |
# File 'lib/generated/azure_mgmt_web/models/slot_difference.rb', line 32 def value_in_current_slot @value_in_current_slot end |
#value_in_target_slot ⇒ String
Returns Value of the setting in the target web app slot.
35 36 37 |
# File 'lib/generated/azure_mgmt_web/models/slot_difference.rb', line 35 def value_in_target_slot @value_in_target_slot end |
Class Method Details
.mapper ⇒ Object
Mapper for SlotDifference class as Ruby Hash. This will be used for serialization/deserialization.
45 46 47 48 49 50 51 52 53 54 55 56 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 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 |
# File 'lib/generated/azure_mgmt_web/models/slot_difference.rb', line 45 def self.mapper() { required: false, serialized_name: 'SlotDifference', type: { name: 'Composite', class_name: 'SlotDifference', model_properties: { id: { required: false, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, 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 |