compute_operations
Creates, updates, deletes, gets or lists a compute_operations resource.
Overview
| Name | compute_operations |
| Type | Resource |
| Id | azure.cognitive_services.compute_operations |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
endTime | string (date-time) | The end time of the operation. |
error | object | Error details if the operation failed. |
startTime | string (date-time) | The start time of the operation. |
status | string | The status of the operation. Known values are: "InProgress", "Succeeded", "Failed", and "Canceled". (InProgress, Succeeded, Failed, Canceled) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | location, operation_id, subscription_id | Gets the status of a compute 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 |
|---|---|---|
location | string | The name of the Azure region. Required. |
operation_id | string | The ID of the compute operation. Required. |
subscription_id | string |
SELECT examples
- get
Gets the status of a compute operation.
SELECT
id,
name,
endTime,
error,
startTime,
status,
systemData,
type
FROM azure.cognitive_services.compute_operations
WHERE location = '{{ location }}' -- required
AND operation_id = '{{ operation_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;