Interface JobVersionsClient


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.azure.core.management.Resource get​(String resourceGroupName, String serverName, String jobAgentName, String jobName, int jobVersion)
      Gets a job version.
      Mono<com.azure.core.management.Resource> getAsync​(String resourceGroupName, String serverName, String jobAgentName, String jobName, int jobVersion)
      Gets a job version.
      com.azure.core.http.rest.Response<com.azure.core.management.Resource> getWithResponse​(String resourceGroupName, String serverName, String jobAgentName, String jobName, int jobVersion, com.azure.core.util.Context context)
      Gets a job version.
      Mono<com.azure.core.http.rest.Response<com.azure.core.management.Resource>> getWithResponseAsync​(String resourceGroupName, String serverName, String jobAgentName, String jobName, int jobVersion)
      Gets a job version.
      com.azure.core.http.rest.PagedIterable<com.azure.core.management.Resource> listByJob​(String resourceGroupName, String serverName, String jobAgentName, String jobName)
      Gets all versions of a job.
      com.azure.core.http.rest.PagedIterable<com.azure.core.management.Resource> listByJob​(String resourceGroupName, String serverName, String jobAgentName, String jobName, com.azure.core.util.Context context)
      Gets all versions of a job.
      com.azure.core.http.rest.PagedFlux<com.azure.core.management.Resource> listByJobAsync​(String resourceGroupName, String serverName, String jobAgentName, String jobName)
      Gets all versions of a job.
    • Method Detail

      • listByJobAsync

        com.azure.core.http.rest.PagedFlux<com.azure.core.management.Resource> 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.
        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<com.azure.core.management.Resource> 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.
        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<com.azure.core.management.Resource> 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.
        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<com.azure.core.management.Resource>> 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.
        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<com.azure.core.management.Resource> 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.
        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

        com.azure.core.management.Resource 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.
      • getWithResponse

        com.azure.core.http.rest.Response<com.azure.core.management.Resource> 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.
        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.