Partager via


TestJobOperations interface

Interface représentant un TestJobOperations.

Méthodes

create(string, string, string, TestJobCreateParameters, TestJobCreateOptionalParams)

Créez un travail de test du runbook.

get(string, string, string, TestJobGetOptionalParams)

Récupérez le travail de test pour le runbook spécifié.

resume(string, string, string, TestJobResumeOptionalParams)

Reprendre le travail de test.

stop(string, string, string, TestJobStopOptionalParams)

Arrêtez la tâche de test.

suspend(string, string, string, TestJobSuspendOptionalParams)

Suspendez le travail de test.

Détails de la méthode

create(string, string, string, TestJobCreateParameters, TestJobCreateOptionalParams)

Créez un travail de test du runbook.

function create(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: TestJobCreateParameters, options?: TestJobCreateOptionalParams): Promise<TestJob>

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 création d’un travail de test.

parameters
TestJobCreateParameters

Paramètres fournis à l’opération de création d’un travail de test.

options
TestJobCreateOptionalParams

Paramètres d’options.

Retours

Promise<TestJob>

get(string, string, string, TestJobGetOptionalParams)

Récupérez le travail de test pour le runbook spécifié.

function get(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: TestJobGetOptionalParams): Promise<TestJob>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

options
TestJobGetOptionalParams

Paramètres d’options.

Retours

Promise<TestJob>

resume(string, string, string, TestJobResumeOptionalParams)

Reprendre le travail de test.

function resume(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: TestJobResumeOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

options
TestJobResumeOptionalParams

Paramètres d’options.

Retours

Promise<void>

stop(string, string, string, TestJobStopOptionalParams)

Arrêtez la tâche de test.

function stop(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: TestJobStopOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

options
TestJobStopOptionalParams

Paramètres d’options.

Retours

Promise<void>

suspend(string, string, string, TestJobSuspendOptionalParams)

Suspendez le travail de test.

function suspend(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: TestJobSuspendOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

options
TestJobSuspendOptionalParams

Paramètres d’options.

Retours

Promise<void>