Class OperationGetRequest
- Namespace
- Uralstech.UCloud.Operations
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
public class OperationGetRequest : IOperationsGetRequest, IOperationsRequest
- Inheritance
-
objectOperationGetRequest
- Implements
Remarks
Return type is Operation or Operation<TMetadata, TResponse>.
Constructors
OperationGetRequest(string)
Creates a new OperationGetRequest.
public OperationGetRequest(string operationName)
Parameters
operationName
stringThe resource name of the operation to get.
Fields
OperationName
The resource name of the operation to get.
public string OperationName
Field Value
- string
Properties
BaseServiceUri
The base endpoint URI for the request.
public string BaseServiceUri { get; set; }
Property Value
- string
Remarks
This may be a specific service endpoint which contains the operations.
Methods
GetEndpointUri()
Gets the URI to the API endpoint.
public string GetEndpointUri()
Returns
- string
The URI.