Operations - Get
Get operation.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/locations/{locationName}/operations/{name}?api-version=2018-09-15
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
location
|
path | True |
string |
The name of the location. |
name
|
path | True |
string |
The name of the operation. |
subscription
|
path | True |
string |
The subscription ID. |
api-version
|
query | True |
string |
Client API version. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
202 Accepted |
Accepted |
|
Other Status Codes |
BadRequest |
Security
azure_auth
OAuth2 Implicit Grant
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | Access Microsoft Azure |
Examples
Operations_Get
Sample Request
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/locations/{locationName}/operations/{operationName}?api-version=2018-09-15
Sample Response
{
"status": "Running",
"statusCode": "OK"
}
{
"status": "Running",
"statusCode": "Accepted"
}
Definitions
Name | Description |
---|---|
Cloud |
Error from a REST request. |
Cloud |
Body of an error from a REST request. |
Http |
The status code for the operation. |
Operation |
Error details for the operation in case of a failure. |
Operation |
An Operation Result |
CloudError
Error from a REST request.
Name | Type | Description |
---|---|---|
error |
The cloud error that occurred |
CloudErrorBody
Body of an error from a REST request.
Name | Type | Description |
---|---|---|
code |
string |
The error code. |
details |
Inner errors. |
|
message |
string |
The error message. |
target |
string |
The error target. |
HttpStatusCode
The status code for the operation.
Name | Type | Description |
---|---|---|
Accepted |
string |
|
Ambiguous |
string |
|
BadGateway |
string |
|
BadRequest |
string |
|
Conflict |
string |
|
Continue |
string |
|
Created |
string |
|
ExpectationFailed |
string |
|
Forbidden |
string |
|
Found |
string |
|
GatewayTimeout |
string |
|
Gone |
string |
|
HttpVersionNotSupported |
string |
|
InternalServerError |
string |
|
LengthRequired |
string |
|
MethodNotAllowed |
string |
|
Moved |
string |
|
MovedPermanently |
string |
|
MultipleChoices |
string |
|
NoContent |
string |
|
NonAuthoritativeInformation |
string |
|
NotAcceptable |
string |
|
NotFound |
string |
|
NotImplemented |
string |
|
NotModified |
string |
|
OK |
string |
|
PartialContent |
string |
|
PaymentRequired |
string |
|
PreconditionFailed |
string |
|
ProxyAuthenticationRequired |
string |
|
Redirect |
string |
|
RedirectKeepVerb |
string |
|
RedirectMethod |
string |
|
RequestEntityTooLarge |
string |
|
RequestTimeout |
string |
|
RequestUriTooLong |
string |
|
RequestedRangeNotSatisfiable |
string |
|
ResetContent |
string |
|
SeeOther |
string |
|
ServiceUnavailable |
string |
|
SwitchingProtocols |
string |
|
TemporaryRedirect |
string |
|
Unauthorized |
string |
|
UnsupportedMediaType |
string |
|
Unused |
string |
|
UpgradeRequired |
string |
|
UseProxy |
string |
OperationError
Error details for the operation in case of a failure.
Name | Type | Description |
---|---|---|
code |
string |
The error code of the operation error. |
message |
string |
The error message of the operation error. |
OperationResult
An Operation Result
Name | Type | Description |
---|---|---|
error |
Error details for the operation in case of a failure. |
|
status |
string |
The operation status. |
statusCode |
The status code for the operation. |