Interface NetAppResourceQuotaLimitsClient


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

    • list

      com.azure.core.http.rest.PagedIterable<SubscriptionQuotaItemInner> list(String location)
      Get quota limits

      Get the default and current limits for quotas.

      Parameters:
      location - The location.
      Returns:
      the default and current limits for quotas 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<SubscriptionQuotaItemInner> list(String location, com.azure.core.util.Context context)
      Get quota limits

      Get the default and current limits for quotas.

      Parameters:
      location - The location.
      context - The context to associate with this operation.
      Returns:
      the default and current limits for quotas 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.
    • get

      SubscriptionQuotaItemInner get(String location, String quotaLimitName)
      Get quota limits

      Get the default and current subscription quota limit.

      Parameters:
      location - The location.
      quotaLimitName - The name of the Quota Limit.
      Returns:
      the default and current subscription quota limit.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<SubscriptionQuotaItemInner> getWithResponse(String location, String quotaLimitName, com.azure.core.util.Context context)
      Get quota limits

      Get the default and current subscription quota limit.

      Parameters:
      location - The location.
      quotaLimitName - The name of the Quota Limit.
      context - The context to associate with this operation.
      Returns:
      the default and current subscription quota limit along with Response.
      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.