Operation Statuses - Get
Get the status of an operation.
GET {endpoint}/projects/{projectName}/operationstatuses/{operationId}?api-version=2025-02-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
endpoint
|
path | True |
string uri |
The DevCenter-specific URI to operate on. |
operation
|
path | True |
string uuid |
The operation id name. Regex pattern: |
project
|
path | True |
string |
Name of the project. Regex pattern: |
api-version
|
query | True |
string |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The request has succeeded. |
|
Other Status Codes |
An unexpected error response. Headers x-ms-error-code: string |
Security
OAuth2Auth
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
https://devcenter.azure.com/.default |
Examples
Get the status of an operation.
Sample request
GET {endpoint}/projects/myProject/operationstatuses/fa067167-e49d-41bd-8dd8-de719b9de3b3?api-version=2025-02-01
Sample response
{
"id": "/projects/myProject/operationStatuses/fa067167-e49d-41bd-8dd8-de719b9de3b3",
"name": "fa067167-e49d-41bd-8dd8-de719b9de3b3",
"status": "Running",
"startTime": "2024-01-24T21:14:58.472Z"
}
Definitions
Name | Description |
---|---|
Azure. |
The error object. |
Azure. |
A response containing error details. |
Azure. |
An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses. |
Operation |
Provisioning state of the resource. |
Operation |
The current status of an async operation. |
Azure.Core.Foundations.Error
The error object.
Name | Type | Description |
---|---|---|
code |
string |
One of a server-defined set of error codes. |
details |
An array of details about specific errors that led to this reported error. |
|
innererror |
An object containing more specific information than the current object about the error. |
|
message |
string |
A human-readable representation of the error. |
target |
string |
The target of the error. |
Azure.Core.Foundations.ErrorResponse
A response containing error details.
Name | Type | Description |
---|---|---|
error |
The error object. |
Azure.Core.Foundations.InnerError
An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.
Name | Type | Description |
---|---|---|
code |
string |
One of a server-defined set of error codes. |
innererror |
Inner error. |
OperationState
Provisioning state of the resource.
Value | Description |
---|---|
Canceled |
The operation has been canceled by the user. |
Failed |
The operation has failed. |
NotStarted |
The operation has not started. |
Running |
The operation is in progress. |
Succeeded |
The operation has completed successfully. |
OperationStatus
The current status of an async operation.
Name | Type | Description |
---|---|---|
endTime |
string |
The end time of the operation, in RFC3339 format. |
error |
Operation Error message. |
|
id |
string |
Fully qualified ID for the operation status. |
name |
string |
The operation id name. |
percentComplete |
number |
Percent of the operation that is complete. |
properties |
|
Custom operation properties, populated only for a successful operation. |
resourceId |
string |
The id of the resource. |
startTime |
string |
The start time of the operation, in RFC3339 format. |
status |
Provisioning state of the resource. |