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

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

    • listByVaults

      com.azure.core.http.rest.PagedIterable<VaultUsage> listByVaults(String resourceGroupName, String vaultName)
      Fetches the 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:
      usage 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.
    • listByVaults

      com.azure.core.http.rest.PagedIterable<VaultUsage> listByVaults(String resourceGroupName, String vaultName, com.azure.core.util.Context context)
      Fetches the 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:
      usage 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.