TestJobOperations class
Class representing a TestJobOperations.
Constructors
Test |
Create a TestJobOperations. |
Methods
Constructor Details
TestJobOperations(AutomationClientContext)
Create a TestJobOperations.
new TestJobOperations(client: AutomationClientContext)
Parameters
- client
- AutomationClientContext
Reference to the service client.
Method Details
create(string, string, string, TestJobCreateParameters, RequestOptionsBase)
Create a test job of the runbook.
function create(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: TestJobCreateParameters, options?: RequestOptionsBase): Promise<TestJobCreateResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The parameters supplied to the create test job operation.
- parameters
- TestJobCreateParameters
The parameters supplied to the create test job operation.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<TestJobCreateResponse>
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>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The parameters supplied to the create test job operation.
- parameters
- TestJobCreateParameters
The parameters supplied to the create test job operation.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
create(string, string, string, TestJobCreateParameters, ServiceCallback<TestJob>)
function create(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: TestJobCreateParameters, callback: ServiceCallback<TestJob>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The parameters supplied to the create test job operation.
- parameters
- TestJobCreateParameters
The parameters supplied to the create test job operation.
- callback
The callback
get(string, string, string, RequestOptionsBase)
Retrieve the test job for the specified runbook.
function get(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RequestOptionsBase): Promise<TestJobGetResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<TestJobGetResponse>
Promise<Models.TestJobGetResponse>
get(string, string, string, RequestOptionsBase, ServiceCallback<TestJob>)
function get(resourceGroupName: string, automationAccountName: string, runbookName: string, options: RequestOptionsBase, callback: ServiceCallback<TestJob>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
get(string, string, string, ServiceCallback<TestJob>)
function get(resourceGroupName: string, automationAccountName: string, runbookName: string, callback: ServiceCallback<TestJob>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- callback
The callback
resume(string, string, string, RequestOptionsBase)
Resume the test job.
function resume(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RequestOptionsBase): Promise<RestResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<RestResponse>
Promise<msRest.RestResponse>
resume(string, string, string, RequestOptionsBase, ServiceCallback<void>)
function resume(resourceGroupName: string, automationAccountName: string, runbookName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- options
- RequestOptionsBase
The optional parameters
- callback
-
ServiceCallback<void>
The callback
resume(string, string, string, ServiceCallback<void>)
function resume(resourceGroupName: string, automationAccountName: string, runbookName: string, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- callback
-
ServiceCallback<void>
The callback
stop(string, string, string, RequestOptionsBase)
Stop the test job.
function stop(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RequestOptionsBase): Promise<RestResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<RestResponse>
Promise<msRest.RestResponse>
stop(string, string, string, RequestOptionsBase, ServiceCallback<void>)
function stop(resourceGroupName: string, automationAccountName: string, runbookName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- options
- RequestOptionsBase
The optional parameters
- callback
-
ServiceCallback<void>
The callback
stop(string, string, string, ServiceCallback<void>)
function stop(resourceGroupName: string, automationAccountName: string, runbookName: string, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- callback
-
ServiceCallback<void>
The callback
suspend(string, string, string, RequestOptionsBase)
Suspend the test job.
function suspend(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RequestOptionsBase): Promise<RestResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<RestResponse>
Promise<msRest.RestResponse>
suspend(string, string, string, RequestOptionsBase, ServiceCallback<void>)
function suspend(resourceGroupName: string, automationAccountName: string, runbookName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- options
- RequestOptionsBase
The optional parameters
- callback
-
ServiceCallback<void>
The callback
suspend(string, string, string, ServiceCallback<void>)
function suspend(resourceGroupName: string, automationAccountName: string, runbookName: string, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- runbookName
-
string
The runbook name.
- callback
-
ServiceCallback<void>
The callback