class Azure::Network::Mgmt::V2016_06_01::Models::AzureAsyncOperationResult

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.

Attributes

error[RW]

@return [Error]

status[RW]

@return [NetworkOperationStatus] Status of the AzureAsyncOperation. Possible values include: 'InProgress', 'Succeeded', 'Failed'

Public Class Methods

mapper() click to toggle source

Mapper for AzureAsyncOperationResult class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2016-06-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureAsyncOperationResult',
    type: {
      name: 'Composite',
      class_name: 'AzureAsyncOperationResult',
      model_properties: {
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        error: {
          client_side_validation: true,
          required: false,
          serialized_name: 'error',
          type: {
            name: 'Composite',
            class_name: 'Error'
          }
        }
      }
    }
  }
end