public interface JobsClient
Modifier and Type | Method and Description |
---|---|
JobInner |
create(String resourceGroupName,
String automationAccountName,
String jobName,
JobCreateParameters parameters)
Create a job of the runbook.
|
com.azure.core.http.rest.Response<JobInner> |
createWithResponse(String resourceGroupName,
String automationAccountName,
String jobName,
JobCreateParameters parameters,
String clientRequestId,
com.azure.core.util.Context context)
Create a job of the runbook.
|
JobInner |
get(String resourceGroupName,
String automationAccountName,
String jobName)
Retrieve the job identified by job name.
|
String |
getOutput(String resourceGroupName,
String automationAccountName,
String jobName)
Retrieve the job output identified by job name.
|
com.azure.core.http.rest.Response<String> |
getOutputWithResponse(String resourceGroupName,
String automationAccountName,
String jobName,
String clientRequestId,
com.azure.core.util.Context context)
Retrieve the job output identified by job name.
|
String |
getRunbookContent(String resourceGroupName,
String automationAccountName,
String jobName)
Retrieve the runbook content of the job identified by job name.
|
com.azure.core.http.rest.Response<String> |
getRunbookContentWithResponse(String resourceGroupName,
String automationAccountName,
String jobName,
String clientRequestId,
com.azure.core.util.Context context)
Retrieve the runbook content of the job identified by job name.
|
com.azure.core.http.rest.Response<JobInner> |
getWithResponse(String resourceGroupName,
String automationAccountName,
String jobName,
String clientRequestId,
com.azure.core.util.Context context)
Retrieve the job identified by job name.
|
com.azure.core.http.rest.PagedIterable<JobCollectionItemInner> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName)
Retrieve a list of jobs.
|
com.azure.core.http.rest.PagedIterable<JobCollectionItemInner> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName,
String filter,
String clientRequestId,
com.azure.core.util.Context context)
Retrieve a list of jobs.
|
void |
resume(String resourceGroupName,
String automationAccountName,
String jobName)
Resume the job identified by jobName.
|
com.azure.core.http.rest.Response<Void> |
resumeWithResponse(String resourceGroupName,
String automationAccountName,
String jobName,
String clientRequestId,
com.azure.core.util.Context context)
Resume the job identified by jobName.
|
void |
stop(String resourceGroupName,
String automationAccountName,
String jobName)
Stop the job identified by jobName.
|
com.azure.core.http.rest.Response<Void> |
stopWithResponse(String resourceGroupName,
String automationAccountName,
String jobName,
String clientRequestId,
com.azure.core.util.Context context)
Stop the job identified by jobName.
|
void |
suspend(String resourceGroupName,
String automationAccountName,
String jobName)
Suspend the job identified by job name.
|
com.azure.core.http.rest.Response<Void> |
suspendWithResponse(String resourceGroupName,
String automationAccountName,
String jobName,
String clientRequestId,
com.azure.core.util.Context context)
Suspend the job identified by job name.
|
String getOutput(String resourceGroupName, String automationAccountName, String jobName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.jobName
- The name of the job to be created.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<String> getOutputWithResponse(String resourceGroupName, String automationAccountName, String jobName, String clientRequestId, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.jobName
- The name of the job to be created.clientRequestId
- Identifies this specific client request.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.String getRunbookContent(String resourceGroupName, String automationAccountName, String jobName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.jobName
- The job 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<String> getRunbookContentWithResponse(String resourceGroupName, String automationAccountName, String jobName, String clientRequestId, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.jobName
- The job name.clientRequestId
- Identifies this specific client request.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 jobName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.jobName
- The job 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 jobName, String clientRequestId, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.jobName
- The job name.clientRequestId
- Identifies this specific client request.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 jobName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.jobName
- The job 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 jobName, String clientRequestId, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.jobName
- The job name.clientRequestId
- Identifies this specific client request.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.JobInner get(String resourceGroupName, String automationAccountName, String jobName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.jobName
- The job 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<JobInner> getWithResponse(String resourceGroupName, String automationAccountName, String jobName, String clientRequestId, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.jobName
- The job name.clientRequestId
- Identifies this specific client request.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.JobInner create(String resourceGroupName, String automationAccountName, String jobName, JobCreateParameters parameters)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.jobName
- The job name.parameters
- The parameters supplied to the create 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<JobInner> createWithResponse(String resourceGroupName, String automationAccountName, String jobName, JobCreateParameters parameters, String clientRequestId, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.jobName
- The job name.parameters
- The parameters supplied to the create job operation.clientRequestId
- Identifies this specific client request.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.com.azure.core.http.rest.PagedIterable<JobCollectionItemInner> listByAutomationAccount(String resourceGroupName, String automationAccountName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.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.PagedIterable<JobCollectionItemInner> listByAutomationAccount(String resourceGroupName, String automationAccountName, String filter, String clientRequestId, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.filter
- The filter to apply on the operation.clientRequestId
- Identifies this specific client request.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 jobName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.jobName
- The job 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 jobName, String clientRequestId, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.jobName
- The job name.clientRequestId
- Identifies this specific client request.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.