JobOperations class
Classe représentant un JobOperations.
Constructeurs
| Job |
Créez un JobOperations. |
Méthodes
Détails du constructeur
JobOperations(AutomationClientContext)
Créez un JobOperations.
new JobOperations(client: AutomationClientContext)
Paramètres
- client
- AutomationClientContext
Référence au client de service.
Détails de la méthode
create(string, string, string, JobCreateParameters, JobCreateOptionalParams)
Créez un travail du runbook.
function create(resourceGroupName: string, automationAccountName: string, jobName: string, parameters: JobCreateParameters, options?: JobCreateOptionalParams): Promise<JobCreateResponse>
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail.
- parameters
- JobCreateParameters
Paramètres fournis à l’opération de création de travail.
- options
- JobCreateOptionalParams
Paramètres facultatifs
Retours
Promise<JobCreateResponse>
Promise<Models.JobCreateResponse>
create(string, string, string, JobCreateParameters, JobCreateOptionalParams, ServiceCallback<Job>)
function create(resourceGroupName: string, automationAccountName: string, jobName: string, parameters: JobCreateParameters, options: JobCreateOptionalParams, callback: ServiceCallback<Job>)
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail.
- parameters
- JobCreateParameters
Paramètres fournis à l’opération de création de travail.
- options
- JobCreateOptionalParams
Paramètres facultatifs
- callback
Rappel
create(string, string, string, JobCreateParameters, ServiceCallback<Job>)
function create(resourceGroupName: string, automationAccountName: string, jobName: string, parameters: JobCreateParameters, callback: ServiceCallback<Job>)
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail.
- parameters
- JobCreateParameters
Paramètres fournis à l’opération de création de travail.
- callback
Rappel
get(string, string, string, JobGetOptionalParams)
Récupérez le travail identifié par le nom du travail.
function get(resourceGroupName: string, automationAccountName: string, jobName: string, options?: JobGetOptionalParams): Promise<JobGetResponse>
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail.
- options
- JobGetOptionalParams
Paramètres facultatifs
Retours
Promise<JobGetResponse>
Promise<Models.JobGetResponse>
get(string, string, string, JobGetOptionalParams, ServiceCallback<Job>)
function get(resourceGroupName: string, automationAccountName: string, jobName: string, options: JobGetOptionalParams, callback: ServiceCallback<Job>)
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail.
- options
- JobGetOptionalParams
Paramètres facultatifs
- callback
Rappel
get(string, string, string, ServiceCallback<Job>)
function get(resourceGroupName: string, automationAccountName: string, jobName: string, callback: ServiceCallback<Job>)
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail.
- callback
Rappel
getOutput(string, string, string, JobGetOutputOptionalParams)
Récupérez la sortie du travail identifiée par le nom du travail.
function getOutput(resourceGroupName: string, automationAccountName: string, jobName: string, options?: JobGetOutputOptionalParams): Promise<JobGetOutputResponse>
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail à créer.
- options
- JobGetOutputOptionalParams
Paramètres facultatifs
Retours
Promise<JobGetOutputResponse>
Promise<Models.JobGetOutputResponse>
getOutput(string, string, string, JobGetOutputOptionalParams, ServiceCallback<void>)
function getOutput(resourceGroupName: string, automationAccountName: string, jobName: string, options: JobGetOutputOptionalParams, callback: ServiceCallback<void>)
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail à créer.
- options
- JobGetOutputOptionalParams
Paramètres facultatifs
- callback
-
ServiceCallback<void>
Rappel
getOutput(string, string, string, ServiceCallback<void>)
function getOutput(resourceGroupName: string, automationAccountName: string, jobName: string, callback: ServiceCallback<void>)
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail à créer.
- callback
-
ServiceCallback<void>
Rappel
getRunbookContent(string, string, string, JobGetRunbookContentOptionalParams)
Récupérez le contenu du runbook du travail identifié par le nom du travail.
function getRunbookContent(resourceGroupName: string, automationAccountName: string, jobName: string, options?: JobGetRunbookContentOptionalParams): Promise<JobGetRunbookContentResponse>
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail.
Paramètres facultatifs
Retours
Promise<JobGetRunbookContentResponse>
Promise<Models.JobGetRunbookContentResponse>
getRunbookContent(string, string, string, JobGetRunbookContentOptionalParams, ServiceCallback<void>)
function getRunbookContent(resourceGroupName: string, automationAccountName: string, jobName: string, options: JobGetRunbookContentOptionalParams, callback: ServiceCallback<void>)
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail.
Paramètres facultatifs
- callback
-
ServiceCallback<void>
Rappel
getRunbookContent(string, string, string, ServiceCallback<void>)
function getRunbookContent(resourceGroupName: string, automationAccountName: string, jobName: string, callback: ServiceCallback<void>)
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail.
- callback
-
ServiceCallback<void>
Rappel
listByAutomationAccount(string, string, JobListByAutomationAccountOptionalParams)
Récupérer une liste de travaux.
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: JobListByAutomationAccountOptionalParams): Promise<JobListByAutomationAccountResponse>
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
Paramètres facultatifs
Retours
Promise<JobListByAutomationAccountResponse>
Promise<Models.JobListByAutomationAccountResponse>
listByAutomationAccount(string, string, JobListByAutomationAccountOptionalParams, ServiceCallback<JobListResultV2>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: JobListByAutomationAccountOptionalParams, callback: ServiceCallback<JobListResultV2>)
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
Paramètres facultatifs
- callback
Rappel
listByAutomationAccount(string, string, ServiceCallback<JobListResultV2>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<JobListResultV2>)
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- callback
Rappel
listByAutomationAccountNext(string, JobListByAutomationAccountNextOptionalParams)
Récupérer une liste de travaux.
function listByAutomationAccountNext(nextPageLink: string, options?: JobListByAutomationAccountNextOptionalParams): Promise<JobListByAutomationAccountNextResponse>
Paramètres
- nextPageLink
-
string
NextLink de l’appel réussi précédent à l’opération De liste.
Paramètres facultatifs
Retours
Promise<Models.JobListByAutomationAccountNextResponse>
listByAutomationAccountNext(string, JobListByAutomationAccountNextOptionalParams, ServiceCallback<JobListResultV2>)
function listByAutomationAccountNext(nextPageLink: string, options: JobListByAutomationAccountNextOptionalParams, callback: ServiceCallback<JobListResultV2>)
Paramètres
- nextPageLink
-
string
NextLink de l’appel réussi précédent à l’opération De liste.
Paramètres facultatifs
- callback
Rappel
listByAutomationAccountNext(string, ServiceCallback<JobListResultV2>)
function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<JobListResultV2>)
Paramètres
- nextPageLink
-
string
NextLink de l’appel réussi précédent à l’opération De liste.
- callback
Rappel
resume(string, string, string, JobResumeOptionalParams)
Reprendre le travail identifié par jobName.
function resume(resourceGroupName: string, automationAccountName: string, jobName: string, options?: JobResumeOptionalParams): Promise<RestResponse>
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail.
- options
- JobResumeOptionalParams
Paramètres facultatifs
Retours
Promise<RestResponse>
Promesse<msRest.RestResponse>
resume(string, string, string, JobResumeOptionalParams, ServiceCallback<void>)
function resume(resourceGroupName: string, automationAccountName: string, jobName: string, options: JobResumeOptionalParams, callback: ServiceCallback<void>)
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail.
- options
- JobResumeOptionalParams
Paramètres facultatifs
- callback
-
ServiceCallback<void>
Rappel
resume(string, string, string, ServiceCallback<void>)
function resume(resourceGroupName: string, automationAccountName: string, jobName: string, callback: ServiceCallback<void>)
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail.
- callback
-
ServiceCallback<void>
Rappel
stop(string, string, string, JobStopOptionalParams)
Arrêtez le travail identifié par jobName.
function stop(resourceGroupName: string, automationAccountName: string, jobName: string, options?: JobStopOptionalParams): Promise<RestResponse>
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail.
- options
- JobStopOptionalParams
Paramètres facultatifs
Retours
Promise<RestResponse>
Promesse<msRest.RestResponse>
stop(string, string, string, JobStopOptionalParams, ServiceCallback<void>)
function stop(resourceGroupName: string, automationAccountName: string, jobName: string, options: JobStopOptionalParams, callback: ServiceCallback<void>)
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail.
- options
- JobStopOptionalParams
Paramètres facultatifs
- callback
-
ServiceCallback<void>
Rappel
stop(string, string, string, ServiceCallback<void>)
function stop(resourceGroupName: string, automationAccountName: string, jobName: string, callback: ServiceCallback<void>)
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail.
- callback
-
ServiceCallback<void>
Rappel
suspend(string, string, string, JobSuspendOptionalParams)
Suspendez le travail identifié par le nom du travail.
function suspend(resourceGroupName: string, automationAccountName: string, jobName: string, options?: JobSuspendOptionalParams): Promise<RestResponse>
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail.
- options
- JobSuspendOptionalParams
Paramètres facultatifs
Retours
Promise<RestResponse>
Promesse<msRest.RestResponse>
suspend(string, string, string, JobSuspendOptionalParams, ServiceCallback<void>)
function suspend(resourceGroupName: string, automationAccountName: string, jobName: string, options: JobSuspendOptionalParams, callback: ServiceCallback<void>)
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail.
- options
- JobSuspendOptionalParams
Paramètres facultatifs
- callback
-
ServiceCallback<void>
Rappel
suspend(string, string, string, ServiceCallback<void>)
function suspend(resourceGroupName: string, automationAccountName: string, jobName: string, callback: ServiceCallback<void>)
Paramètres
- resourceGroupName
-
string
Nom d’un groupe de ressources Azure.
- automationAccountName
-
string
Nom du compte Automation.
- jobName
-
string
Nom du travail.
- callback
-
ServiceCallback<void>
Rappel