RunbookOperations class
Classe représentant un RunbookOperations.
Constructeurs
| Runbook |
Créez un RunbookOperations. |
Méthodes
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<RunbookCreateOrUpdateResponse>
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
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
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<RunbookGetResponse>
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
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
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<RunbookGetContentResponse>
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
- callback
Rappel
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.
- callback
Rappel
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
- callback
Rappel
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.
- callback
Rappel
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<RunbookPublishResponse>
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<RunbookUpdateResponse>
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
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
Rappel