Skip to main content

job_runbook_contents

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

Overview

Namejob_runbook_contents
TypeResource
Idazure.automation.job_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, jobNameclientRequestIdRetrieve the runbook content of the job identified by job 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.
jobNamestringThe job name.
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.
clientRequestIdstringIdentifies this specific client request.

Lifecycle Methods

Retrieve the runbook content of the job identified by job name.

EXEC azure.automation.job_runbook_contents.get 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@automationAccountName='{{ automationAccountName }}' --required,
@jobName='{{ jobName }}' --required,
@clientRequestId='{{ clientRequestId }}'
;