Class: Azure::ApiManagement::Mgmt::V2017_03_01::Models::OperationResultContract
- Inherits:
-
Object
- Object
- Azure::ApiManagement::Mgmt::V2017_03_01::Models::OperationResultContract
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb
Overview
Operation Result.
Instance Attribute Summary collapse
-
#action_log ⇒ Array<OperationResultLogItemContract>
provided as part of the TenantConfiguration_Validate operation.
-
#error ⇒ ErrorResponse
Error Body Contract.
-
#id ⇒ String
Operation result identifier.
-
#result_info ⇒ String
Optional result info.
-
#started ⇒ DateTime
to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
-
#status ⇒ AsyncOperationStatus
values include: ‘Started’, ‘InProgress’, ‘Succeeded’, ‘Failed’.
-
#updated ⇒ DateTime
conforms to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for OperationResultContract class as Ruby Hash.
Instance Attribute Details
#action_log ⇒ Array<OperationResultLogItemContract>
provided as part of the TenantConfiguration_Validate operation. It contains the log the entities which will be updated/created/deleted as part of the TenantConfiguration_Deploy operation.
44 45 46 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb', line 44 def action_log @action_log end |
#error ⇒ ErrorResponse
Returns Error Body Contract.
38 39 40 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb', line 38 def error @error end |
#id ⇒ String
Returns Operation result identifier.
16 17 18 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb', line 16 def id @id end |
#result_info ⇒ String
Returns Optional result info.
35 36 37 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb', line 35 def result_info @result_info end |
#started ⇒ DateTime
to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
26 27 28 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb', line 26 def started @started end |
#status ⇒ AsyncOperationStatus
values include: ‘Started’, ‘InProgress’, ‘Succeeded’, ‘Failed’
20 21 22 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb', line 20 def status @status end |
#updated ⇒ DateTime
conforms to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
32 33 34 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb', line 32 def updated @updated end |
Class Method Details
.mapper ⇒ Object
Mapper for OperationResultContract class as Ruby Hash. This will be used for serialization/deserialization.
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 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb', line 51 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OperationResultContract', type: { name: 'Composite', class_name: 'OperationResultContract', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, status: { client_side_validation: true, required: false, serialized_name: 'status', type: { name: 'Enum', module: 'AsyncOperationStatus' } }, started: { client_side_validation: true, required: false, serialized_name: 'started', type: { name: 'DateTime' } }, updated: { client_side_validation: true, required: false, serialized_name: 'updated', type: { name: 'DateTime' } }, result_info: { client_side_validation: true, required: false, serialized_name: 'resultInfo', type: { name: 'String' } }, error: { client_side_validation: true, required: false, serialized_name: 'error', type: { name: 'Composite', class_name: 'ErrorResponse' } }, action_log: { client_side_validation: true, required: false, read_only: true, serialized_name: 'actionLog', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'OperationResultLogItemContractElementType', type: { name: 'Composite', class_name: 'OperationResultLogItemContract' } } } } } } } end |