public interface TestJobs
Modifier and Type | Method and Description |
---|---|
TestJob |
create(String resourceGroupName,
String automationAccountName,
String runbookName,
TestJobCreateParameters parameters)
Create a test job of the runbook.
|
com.azure.core.http.rest.Response<TestJob> |
createWithResponse(String resourceGroupName,
String automationAccountName,
String runbookName,
TestJobCreateParameters parameters,
com.azure.core.util.Context context)
Create a test job of the runbook.
|
TestJob |
get(String resourceGroupName,
String automationAccountName,
String runbookName)
Retrieve the test job for the specified runbook.
|
com.azure.core.http.rest.Response<TestJob> |
getWithResponse(String resourceGroupName,
String automationAccountName,
String runbookName,
com.azure.core.util.Context context)
Retrieve the test job for the specified runbook.
|
void |
resume(String resourceGroupName,
String automationAccountName,
String runbookName)
Resume the test job.
|
com.azure.core.http.rest.Response<Void> |
resumeWithResponse(String resourceGroupName,
String automationAccountName,
String runbookName,
com.azure.core.util.Context context)
Resume the test job.
|
void |
stop(String resourceGroupName,
String automationAccountName,
String runbookName)
Stop the test job.
|
com.azure.core.http.rest.Response<Void> |
stopWithResponse(String resourceGroupName,
String automationAccountName,
String runbookName,
com.azure.core.util.Context context)
Stop the test job.
|
void |
suspend(String resourceGroupName,
String automationAccountName,
String runbookName)
Suspend the test job.
|
com.azure.core.http.rest.Response<Void> |
suspendWithResponse(String resourceGroupName,
String automationAccountName,
String runbookName,
com.azure.core.util.Context context)
Suspend the test job.
|
TestJob create(String resourceGroupName, String automationAccountName, String runbookName, TestJobCreateParameters parameters)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The parameters supplied to the create test job operation.parameters
- The parameters supplied to the create test job operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<TestJob> createWithResponse(String resourceGroupName, String automationAccountName, String runbookName, TestJobCreateParameters parameters, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The parameters supplied to the create test job operation.parameters
- The parameters supplied to the create test job operation.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.TestJob get(String resourceGroupName, String automationAccountName, String runbookName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<TestJob> getWithResponse(String resourceGroupName, String automationAccountName, String runbookName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void resume(String resourceGroupName, String automationAccountName, String runbookName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> resumeWithResponse(String resourceGroupName, String automationAccountName, String runbookName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void stop(String resourceGroupName, String automationAccountName, String runbookName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> stopWithResponse(String resourceGroupName, String automationAccountName, String runbookName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void suspend(String resourceGroupName, String automationAccountName, String runbookName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> suspendWithResponse(String resourceGroupName, String automationAccountName, String runbookName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.runbookName
- The runbook name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.