Interface BackupProtectedItems


  • public interface BackupProtectedItems
    Resource collection API of BackupProtectedItems.
    • Method Detail

      • list

        com.azure.core.http.rest.PagedIterable<ProtectedItemResource> list​(String vaultName,
                                                                           String resourceGroupName)
        Provides a pageable list of all items that are backed up within a vault.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        Returns:
        list of ProtectedItem resources 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.
      • list

        com.azure.core.http.rest.PagedIterable<ProtectedItemResource> list​(String vaultName,
                                                                           String resourceGroupName,
                                                                           String filter,
                                                                           String skipToken,
                                                                           com.azure.core.util.Context context)
        Provides a pageable list of all items that are backed up within a vault.
        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.
        skipToken - skipToken Filter.
        context - The context to associate with this operation.
        Returns:
        list of ProtectedItem resources 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.