RunbookDraftOperations interface

Interface representing a RunbookDraftOperations.

Methods

beginReplaceContent(string, string, string, string, RunbookDraftReplaceContentOptionalParams)

Replaces the runbook draft content.

beginReplaceContentAndWait(string, string, string, string, RunbookDraftReplaceContentOptionalParams)

Replaces the runbook draft content.

get(string, string, string, RunbookDraftGetOptionalParams)

Retrieve the runbook draft identified by runbook name.

getContent(string, string, string, RunbookDraftGetContentOptionalParams)

Retrieve the content of runbook draft identified by runbook name.

undoEdit(string, string, string, RunbookDraftUndoEditOptionalParams)

Undo draft edit to last known published state identified by runbook name.

Method Details

beginReplaceContent(string, string, string, string, RunbookDraftReplaceContentOptionalParams)

Replaces the runbook draft content.

function beginReplaceContent(resourceGroupName: string, automationAccountName: string, runbookName: string, runbookContent: string, options?: RunbookDraftReplaceContentOptionalParams): Promise<PollerLike<PollOperationState<RunbookDraftReplaceContentResponse>, RunbookDraftReplaceContentResponse>>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

runbookContent

string

The runbook draft content.

options
RunbookDraftReplaceContentOptionalParams

The options parameters.

Returns

beginReplaceContentAndWait(string, string, string, string, RunbookDraftReplaceContentOptionalParams)

Replaces the runbook draft content.

function beginReplaceContentAndWait(resourceGroupName: string, automationAccountName: string, runbookName: string, runbookContent: string, options?: RunbookDraftReplaceContentOptionalParams): Promise<RunbookDraftReplaceContentResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

runbookContent

string

The runbook draft content.

options
RunbookDraftReplaceContentOptionalParams

The options parameters.

Returns

get(string, string, string, RunbookDraftGetOptionalParams)

Retrieve the runbook draft identified by runbook name.

function get(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RunbookDraftGetOptionalParams): Promise<RunbookDraft>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

options
RunbookDraftGetOptionalParams

The options parameters.

Returns

Promise<RunbookDraft>

getContent(string, string, string, RunbookDraftGetContentOptionalParams)

Retrieve the content of runbook draft identified by runbook name.

function getContent(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RunbookDraftGetContentOptionalParams): Promise<RunbookDraftGetContentResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

options
RunbookDraftGetContentOptionalParams

The options parameters.

Returns

undoEdit(string, string, string, RunbookDraftUndoEditOptionalParams)

Undo draft edit to last known published state identified by runbook name.

function undoEdit(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RunbookDraftUndoEditOptionalParams): Promise<RunbookDraftUndoEditResult>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

options
RunbookDraftUndoEditOptionalParams

The options parameters.

Returns