Operations Status - Get
Gets the status of operation.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Cache/locations/{location}/operationsStatus/{operationId}?api-version=2024-10-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
location
|
path | True |
string |
The name of Azure region. |
operation
|
path | True |
string |
The ID of an ongoing async operation. |
subscription
|
path | True |
string |
The ID of the target subscription. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Success. The detailed status of the operation is in the response. |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
OperationsStatusGet
Sample request
GET https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/locations/West US/operationsStatus/testoperationid?api-version=2024-10-01
Sample response
{
"id": "/subscriptions/subid/providers/Microsoft.Cache/locations/westus/operationsStatus/testoperationid",
"name": "testoperationid",
"startTime": "2017-01-01T13:13:13.933Z",
"endTime": "2017-01-01T16:13:13.933Z",
"status": "Succeeded"
}
Definitions
Name | Description |
---|---|
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Operation |
The status of a long-running operation. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
OperationStatus
The status of a long-running operation.
Name | Type | Description |
---|---|---|
endTime |
string |
The end time of the operation. |
error |
Error response |
|
id |
string |
The operation's unique id. |
name |
string |
The operation's name. |
startTime |
string |
The start time of the operation. |
status |
string |
The current status of the operation. |