Interface ProtectableContainers


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

    Modifier and Type
    Method
    Description
    com.azure.core.http.rest.PagedIterable<ProtectableContainerResource>
    list(String vaultName, String resourceGroupName, String fabricName)
    Lists the containers that can be registered to Recovery Services Vault.
    com.azure.core.http.rest.PagedIterable<ProtectableContainerResource>
    list(String vaultName, String resourceGroupName, String fabricName, String filter, com.azure.core.util.Context context)
    Lists the containers that can be registered to Recovery Services Vault.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<ProtectableContainerResource> list(String vaultName, String resourceGroupName, String fabricName)
      Lists the containers that can be registered to Recovery Services Vault.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      fabricName - The fabricName parameter.
      Returns:
      list of ProtectableContainer 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<ProtectableContainerResource> list(String vaultName, String resourceGroupName, String fabricName, String filter, com.azure.core.util.Context context)
      Lists the containers that can be registered to Recovery Services Vault.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      fabricName - The fabricName parameter.
      filter - OData filter options.
      context - The context to associate with this operation.
      Returns:
      list of ProtectableContainer 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.