operations
Creates, updates, deletes, gets or lists an operations resource.
Overview
| Name | operations |
| Type | Resource |
| Id | azure_isv.vmware_cloud_simple.operations |
Fields
The following fields are returned by SELECT queries:
- get
- list
Successful operation
| Name | Datatype | Description |
|---|---|---|
id | string | Operation Id |
name | string | Operation ID |
endTime | string (date-time) | End time of the operation |
error | object | Error Message if operation failed |
startTime | string (date-time) | Start time of the operation |
status | string | Operation status |
successful operation
| Name | Datatype | Description |
|---|---|---|
name | string | {resourceProviderNamespace}/{resourceType}/{read|write|delete|action} |
display | object | The list of operations |
isDataAction | boolean | Indicating whether the operation is a data action or not |
origin | string | The origin of operation |
properties | object | The list of operation properties |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, regionId, Referer, operationId | api-version | Return an async operation |
list | select | api-version | Return list of operations |
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 |
|---|---|---|
Referer | string | referer url |
operationId | string | operation id |
regionId | string | The region Id (westus, eastus) |
subscriptionId | string | The subscription ID. |
api-version | string | Client API version. |
SELECT examples
- get
- list
Return an async operation
SELECT
id,
name,
endTime,
error,
startTime,
status
FROM azure_isv.vmware_cloud_simple.operations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND regionId = '{{ regionId }}' -- required
AND Referer = '{{ Referer }}' -- required
AND operationId = '{{ operationId }}' -- required
AND api-version = '{{ api-version }}'
;
Return list of operations
SELECT
name,
display,
isDataAction,
origin,
properties
FROM azure_isv.vmware_cloud_simple.operations
WHERE api-version = '{{ api-version }}'
;