Class: Azure::ApiManagement::Mgmt::V2016_07_07::Models::TenantLongRunningOperationResult
- Inherits:
-
Object
- Object
- Azure::ApiManagement::Mgmt::V2016_07_07::Models::TenantLongRunningOperationResult
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-07-07/generated/azure_mgmt_api_management/models/tenant_long_running_operation_result.rb
Overview
A standard service response for long running tenant operations.
Instance Attribute Summary collapse
-
#operation_status_link ⇒ String
Operation status link.
- #request_id ⇒ String
-
#retry_after ⇒ Integer
The number of minutes to retry the operation after.
-
#status ⇒ OperationStatus
values include: ‘InProgress’, ‘Succeeded’, ‘Failed’.
-
#status_code ⇒ HttpStatusCode
‘Created’, ‘Accepted’, ‘NotFound’, ‘Conflict’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TenantLongRunningOperationResult class as Ruby Hash.
Instance Attribute Details
#operation_status_link ⇒ String
Returns operation status link.
16 17 18 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/tenant_long_running_operation_result.rb', line 16 def operation_status_link @operation_status_link end |
#request_id ⇒ String
30 31 32 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/tenant_long_running_operation_result.rb', line 30 def request_id @request_id end |
#retry_after ⇒ Integer
Returns The number of minutes to retry the operation after.
19 20 21 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/tenant_long_running_operation_result.rb', line 19 def retry_after @retry_after end |
#status ⇒ OperationStatus
values include: ‘InProgress’, ‘Succeeded’, ‘Failed’
23 24 25 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/tenant_long_running_operation_result.rb', line 23 def status @status end |
#status_code ⇒ HttpStatusCode
‘Created’, ‘Accepted’, ‘NotFound’, ‘Conflict’
27 28 29 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/tenant_long_running_operation_result.rb', line 27 def status_code @status_code end |
Class Method Details
.mapper ⇒ Object
Mapper for TenantLongRunningOperationResult class as Ruby Hash. This will be used for serialization/deserialization.
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 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/tenant_long_running_operation_result.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TenantLongRunningOperationResult', type: { name: 'Composite', class_name: 'TenantLongRunningOperationResult', model_properties: { operation_status_link: { client_side_validation: true, required: false, serialized_name: 'operationStatusLink', type: { name: 'String' } }, retry_after: { client_side_validation: true, required: false, serialized_name: 'retryAfter', type: { name: 'Number' } }, status: { client_side_validation: true, required: false, serialized_name: 'status', type: { name: 'Enum', module: 'OperationStatus' } }, status_code: { client_side_validation: true, required: false, serialized_name: 'statusCode', type: { name: 'Enum', module: 'HttpStatusCode' } }, request_id: { client_side_validation: true, required: false, serialized_name: 'requestId', type: { name: 'String' } } } } } end |