Partager via


RunbookOperations class

Classe représentant un RunbookOperations.

Constructeurs

RunbookOperations(AutomationClientContext)

Créez un RunbookOperations.

Méthodes

beginPublish(string, string, string, RequestOptionsBase)

Publier un brouillon de runbook.

createOrUpdate(string, string, string, RunbookCreateOrUpdateParameters, RequestOptionsBase)

Créez le runbook identifié par le nom du runbook.

createOrUpdate(string, string, string, RunbookCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Runbook>)
createOrUpdate(string, string, string, RunbookCreateOrUpdateParameters, ServiceCallback<Runbook>)
deleteMethod(string, string, string, RequestOptionsBase)

Supprimez le runbook par nom.

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, string, ServiceCallback<void>)
get(string, string, string, RequestOptionsBase)

Récupérez le runbook identifié par le nom du runbook.

get(string, string, string, RequestOptionsBase, ServiceCallback<Runbook>)
get(string, string, string, ServiceCallback<Runbook>)
getContent(string, string, string, RequestOptionsBase)

Récupérez le contenu du runbook identifié par le nom du runbook.

getContent(string, string, string, RequestOptionsBase, ServiceCallback<void>)
getContent(string, string, string, ServiceCallback<void>)
listByAutomationAccount(string, string, RequestOptionsBase)

Récupérez une liste de runbooks.

listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<RunbookListResult>)
listByAutomationAccount(string, string, ServiceCallback<RunbookListResult>)
listByAutomationAccountNext(string, RequestOptionsBase)

Récupérez une liste de runbooks.

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<RunbookListResult>)
listByAutomationAccountNext(string, ServiceCallback<RunbookListResult>)
publish(string, string, string, RequestOptionsBase)

Publier un brouillon de runbook.

update(string, string, string, RunbookUpdateParameters, RequestOptionsBase)

Mettez à jour le runbook identifié par le nom du runbook.

update(string, string, string, RunbookUpdateParameters, RequestOptionsBase, ServiceCallback<Runbook>)
update(string, string, string, RunbookUpdateParameters, ServiceCallback<Runbook>)

Détails du constructeur

RunbookOperations(AutomationClientContext)

Créez un RunbookOperations.

new RunbookOperations(client: AutomationClientContext)

Paramètres

client
AutomationClientContext

Référence au client de service.

Détails de la méthode

beginPublish(string, string, string, RequestOptionsBase)

Publier un brouillon de runbook.

function beginPublish(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RequestOptionsBase): Promise<LROPoller>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Paramètres fournis à l’opération de runbook de publication.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<@azure/ms-rest-azure-js.LROPoller>

Promesse<msRestAzure.LROPoller>

createOrUpdate(string, string, string, RunbookCreateOrUpdateParameters, RequestOptionsBase)

Créez le runbook identifié par le nom du runbook.

function createOrUpdate(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: RunbookCreateOrUpdateParameters, options?: RequestOptionsBase): Promise<RunbookCreateOrUpdateResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

parameters
RunbookCreateOrUpdateParameters

Paramètres de création ou de mise à jour pour runbook. Fournissez un lien de contenu pour un runbook publié ou un brouillon, et non les deux.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.RunbookCreateOrUpdateResponse>

createOrUpdate(string, string, string, RunbookCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Runbook>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: RunbookCreateOrUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Runbook>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

parameters
RunbookCreateOrUpdateParameters

Paramètres de création ou de mise à jour pour runbook. Fournissez un lien de contenu pour un runbook publié ou un brouillon, et non les deux.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<Runbook>

Rappel

createOrUpdate(string, string, string, RunbookCreateOrUpdateParameters, ServiceCallback<Runbook>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: RunbookCreateOrUpdateParameters, callback: ServiceCallback<Runbook>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

parameters
RunbookCreateOrUpdateParameters

Paramètres de création ou de mise à jour pour runbook. Fournissez un lien de contenu pour un runbook publié ou un brouillon, et non les deux.

callback

ServiceCallback<Runbook>

Rappel

deleteMethod(string, string, string, RequestOptionsBase)

Supprimez le runbook par nom.

function deleteMethod(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RequestOptionsBase): Promise<RestResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<RestResponse>

Promesse<msRest.RestResponse>

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, runbookName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<void>

Rappel

deleteMethod(string, string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, runbookName: string, callback: ServiceCallback<void>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

callback

ServiceCallback<void>

Rappel

get(string, string, string, RequestOptionsBase)

Récupérez le runbook identifié par le nom du runbook.

function get(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RequestOptionsBase): Promise<RunbookGetResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.RunbookGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<Runbook>)

function get(resourceGroupName: string, automationAccountName: string, runbookName: string, options: RequestOptionsBase, callback: ServiceCallback<Runbook>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<Runbook>

Rappel

get(string, string, string, ServiceCallback<Runbook>)

function get(resourceGroupName: string, automationAccountName: string, runbookName: string, callback: ServiceCallback<Runbook>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

callback

ServiceCallback<Runbook>

Rappel

getContent(string, string, string, RequestOptionsBase)

Récupérez le contenu du runbook identifié par le nom du runbook.

function getContent(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RequestOptionsBase): Promise<RunbookGetContentResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.RunbookGetContentResponse>

getContent(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function getContent(resourceGroupName: string, automationAccountName: string, runbookName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<void>

Rappel

getContent(string, string, string, ServiceCallback<void>)

function getContent(resourceGroupName: string, automationAccountName: string, runbookName: string, callback: ServiceCallback<void>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

callback

ServiceCallback<void>

Rappel

listByAutomationAccount(string, string, RequestOptionsBase)

Récupérez une liste de runbooks.

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: RequestOptionsBase): Promise<RunbookListByAutomationAccountResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.RunbookListByAutomationAccountResponse>

listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<RunbookListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<RunbookListResult>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

options
RequestOptionsBase

Paramètres facultatifs

listByAutomationAccount(string, string, ServiceCallback<RunbookListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<RunbookListResult>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

listByAutomationAccountNext(string, RequestOptionsBase)

Récupérez une liste de runbooks.

function listByAutomationAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<RunbookListByAutomationAccountNextResponse>

Paramètres

nextPageLink

string

NextLink de l’appel réussi précédent à l’opération De liste.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.RunbookListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<RunbookListResult>)

function listByAutomationAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<RunbookListResult>)

Paramètres

nextPageLink

string

NextLink de l’appel réussi précédent à l’opération De liste.

options
RequestOptionsBase

Paramètres facultatifs

listByAutomationAccountNext(string, ServiceCallback<RunbookListResult>)

function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<RunbookListResult>)

Paramètres

nextPageLink

string

NextLink de l’appel réussi précédent à l’opération De liste.

publish(string, string, string, RequestOptionsBase)

Publier un brouillon de runbook.

function publish(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RequestOptionsBase): Promise<RunbookPublishResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Paramètres fournis à l’opération de runbook de publication.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.RunbookPublishResponse>

update(string, string, string, RunbookUpdateParameters, RequestOptionsBase)

Mettez à jour le runbook identifié par le nom du runbook.

function update(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: RunbookUpdateParameters, options?: RequestOptionsBase): Promise<RunbookUpdateResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

parameters
RunbookUpdateParameters

Paramètres de mise à jour pour runbook.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.RunbookUpdateResponse>

update(string, string, string, RunbookUpdateParameters, RequestOptionsBase, ServiceCallback<Runbook>)

function update(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: RunbookUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Runbook>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

parameters
RunbookUpdateParameters

Paramètres de mise à jour pour runbook.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<Runbook>

Rappel

update(string, string, string, RunbookUpdateParameters, ServiceCallback<Runbook>)

function update(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: RunbookUpdateParameters, callback: ServiceCallback<Runbook>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

parameters
RunbookUpdateParameters

Paramètres de mise à jour pour runbook.

callback

ServiceCallback<Runbook>

Rappel