Interface ResourceUsagesClient


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.azure.core.http.rest.PagedIterable<ResourceUsageInner> list()
      Check the quota and actual usage of the CDN profiles under the given subscription.
      com.azure.core.http.rest.PagedIterable<ResourceUsageInner> list​(com.azure.core.util.Context context)
      Check the quota and actual usage of the CDN profiles under the given subscription.
      com.azure.core.http.rest.PagedFlux<ResourceUsageInner> listAsync()
      Check the quota and actual usage of the CDN profiles under the given subscription.
    • Method Detail

      • listAsync

        com.azure.core.http.rest.PagedFlux<ResourceUsageInner> listAsync()
        Check the quota and actual usage of the CDN profiles under the given subscription.
        Returns:
        output of check resource usage API as paginated response with PagedFlux.
        Throws:
        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<ResourceUsageInner> list()
        Check the quota and actual usage of the CDN profiles under the given subscription.
        Returns:
        output of check resource usage API as paginated response with PagedIterable.
        Throws:
        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<ResourceUsageInner> list​(com.azure.core.util.Context context)
        Check the quota and actual usage of the CDN profiles under the given subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        output of check resource usage API 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.