Interface Jobs


  • public interface Jobs
    Resource collection API of Jobs.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void export​(String vaultName, String resourceGroupName)
      Triggers export of jobs specified by filters and returns an OperationID to track.
      com.azure.core.http.rest.Response<Void> exportWithResponse​(String vaultName, String resourceGroupName, String filter, com.azure.core.util.Context context)
      Triggers export of jobs specified by filters and returns an OperationID to track.
    • Method Detail

      • export

        void export​(String vaultName,
                    String resourceGroupName)
        Triggers export of jobs specified by filters and returns an OperationID to track.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        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.
      • exportWithResponse

        com.azure.core.http.rest.Response<Void> exportWithResponse​(String vaultName,
                                                                   String resourceGroupName,
                                                                   String filter,
                                                                   com.azure.core.util.Context context)
        Triggers export of jobs specified by filters and returns an OperationID to track.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        filter - OData filter options.
        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.