RunbookDraftOperationsOperations interface

Interface representing a RunbookDraftOperations operations.

Properties

beginReplaceContent
beginReplaceContentAndWait
get

Retrieve the runbook draft identified by runbook name.

getContent

Retrieve the content of runbook draft identified by runbook name.

replaceContent

Replaces the runbook draft content.

undoEdit

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

Property Details

beginReplaceContent

Warning

This API is now deprecated.

use replaceContent instead

beginReplaceContent: (resourceGroupName: string, automationAccountName: string, runbookName: string, runbookContent: string, options?: RunbookDraftOperationsReplaceContentOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, automationAccountName: string, runbookName: string, runbookContent: string, options?: RunbookDraftOperationsReplaceContentOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginReplaceContentAndWait

Warning

This API is now deprecated.

use replaceContent instead

beginReplaceContentAndWait: (resourceGroupName: string, automationAccountName: string, runbookName: string, runbookContent: string, options?: RunbookDraftOperationsReplaceContentOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, automationAccountName: string, runbookName: string, runbookContent: string, options?: RunbookDraftOperationsReplaceContentOptionalParams) => Promise<void>

get

Retrieve the runbook draft identified by runbook name.

get: (resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RunbookDraftOperationsGetOptionalParams) => Promise<RunbookDraft>

Property Value

(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RunbookDraftOperationsGetOptionalParams) => Promise<RunbookDraft>

getContent

Retrieve the content of runbook draft identified by runbook name.

getContent: (resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RunbookDraftOperationsGetContentOptionalParams) => Promise<RunbookDraftOperationsGetContentResponse>

Property Value

(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RunbookDraftOperationsGetContentOptionalParams) => Promise<RunbookDraftOperationsGetContentResponse>

replaceContent

Replaces the runbook draft content.

replaceContent: (resourceGroupName: string, automationAccountName: string, runbookName: string, runbookContent: string, options?: RunbookDraftOperationsReplaceContentOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, automationAccountName: string, runbookName: string, runbookContent: string, options?: RunbookDraftOperationsReplaceContentOptionalParams) => PollerLike<OperationState<void>, void>

undoEdit

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

undoEdit: (resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RunbookDraftOperationsUndoEditOptionalParams) => Promise<RunbookDraftUndoEditResult>

Property Value

(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RunbookDraftOperationsUndoEditOptionalParams) => Promise<RunbookDraftUndoEditResult>