operations
Creates, updates, deletes, gets or lists an operations resource.
Overview
| Name | operations |
| Type | Resource |
| Id | azure.automation.operations |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
name | string | Operation name: {provider}/{resource}/{operation} |
display | | Provider, Resource and Operation values |
origin | string | Origin of the operation. |
properties | object | Operation properties format. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | Lists all of the available Automation REST API operations. | ||
convert_graph_runbook_content | exec | resourceGroupName, automationAccountName, subscriptionId | Post operation to serialize or deserialize GraphRunbookContent |
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 |
|---|---|---|
automationAccountName | string | The name of the automation account. |
resourceGroupName | string | Name of an Azure Resource group. |
subscriptionId | string | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT examples
- list
Lists all of the available Automation REST API operations.
SELECT
name,
display,
origin,
properties
FROM azure.automation.operations
;
Lifecycle Methods
- convert_graph_runbook_content
Post operation to serialize or deserialize GraphRunbookContent
EXEC azure.automation.operations.convert_graph_runbook_content
@resourceGroupName='{{ resourceGroupName }}' --required,
@automationAccountName='{{ automationAccountName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"rawContent": "{{ rawContent }}",
"graphRunbookJson": "{{ graphRunbookJson }}"
}'
;