Class: Azure::Resources::Mgmt::V2020_06_01::Models::WhatIfChange
- Inherits:
-
Object
- Object
- Azure::Resources::Mgmt::V2020_06_01::Models::WhatIfChange
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_change.rb
Overview
Information about a single resource change predicted by What-If operation.
Instance Attribute Summary collapse
-
#after ⇒ Object
executed.
-
#before ⇒ Object
The snapshot of the resource before the deployment is executed.
-
#change_type ⇒ ChangeType
when the deployment is executed.
-
#delta ⇒ Array<WhatIfPropertyChange>
properties.
-
#resource_id ⇒ String
Resource ID.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for WhatIfChange class as Ruby Hash.
Instance Attribute Details
#after ⇒ Object
executed.
29 30 31 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_change.rb', line 29 def after @after end |
#before ⇒ Object
Returns The snapshot of the resource before the deployment is executed.
25 26 27 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_change.rb', line 25 def before @before end |
#change_type ⇒ ChangeType
when the deployment is executed. Possible values include: ‘Create’, ‘Delete’, ‘Ignore’, ‘Deploy’, ‘NoChange’, ‘Modify’
22 23 24 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_change.rb', line 22 def change_type @change_type end |
#delta ⇒ Array<WhatIfPropertyChange>
properties.
33 34 35 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_change.rb', line 33 def delta @delta end |
#resource_id ⇒ String
Returns Resource ID.
17 18 19 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_change.rb', line 17 def resource_id @resource_id end |
Class Method Details
.mapper ⇒ Object
Mapper for WhatIfChange class as Ruby Hash. This will be used for serialization/deserialization.
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 99 100 101 102 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_change.rb', line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'WhatIfChange', type: { name: 'Composite', class_name: 'WhatIfChange', model_properties: { resource_id: { client_side_validation: true, required: true, serialized_name: 'resourceId', type: { name: 'String' } }, change_type: { client_side_validation: true, required: true, serialized_name: 'changeType', type: { name: 'Enum', module: 'ChangeType' } }, 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' } }, delta: { client_side_validation: true, required: false, serialized_name: 'delta', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'WhatIfPropertyChangeElementType', type: { name: 'Composite', class_name: 'WhatIfPropertyChange' } } } } } } } end |