Skip to main content

operations

Creates, updates, deletes, gets or lists an operations resource.

Overview

Nameoperations
TypeResource
Idazure.automation.operations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringOperation name: {provider}/{resource}/{operation}
displayProvider, Resource and Operation values
originstringOrigin of the operation.
propertiesobjectOperation properties format.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectLists all of the available Automation REST API operations.
convert_graph_runbook_contentexecresourceGroupName, automationAccountName, subscriptionIdPost 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.

NameDatatypeDescription
automationAccountNamestringThe name of the automation account.
resourceGroupNamestringName of an Azure Resource group.
subscriptionIdstringGets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Lists all of the available Automation REST API operations.

SELECT
name,
display,
origin,
properties
FROM azure.automation.operations
;

Lifecycle Methods

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 }}"
}'
;