Streaming Endpoints - Async Operation

Get operation status.
Get a streaming endpoint operation status.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpointOperations/{operationId}?api-version=2022-11-01

URI Parameters

Name In Required Type Description
accountName
path True

string

The Media Services account name.

operationId
path True

string

The ID of an ongoing async operation.

resourceGroupName
path True

string

The name of the resource group within the Azure subscription.

subscriptionId
path True

string

The unique identifier for a Microsoft Azure subscription.

api-version
query True

string

The version of the API to be used with the client request.

Responses

Name Type Description
200 OK

AsyncOperationResult

OK. The request has succeeded.

Other Status Codes

ErrorResponse

The streaming error response describing why the operation failed.

Examples

Get the streaming endpoint operation status

Sample Request

GET https://management.azure.com/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingEndpointOperations/62e4d893-d233-4005-988e-a428d9f77076?api-version=2022-11-01

Sample Response

{
  "error": {
    "code": "None",
    "message": null,
    "target": "d7aea790-8acb-40b9-8f9f-21cc37c9e519"
  },
  "name": "62e4d893-d233-4005-988e-a428d9f77076",
  "status": "InProgress"
}

Definitions

Name Description
AsyncOperationResult

The status of an async operation.

AsyncOperationStatus

Operation status of the async operation.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

AsyncOperationResult

The status of an async operation.

Name Type Description
error

ErrorDetail

The error object

name

string

Operation Id of the async operation.

status

AsyncOperationStatus

Operation status of the async operation.

AsyncOperationStatus

Operation status of the async operation.

Name Type Description
Failed

string

InProgress

string

Succeeded

string

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.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.