Delen via


Operation Statuses - Get

Haal de status op van een langlopende asynchrone Azure-bewerking.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/locations/{location}/operationStatuses/{asyncOperationId}?api-version=2023-09-01

URI-parameters

Name In Vereist Type Description
asyncOperationId
path True

string

De bewerkings-id.

location
path True

string

De regionaam van de bewerking.

subscriptionId
path True

string

De id van het doelabonnement.

api-version
query True

string

De API-versie die voor deze bewerking moet worden gebruikt.

Antwoorden

Name Type Description
200 OK

OperationStatus

OK. Bewerkingsstatus.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom

Type: oauth2
Stroom: implicit
Autorisatie-URL: https://login.microsoftonline.com/common/oauth2/authorize

Bereiken

Name Description
user_impersonation uw gebruikersaccount imiteren

Voorbeelden

Get specific operation status

Voorbeeldaanvraag

GET https://management.azure.com/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/providers/Microsoft.OperationalInsights/locations/West US/operationStatuses/713192d7-503f-477a-9cfe-4efc3ee2bd11?api-version=2023-09-01

Voorbeeldrespons

{
  "id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/locations/westus/operationStatuses/713192d7-503f-477a-9cfe-4efc3ee2bd11",
  "name": "713192d7-503f-477a-9cfe-4efc3ee2bd11",
  "startTime": "2017-01-01T13:13:13.933Z",
  "endTime": "2017-01-01T16:13:13.933Z",
  "status": "Succeeded"
}

Definities

Name Description
ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ErrorDetail

De foutdetails.

ErrorResponse

Foutreactie

OperationStatus

De status van de bewerking.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

Name Type Description
info

object

De aanvullende informatie.

type

string

Het type aanvullende informatie.

ErrorDetail

De foutdetails.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

Aanvullende informatie over de fout.

code

string

De foutcode.

details

ErrorDetail[]

De foutdetails.

message

string

Het foutbericht.

target

string

Het foutdoel.

ErrorResponse

Foutreactie

Name Type Description
error

ErrorDetail

Het foutobject.

OperationStatus

De status van de bewerking.

Name Type Description
endTime

string

De eindtijd van de bewerking.

error

ErrorResponse

Foutreactie
De foutdetails van de bewerking, indien van toepassing.

id

string

De bewerkings-id.

name

string

De naam van de bewerking.

startTime

string

De begintijd van de bewerking.

status

string

De status van de bewerking.