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
subscriptionId
path True
  • string

The subscription ID.

locationName
path True
  • string

The name of the location.

name
path True
  • string

The name of the operation.

api-version
query True
  • string

Client API version.

Responses

Name Type Description
200 OK

OK

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

Definitions

CloudError

Error from a REST request.

CloudErrorBody

Body of an error from a REST request.

HttpStatusCode

The status code for the operation.

OperationError

Error details for the operation in case of a failure.

OperationResult

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
BadGateway
  • string
BadRequest
  • string
Conflict
  • string
Continue
  • string
Created
  • string
ExpectationFailed
  • string
Forbidden
  • string
GatewayTimeout
  • string
Gone
  • string
HttpVersionNotSupported
  • string
InternalServerError
  • string
LengthRequired
  • string
MethodNotAllowed
  • 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
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.