RunbookDraftOperations interface
Interface representing a RunbookDraftOperations.
Methods
begin |
Replaces the runbook draft content. |
begin |
Replaces the runbook draft content. |
get(string, string, string, Runbook |
Retrieve the runbook draft identified by runbook name. |
get |
Retrieve the content of runbook draft identified by runbook name. |
undo |
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.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<RunbookDraftReplaceContentResponse>, RunbookDraftReplaceContentResponse>>
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.
The options parameters.
Returns
Promise<RunbookDraftReplaceContentResponse>
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.
The options parameters.
Returns
Promise<RunbookDraftGetContentResponse>
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.
The options parameters.
Returns
Promise<RunbookDraftUndoEditResult>
Azure SDK for JavaScript