operations
Creates, updates, deletes, gets or lists an operations resource.
Overview
| Name | operations |
| Type | Resource |
| Id | azure.subscription.operations |
Fields
The following fields are returned by SELECT queries:
- get
- list
Successful completion of the asynchronous operation
| Name | Datatype | Description |
|---|---|---|
subscriptionLink | string | The link to the new subscription. Use this link to check the status of subscription creation operation. |
OK. The request has succeeded.
| Name | Datatype | Description |
|---|---|---|
name | string | Operation name: {provider}/{resource}/{operation} |
display | object | The object that represents the operation. |
isDataAction | boolean | Indicates whether the operation is a data action |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | operationId | Get the status of the pending Microsoft.Subscription API operations. | |
list | select | Lists all of the available Microsoft.Subscription API 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 |
|---|---|---|
operationId | string | The operation ID, which can be found from the Location field in the generate recommendation response header. |
SELECT examples
- get
- list
Get the status of the pending Microsoft.Subscription API operations.
SELECT
subscriptionLink
FROM azure.subscription.operations
WHERE operationId = '{{ operationId }}' -- required
;
Lists all of the available Microsoft.Subscription API operations.
SELECT
name,
display,
isDataAction
FROM azure.subscription.operations
;