Partager via


TestJobOperations class

Classe représentant un TestJobOperations.

Constructeurs

TestJobOperations(AutomationClientContext)

Créez un TestJobOperations.

Méthodes

create(string, string, string, TestJobCreateParameters, RequestOptionsBase)

Créez un travail de test du runbook.

create(string, string, string, TestJobCreateParameters, RequestOptionsBase, ServiceCallback<TestJob>)
create(string, string, string, TestJobCreateParameters, ServiceCallback<TestJob>)
get(string, string, string, RequestOptionsBase)

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

get(string, string, string, RequestOptionsBase, ServiceCallback<TestJob>)
get(string, string, string, ServiceCallback<TestJob>)
resume(string, string, string, RequestOptionsBase)

Reprendre le travail de test.

resume(string, string, string, RequestOptionsBase, ServiceCallback<void>)
resume(string, string, string, ServiceCallback<void>)
stop(string, string, string, RequestOptionsBase)

Arrêtez la tâche de test.

stop(string, string, string, RequestOptionsBase, ServiceCallback<void>)
stop(string, string, string, ServiceCallback<void>)
suspend(string, string, string, RequestOptionsBase)

Suspendez le travail de test.

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

Détails du constructeur

TestJobOperations(AutomationClientContext)

Créez un TestJobOperations.

new TestJobOperations(client: AutomationClientContext)

Paramètres

client
AutomationClientContext

Référence au client de service.

Détails de la méthode

create(string, string, string, TestJobCreateParameters, RequestOptionsBase)

Créez un travail de test du runbook.

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

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
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.TestJobCreateResponse>

create(string, string, string, TestJobCreateParameters, RequestOptionsBase, ServiceCallback<TestJob>)

function create(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: TestJobCreateParameters, options: RequestOptionsBase, callback: ServiceCallback<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
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<TestJob>

Rappel

create(string, string, string, TestJobCreateParameters, ServiceCallback<TestJob>)

function create(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: TestJobCreateParameters, callback: ServiceCallback<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.

callback

ServiceCallback<TestJob>

Rappel

get(string, string, string, RequestOptionsBase)

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

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

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.TestJobGetResponse>

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

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

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<TestJob>

Rappel

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

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

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

runbookName

string

Nom du runbook.

callback

ServiceCallback<TestJob>

Rappel

resume(string, string, string, RequestOptionsBase)

Reprendre le travail de test.

function resume(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>

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

function resume(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

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

function resume(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

stop(string, string, string, RequestOptionsBase)

Arrêtez la tâche de test.

function stop(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>

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

function stop(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

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

function stop(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

suspend(string, string, string, RequestOptionsBase)

Suspendez le travail de test.

function suspend(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>

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

function suspend(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

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

function suspend(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