Interface JobVersionsClient


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

    • listByJobAsync

      com.azure.core.http.rest.PagedFlux<JobVersionInner> listByJobAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName)
      Gets all versions of a job.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      jobAgentName - The name of the job agent.
      jobName - The name of the job to get.
      Returns:
      all versions of a job as paginated response with PagedFlux.
      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.
    • listByJob

      com.azure.core.http.rest.PagedIterable<JobVersionInner> listByJob(String resourceGroupName, String serverName, String jobAgentName, String jobName)
      Gets all versions of a job.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      jobAgentName - The name of the job agent.
      jobName - The name of the job to get.
      Returns:
      all versions of a job 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.
    • listByJob

      com.azure.core.http.rest.PagedIterable<JobVersionInner> listByJob(String resourceGroupName, String serverName, String jobAgentName, String jobName, com.azure.core.util.Context context)
      Gets all versions of a job.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      jobAgentName - The name of the job agent.
      jobName - The name of the job to get.
      context - The context to associate with this operation.
      Returns:
      all versions of a job 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<JobVersionInner>> getWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, int jobVersion)
      Gets a job version.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      jobAgentName - The name of the job agent.
      jobName - The name of the job.
      jobVersion - The version of the job to get.
      Returns:
      a job version along with Response on successful completion of Mono.
      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.
    • getAsync

      Mono<JobVersionInner> getAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, int jobVersion)
      Gets a job version.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      jobAgentName - The name of the job agent.
      jobName - The name of the job.
      jobVersion - The version of the job to get.
      Returns:
      a job version on successful completion of Mono.
      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<JobVersionInner> getWithResponse(String resourceGroupName, String serverName, String jobAgentName, String jobName, int jobVersion, com.azure.core.util.Context context)
      Gets a job version.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      jobAgentName - The name of the job agent.
      jobName - The name of the job.
      jobVersion - The version of the job to get.
      context - The context to associate with this operation.
      Returns:
      a job version 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.
    • get

      JobVersionInner get(String resourceGroupName, String serverName, String jobAgentName, String jobName, int jobVersion)
      Gets a job version.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      jobAgentName - The name of the job agent.
      jobName - The name of the job.
      jobVersion - The version of the job to get.
      Returns:
      a job version.
      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.