Interface BackupProtectableItems


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.azure.core.http.rest.PagedIterable<WorkloadProtectableItemResource> list​(String vaultName, String resourceGroupName)
      Provides a pageable list of protectable objects within your subscription according to the query filter and the pagination parameters.
      com.azure.core.http.rest.PagedIterable<WorkloadProtectableItemResource> list​(String vaultName, String resourceGroupName, String filter, String skipToken, com.azure.core.util.Context context)
      Provides a pageable list of protectable objects within your subscription according to the query filter and the pagination parameters.
    • Method Detail

      • list

        com.azure.core.http.rest.PagedIterable<WorkloadProtectableItemResource> list​(String vaultName,
                                                                                     String resourceGroupName)
        Provides a pageable list of protectable objects within your subscription according to the query filter and the pagination parameters.
        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 WorkloadProtectableItem 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<WorkloadProtectableItemResource> list​(String vaultName,
                                                                                     String resourceGroupName,
                                                                                     String filter,
                                                                                     String skipToken,
                                                                                     com.azure.core.util.Context context)
        Provides a pageable list of protectable objects within your subscription according to the query filter and the pagination parameters.
        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 WorkloadProtectableItem 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.