Interface JobSchedulesClient


public interface JobSchedulesClient
An instance of this class provides access to all the operations defined in JobSchedulesClient.
  • Method Details

    • delete

      void delete(String resourceGroupName, String automationAccountName, UUID jobScheduleId)
      Delete the job schedule identified by job schedule name.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      jobScheduleId - The job schedule name.
      Throws:
      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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String automationAccountName, UUID jobScheduleId, com.azure.core.util.Context context)
      Delete the job schedule identified by job schedule name.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      jobScheduleId - The job schedule name.
      context - The context to associate with this operation.
      Returns:
      the Response.
      Throws:
      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.
    • get

      JobScheduleInner get(String resourceGroupName, String automationAccountName, UUID jobScheduleId)
      Retrieve the job schedule identified by job schedule name.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      jobScheduleId - The job schedule name.
      Returns:
      definition of the job schedule.
      Throws:
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<JobScheduleInner> getWithResponse(String resourceGroupName, String automationAccountName, UUID jobScheduleId, com.azure.core.util.Context context)
      Retrieve the job schedule identified by job schedule name.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      jobScheduleId - The job schedule name.
      context - The context to associate with this operation.
      Returns:
      definition of the job schedule along with Response.
      Throws:
      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.
    • create

      JobScheduleInner create(String resourceGroupName, String automationAccountName, UUID jobScheduleId, JobScheduleCreateParameters parameters)
      Create a job schedule.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      jobScheduleId - The job schedule name.
      parameters - The parameters supplied to the create job schedule operation.
      Returns:
      definition of the job schedule.
      Throws:
      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.
    • createWithResponse

      com.azure.core.http.rest.Response<JobScheduleInner> createWithResponse(String resourceGroupName, String automationAccountName, UUID jobScheduleId, JobScheduleCreateParameters parameters, com.azure.core.util.Context context)
      Create a job schedule.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      jobScheduleId - The job schedule name.
      parameters - The parameters supplied to the create job schedule operation.
      context - The context to associate with this operation.
      Returns:
      definition of the job schedule along with Response.
      Throws:
      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.
    • listByAutomationAccount

      com.azure.core.http.rest.PagedIterable<JobScheduleInner> listByAutomationAccount(String resourceGroupName, String automationAccountName)
      Retrieve a list of job schedules.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      Returns:
      the response model for the list job schedule operation as paginated response with PagedIterable.
      Throws:
      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.
    • listByAutomationAccount

      com.azure.core.http.rest.PagedIterable<JobScheduleInner> listByAutomationAccount(String resourceGroupName, String automationAccountName, String filter, com.azure.core.util.Context context)
      Retrieve a list of job schedules.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      filter - The filter to apply on the operation.
      context - The context to associate with this operation.
      Returns:
      the response model for the list job schedule operation as paginated response with PagedIterable.
      Throws:
      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.