Class ListResourceLimitsOptions

java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.ListResourceLimitsOptions
All Implemented Interfaces:
HttpRequestOptions

public class ListResourceLimitsOptions extends BaseHttpRequestOptions
  • Field Details

  • Constructor Details

    • ListResourceLimitsOptions

      public ListResourceLimitsOptions()
  • Method Details

    • account

      public ListResourceLimitsOptions account(String account, String domainId)
      Lists resource limits by account. Must be used with the domainId parameter.
      Parameters:
      account - - the account for which the resource limits are retrieved for.
      Returns:
      ListResourceLimitsOptions
    • domainId

      public ListResourceLimitsOptions domainId(String domainId)
      Lists resource limits by domain ID. If used with the account parameter, lists resource limits for a specified account in a specified domain.
      Parameters:
      domainId -
      Returns:
      ListResourceLimitsOptions
    • id

      Lists resource limits by ID.
      Parameters:
      id - of the resource limit.
      Returns:
      ListResourceLimitsOptions
    • projectId

      public ListResourceLimitsOptions projectId(String projectId)
      Lists resource limits by project.
      Parameters:
      projectId - the project
      Returns:
      ListResourceLimitsOptions
    • keyword

      public ListResourceLimitsOptions keyword(String keyword)
      List by keyword
      Parameters:
      keyword -
      Returns:
      ListResourceLimitsOptions
    • resourceType

      public ListResourceLimitsOptions resourceType(int resourceType)
      Type of resource to update. Values are 0, 1, 2, 3, and 4.
      • 0 - Instance. Number of instances a user can create.
      • 1 - IP. Number of public IP addresses a user can own.
      • 2 - Volume. Number of disk volumes a user can create.
      • 3 - Snapshot. Number of snapshots a user can create.
      • 4 - Template. Number of templates that a user can register/create.
      Parameters:
      resourceType - type of the resource to query for
      Returns:
      ListResourceLimitsOptions