class Azure::Resources::Mgmt::V2019_07_01::Models::WhatIfChange
Information about a single resource change predicted by What-If operation.
Attributes
after[RW]
@return The predicted snapshot of the resource after the deployment is executed.
before[RW]
@return The snapshot of the resource before the deployment is executed.
change_type[RW]
@return [ChangeType] Type of change that will be made to the resource when the deployment is executed. Possible values include: 'Create', 'Delete', 'Ignore', 'Deploy', 'NoChange', 'Modify'
delta[RW]
@return [Array<WhatIfPropertyChange>] The predicted changes to resource properties.
resource_id[RW]
@return [String] Resource
ID
Public Class Methods
mapper()
click to toggle source
Mapper for WhatIfChange
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-07-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