Class: Azure::Resources::Mgmt::V2019_10_01::Models::WhatIfOperationResult
- Inherits:
-
Object
- Object
- Azure::Resources::Mgmt::V2019_10_01::Models::WhatIfOperationResult
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_operation_result.rb
Overview
Result of the What-If operation. Contains a list of predicted changes and a URL link to get to the next set of results.
Instance Attribute Summary collapse
-
#changes ⇒ Array<WhatIfChange>
What-If operation.
-
#error ⇒ ErrorResponse
Error when What-If operation fails.
-
#status ⇒ String
Status of the What-If operation.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for WhatIfOperationResult class as Ruby Hash.
Instance Attribute Details
#changes ⇒ Array<WhatIfChange>
What-If operation.
21 22 23 |
# File 'lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_operation_result.rb', line 21 def changes @changes end |
#error ⇒ ErrorResponse
Returns Error when What-If operation fails.
24 25 26 |
# File 'lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_operation_result.rb', line 24 def error @error end |
#status ⇒ String
Returns Status of the What-If operation.
17 18 19 |
# File 'lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_operation_result.rb', line 17 def status @status end |
Class Method Details
.mapper ⇒ Object
Mapper for WhatIfOperationResult class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 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 |
# File 'lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_operation_result.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'WhatIfOperationResult', type: { name: 'Composite', class_name: 'WhatIfOperationResult', model_properties: { status: { client_side_validation: true, required: false, serialized_name: 'status', type: { name: 'String' } }, changes: { client_side_validation: true, required: false, serialized_name: 'properties.changes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'WhatIfChangeElementType', type: { name: 'Composite', class_name: 'WhatIfChange' } } } }, error: { client_side_validation: true, required: false, serialized_name: 'error', type: { name: 'Composite', class_name: 'ErrorResponse' } } } } } end |