operation_status
Creates, updates, deletes, gets or lists an operation_status resource.
Overview
| Name | operation_status |
| Type | Resource |
| Id | azure.media_services.operation_status |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | Operation resource ID. |
name | string | Operation identifier. |
endTime | string (date-time) | Operation end time. |
error | object | The error detail. |
startTime | string (date-time) | Operation start time. |
status | string | Operation status. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, locationName, operationId | api-version | Get media service operation status. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
locationName | string | Location name. |
operationId | string | Operation ID. |
subscriptionId | string | The unique identifier for a Microsoft Azure subscription. |
api-version | string | The version of the API to be used with the client request. |
SELECT examples
- get
Get media service operation status.
SELECT
id,
name,
endTime,
error,
startTime,
status
FROM azure.media_services.operation_status
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND locationName = '{{ locationName }}' -- required
AND operationId = '{{ operationId }}' -- required
AND api-version = '{{ api-version }}'
;