Skip to main content

runbook_contents

Creates, updates, deletes, gets or lists a runbook_contents resource.

Overview

Namerunbook_contents
TypeResource
Idazure.automation.runbook_contents

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getexecsubscriptionId, resourceGroupName, automationAccountName, runbookNameRetrieve the content of runbook identified by runbook name.

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.
runbookNamestringThe runbook name.
subscriptionIdstringGets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Lifecycle Methods

Retrieve the content of runbook identified by runbook name.

EXEC azure.automation.runbook_contents.get 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@automationAccountName='{{ automationAccountName }}' --required,
@runbookName='{{ runbookName }}' --required
;