Interface NetAppResourceQuotaLimits


  • public interface NetAppResourceQuotaLimits
    Resource collection API of NetAppResourceQuotaLimits.
    • Method Detail

      • list

        com.azure.core.http.rest.PagedIterable<SubscriptionQuotaItem> list​(String location)
        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<SubscriptionQuotaItem> list​(String location,
                                                                           com.azure.core.util.Context context)
        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

        SubscriptionQuotaItem get​(String location,
                                  String quotaLimitName)
        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<SubscriptionQuotaItem> getWithResponse​(String location,
                                                                                 String quotaLimitName,
                                                                                 com.azure.core.util.Context context)
        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.