Condividi tramite


TestJobOperations class

Classe che rappresenta un oggetto TestJobOperations.

Costruttori

TestJobOperations(AutomationClientContext)

Creare un oggetto TestJobOperations.

Metodi

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

Creare un processo di test del runbook.

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

Recuperare il processo di test per il runbook specificato.

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

Riprendere il processo di test.

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

Arrestare il processo di test.

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

Sospendere il processo di test.

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

Dettagli costruttore

TestJobOperations(AutomationClientContext)

Creare un oggetto TestJobOperations.

new TestJobOperations(client: AutomationClientContext)

Parametri

client
AutomationClientContext

Riferimento al client del servizio.

Dettagli metodo

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

Creare un processo di test del runbook.

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

runbookName

string

Parametri forniti all'operazione di creazione del processo di test.

parameters
TestJobCreateParameters

Parametri forniti all'operazione di creazione del processo di test.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Modelli di promesse.TestJobCreateResponse<>

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

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

runbookName

string

Parametri forniti all'operazione di creazione del processo di test.

parameters
TestJobCreateParameters

Parametri forniti all'operazione di creazione del processo di test.

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<TestJob>

Callback

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

function create(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: TestJobCreateParameters, callback: ServiceCallback<TestJob>)

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

runbookName

string

Parametri forniti all'operazione di creazione del processo di test.

parameters
TestJobCreateParameters

Parametri forniti all'operazione di creazione del processo di test.

callback

ServiceCallback<TestJob>

Callback

get(string, string, string, RequestOptionsBase)

Recuperare il processo di test per il runbook specificato.

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

runbookName

string

Nome del runbook.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Modelli di promessa.TestJobGetResponse<>

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

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

runbookName

string

Nome del runbook.

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<TestJob>

Callback

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

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

runbookName

string

Nome del runbook.

callback

ServiceCallback<TestJob>

Callback

resume(string, string, string, RequestOptionsBase)

Riprendere il processo di test.

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

runbookName

string

Nome del runbook.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<RestResponse>

Prometti<msRest.RestResponse>

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

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

runbookName

string

Nome del runbook.

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<void>

Callback

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

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

runbookName

string

Nome del runbook.

callback

ServiceCallback<void>

Callback

stop(string, string, string, RequestOptionsBase)

Arrestare il processo di test.

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

runbookName

string

Nome del runbook.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<RestResponse>

Prometti<msRest.RestResponse>

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

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

runbookName

string

Nome del runbook.

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<void>

Callback

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

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

runbookName

string

Nome del runbook.

callback

ServiceCallback<void>

Callback

suspend(string, string, string, RequestOptionsBase)

Sospendere il processo di test.

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

runbookName

string

Nome del runbook.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<RestResponse>

Prometti<msRest.RestResponse>

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

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

runbookName

string

Nome del runbook.

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<void>

Callback

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

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

Parametri

resourceGroupName

string

Nome di un gruppo di risorse di Azure.

automationAccountName

string

Nome dell'account di automazione.

runbookName

string

Nome del runbook.

callback

ServiceCallback<void>

Callback