Asc Operations - Get

Gets the status of an asynchronous operation for the Azure HPC Cache

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/locations/{location}/ascOperations/{operationId}?api-version=2024-03-01

URI Parameters

Name In Required Type Description
location
path True

string

The name of Azure region.

operationId
path True

string

The ID of an ongoing async operation.

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

AscOperation

The asynchronous operation was returned.

Other Status Codes

CloudError

Error response describing why the operation failed.

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

AscOperations_Get

Sample Request

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/testoperationid?api-version=2024-03-01

Sample Response

{
  "id": "/subscriptions/id/locations/westus/ascOperations/testoperationid",
  "name": "testoperationid",
  "startTime": "2023-01-01T13:13:13.933Z",
  "endTime": "2023-01-01T16:13:13.933Z",
  "status": "Succeeded"
}

Definitions

Name Description
AscOperation

The status of operation.

AscOperationErrorResponse

Describes the format of Error response.

CloudError

An error response.

CloudErrorBody

An error response.

AscOperation

The status of operation.

Name Type Description
endTime

string

The end time of the operation.

error

AscOperationErrorResponse

The error detail of the operation if any.

id

string

The operation Id.

name

string

The operation name.

properties.output

object

Additional operation-specific output.

startTime

string

The start time of the operation.

status

string

The status of the operation.

AscOperationErrorResponse

Describes the format of Error response.

Name Type Description
code

string

Error code

message

string

Error message indicating why the operation failed.

CloudError

An error response.

Name Type Description
error

CloudErrorBody

The body of the error.

CloudErrorBody

An error response.

Name Type Description
code

string

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

details

CloudErrorBody[]

A list of additional details about the error.

message

string

A message describing the error, intended to be suitable for display in a user interface.

target

string

The target of the particular error. For example, the name of the property in error.