次の方法で共有


Private Link Scope Operation Status - Get

Get the status of an azure asynchronous operation associated with a private link scope operation.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopeOperationStatuses/{asyncOperationId}?api-version=2021-07-01-preview

URI Parameters

Name In Required Type Description
asyncOperationId
path True

string

The operation Id.

resourceGroupName
path True

string

The name of the resource group. The name is case insensitive.

subscriptionId
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

OperationStatus

OK. Operation status.

Other Status Codes

DefaultErrorResponse

An error occurred.

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

Get specific operation status

Sample request

GET https://management.azure.com/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/MyResourceGroup/providers/microsoft.insights/privateLinkScopeOperationStatuses/713192d7-503f-477a-9cfe-4efc3ee2bd11?api-version=2021-07-01-preview

Sample response

{
  "id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopeOperationStatuses/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"
}

Definitions

Name Description
DefaultErrorResponse

Default error response

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

OperationStatus

The status of operation.

DefaultErrorResponse

Default error response

Name Type Description
error

ErrorDetail

The error object.

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

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

OperationStatus

The status of operation.

Name Type Description
endTime

string

End time of the job in standard ISO8601 format.

error

ErrorDetail

The error detail of the operation if any.

id

string

The operation Id.

name

string

The operation name.

startTime

string

Start time of the job in standard ISO8601 format.

status

string

The status of the operation.