Class: Azure::Resources::Mgmt::V2020_06_01::Models::WhatIfPropertyChange
- Inherits:
-
Object
- Object
- Azure::Resources::Mgmt::V2020_06_01::Models::WhatIfPropertyChange
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_property_change.rb
Overview
The predicted change to the resource property.
Instance Attribute Summary collapse
-
#after ⇒ Object
The value of the property after the deployment is executed.
-
#before ⇒ Object
The value of the property before the deployment is executed.
-
#children ⇒ Array<WhatIfPropertyChange>
Nested property changes.
-
#path ⇒ String
The path of the property.
-
#property_change_type ⇒ PropertyChangeType
values include: ‘Create’, ‘Delete’, ‘Modify’, ‘Array’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for WhatIfPropertyChange class as Ruby Hash.
Instance Attribute Details
#after ⇒ Object
Returns The value of the property after the deployment is executed.
26 27 28 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_property_change.rb', line 26 def after @after end |
#before ⇒ Object
Returns The value of the property before the deployment is executed.
23 24 25 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_property_change.rb', line 23 def before @before end |
#children ⇒ Array<WhatIfPropertyChange>
Returns Nested property changes.
29 30 31 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_property_change.rb', line 29 def children @children end |
#path ⇒ String
Returns The path of the property.
16 17 18 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_property_change.rb', line 16 def path @path end |
#property_change_type ⇒ PropertyChangeType
values include: ‘Create’, ‘Delete’, ‘Modify’, ‘Array’
20 21 22 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_property_change.rb', line 20 def property_change_type @property_change_type end |
Class Method Details
.mapper ⇒ Object
Mapper for WhatIfPropertyChange class as Ruby Hash. This will be used for serialization/deserialization.
36 37 38 39 40 41 42 43 44 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 |
# 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 |