Class: Azure::ARM::Network::Models::AzureAsyncOperationResult
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::AzureAsyncOperationResult
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_network/models/azure_async_operation_result.rb
Overview
The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure.
Instance Attribute Summary collapse
- #error ⇒ Error
-
#status ⇒ NetworkOperationStatus
Possible values are: ‘InProgress’, ‘Succeeded’, and ‘Failed’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AzureAsyncOperationResult class as Ruby Hash.
Instance Attribute Details
#error ⇒ Error
29 30 31 |
# File 'lib/generated/azure_mgmt_network/models/azure_async_operation_result.rb', line 29 def error @error end |
#status ⇒ NetworkOperationStatus
Possible values are: ‘InProgress’, ‘Succeeded’, and ‘Failed’. Possible values include: ‘InProgress’, ‘Succeeded’, ‘Failed’
26 27 28 |
# File 'lib/generated/azure_mgmt_network/models/azure_async_operation_result.rb', line 26 def status @status end |
Class Method Details
.mapper ⇒ Object
Mapper for AzureAsyncOperationResult class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/generated/azure_mgmt_network/models/azure_async_operation_result.rb', line 36 def self.mapper() { required: false, serialized_name: 'AzureAsyncOperationResult', type: { name: 'Composite', class_name: 'AzureAsyncOperationResult', model_properties: { status: { required: false, serialized_name: 'status', type: { name: 'String' } }, error: { required: false, serialized_name: 'error', type: { name: 'Composite', class_name: 'Error' } } } } } end |