operations
Creates, updates, deletes, gets or lists an operations resource.
Overview
| Name | operations |
| Type | Resource |
| Id | azure.dev_test_labs.operations |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
error | object | Error details for the operation in case of a failure. |
status | string | The operation status. |
statusCode | string | The status code for the operation. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, locationName, name | api-version | Get operation. |
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 | The name of the location. |
name | string | The name of the operation. |
subscriptionId | string | The subscription ID. |
api-version | string | Client API version. |
SELECT examples
- get
Get operation.
SELECT
error,
status,
statusCode
FROM azure.dev_test_labs.operations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND locationName = '{{ locationName }}' -- required
AND name = '{{ name }}' -- required
AND api-version = '{{ api-version }}'
;