Skip to main content

runbook_draft_contents

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

Overview

Namerunbook_draft_contents
TypeResource
Idazure.automation.runbook_draft_contents

Fields

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

Methods

NameAccessible byRequired ParamsDescription
getSELECTautomationAccountName, resourceGroupName, runbookName, subscriptionIdRetrieve the content of runbook draft identified by runbook name.
replaceREPLACEautomationAccountName, resourceGroupName, runbookName, subscriptionIdReplaces the runbook draft content.

SELECT examples

Retrieve the content of runbook draft identified by runbook name.

SELECT

FROM azure.automation.runbook_draft_contents
WHERE automationAccountName = '{{ automationAccountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND runbookName = '{{ runbookName }}'
AND subscriptionId = '{{ subscriptionId }}';

REPLACE example

Replaces all fields in the specified runbook_draft_contents resource.

/*+ update */
REPLACE azure.automation.runbook_draft_contents
SET

WHERE
automationAccountName = '{{ automationAccountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND runbookName = '{{ runbookName }}'
AND subscriptionId = '{{ subscriptionId }}';