RunbookDraftOperations class
Class representing a RunbookDraftOperations.
Constructors
Runbook |
Create a RunbookDraftOperations. |
Methods
Constructor Details
RunbookDraftOperations(AutomationClientContext)
Create a RunbookDraftOperations.
new RunbookDraftOperations(client: AutomationClientContext)
Parameters
- client
- AutomationClientContext
Reference to the service client.
Method Details
beginReplaceContent(string, string, string, HttpRequestBody, RequestOptionsBase)
Replaces the runbook draft content.
function beginReplaceContent(resourceGroupName: string, automationAccountName: string, runbookName: string, runbookContent: HttpRequestBody, options?: RequestOptionsBase): Promise<LROPoller>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- runbookContent
- HttpRequestBody
The runbook draft content.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<@azure/ms-rest-azure-js.LROPoller>
Promise<msRestAzure.LROPoller>
get(string, string, string, RequestOptionsBase)
Retrieve the runbook draft identified by runbook name.
function get(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RequestOptionsBase): Promise<RunbookDraftGetResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<RunbookDraftGetResponse>
Promise<Models.RunbookDraftGetResponse>
get(string, string, string, RequestOptionsBase, ServiceCallback<RunbookDraft>)
function get(resourceGroupName: string, automationAccountName: string, runbookName: string, options: RequestOptionsBase, callback: ServiceCallback<RunbookDraft>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
get(string, string, string, ServiceCallback<RunbookDraft>)
function get(resourceGroupName: string, automationAccountName: string, runbookName: string, callback: ServiceCallback<RunbookDraft>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- callback
The callback
getContent(string, string, string, RequestOptionsBase)
Retrieve the content of runbook draft identified by runbook name.
function getContent(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RequestOptionsBase): 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
- RequestOptionsBase
The optional parameters
Returns
Promise<RunbookDraftGetContentResponse>
Promise<Models.RunbookDraftGetContentResponse>
getContent(string, string, string, RequestOptionsBase, ServiceCallback<void>)
function getContent(resourceGroupName: string, automationAccountName: string, runbookName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- options
- RequestOptionsBase
The optional parameters
- callback
-
ServiceCallback<void>
The callback
getContent(string, string, string, ServiceCallback<void>)
function getContent(resourceGroupName: string, automationAccountName: string, runbookName: string, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- callback
-
ServiceCallback<void>
The callback
replaceContent(string, string, string, HttpRequestBody, RequestOptionsBase)
Replaces the runbook draft content.
function replaceContent(resourceGroupName: string, automationAccountName: string, runbookName: string, runbookContent: HttpRequestBody, options?: RequestOptionsBase): 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
- HttpRequestBody
The runbook draft content.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<RunbookDraftReplaceContentResponse>
Promise<Models.RunbookDraftReplaceContentResponse>
undoEdit(string, string, string, RequestOptionsBase)
Undo draft edit to last known published state identified by runbook name.
function undoEdit(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RequestOptionsBase): Promise<RunbookDraftUndoEditResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<RunbookDraftUndoEditResponse>
Promise<Models.RunbookDraftUndoEditResponse>
undoEdit(string, string, string, RequestOptionsBase, ServiceCallback<RunbookDraftUndoEditResult>)
function undoEdit(resourceGroupName: string, automationAccountName: string, runbookName: string, options: RequestOptionsBase, callback: ServiceCallback<RunbookDraftUndoEditResult>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
undoEdit(string, string, string, ServiceCallback<RunbookDraftUndoEditResult>)
function undoEdit(resourceGroupName: string, automationAccountName: string, runbookName: string, callback: ServiceCallback<RunbookDraftUndoEditResult>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- callback
The callback