Interface JobsClient


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

      • list

        com.azure.core.http.rest.PagedIterable<AzureBackupJobResourceInner> list​(String resourceGroupName,
                                                                                 String vaultName)
        Returns list of jobs belonging to a backup vault.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        vaultName - The name of the backup vault.
        Returns:
        list of AzureBackup Job resources.
        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.
      • list

        com.azure.core.http.rest.PagedIterable<AzureBackupJobResourceInner> list​(String resourceGroupName,
                                                                                 String vaultName,
                                                                                 com.azure.core.util.Context context)
        Returns list of jobs belonging to a backup vault.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        vaultName - The name of the backup vault.
        context - The context to associate with this operation.
        Returns:
        list of AzureBackup Job resources.
        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

        AzureBackupJobResourceInner get​(String resourceGroupName,
                                        String vaultName,
                                        String jobId)
        Gets a job with id in a backup vault.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        vaultName - The name of the backup vault.
        jobId - The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
        Returns:
        a job with id in a backup vault.
        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<AzureBackupJobResourceInner> getWithResponse​(String resourceGroupName,
                                                                                       String vaultName,
                                                                                       String jobId,
                                                                                       com.azure.core.util.Context context)
        Gets a job with id in a backup vault.
        Parameters:
        resourceGroupName - The name of the resource group where the backup vault is present.
        vaultName - The name of the backup vault.
        jobId - The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
        context - The context to associate with this operation.
        Returns:
        a job with id in a backup vault.
        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.