Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::OperationResource
- Inherits:
-
Object
- Object
- Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::OperationResource
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation_resource.rb
Overview
The azure async operation response.
Instance Attribute Summary collapse
-
#error ⇒ Errors
The operation error information.
-
#status ⇒ AsyncOperationState
values include: ‘InProgress’, ‘Succeeded’, ‘Failed’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for OperationResource class as Ruby Hash.
Instance Attribute Details
#error ⇒ Errors
Returns The operation error information.
20 21 22 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation_resource.rb', line 20 def error @error end |
#status ⇒ AsyncOperationState
values include: ‘InProgress’, ‘Succeeded’, ‘Failed’
17 18 19 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation_resource.rb', line 17 def status @status end |
Class Method Details
.mapper ⇒ Object
Mapper for OperationResource class as Ruby Hash. This will be used for serialization/deserialization.
27 28 29 30 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 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation_resource.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OperationResource', type: { name: 'Composite', class_name: 'OperationResource', model_properties: { status: { client_side_validation: true, required: false, serialized_name: 'status', type: { name: 'Enum', module: 'AsyncOperationState' } }, error: { client_side_validation: true, required: false, serialized_name: 'error', type: { name: 'Composite', class_name: 'Errors' } } } } } end |