Interface ReplicationUsagesClient


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

    Modifier and Type
    Method
    Description
    com.azure.core.http.rest.PagedIterable<ReplicationUsageInner>
    list(String resourceGroupName, String vaultName)
    Fetches the replication usages of the vault.
    com.azure.core.http.rest.PagedIterable<ReplicationUsageInner>
    list(String resourceGroupName, String vaultName, com.azure.core.util.Context context)
    Fetches the replication usages of the vault.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<ReplicationUsageInner> list(String resourceGroupName, String vaultName)
      Fetches the replication usages of the vault.
      Parameters:
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      vaultName - The name of the recovery services vault.
      Returns:
      replication usages for vault 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<ReplicationUsageInner> list(String resourceGroupName, String vaultName, com.azure.core.util.Context context)
      Fetches the replication usages of the vault.
      Parameters:
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      vaultName - The name of the recovery services vault.
      context - The context to associate with this operation.
      Returns:
      replication usages for vault 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.