Create a cloud quota definition

A cloud quota definition specifies the limitations on a resource block. You can use templates or manually create different types of configurations for each quota definition.

Before you begin

Role required: sn_cmp.cloud_governor

Procedure

  1. Navigate to Cloud Management > Governance > Quota Definition.
  2. Click New, enter a unique and meaningful Name and Description and then fill in the form:
    Field Description
    Quota Definition Type Enter a unique identifier for the quota. Typically it is the resource name_count or resource name_size. For example: Network_Count, VM_Count, or StorageVolume_Size.
    Quota Type Type of quota restriction to set:
    • Count
    • Size
    Attribute Enter the column name from the underlying CI type on the resource block that holds the value you want to restrict with the quota. For example, if your quota limits the CPU count on a virtual server, the table of the underlying CI type is cmdb_ci_vm_instance. The cpus column holds that CPU data. So you would enter cpus.

    You can also enter instance.

    Resource Name Select the resource block to apply the quota to. See Resource blocks for more information.
    Template

    [optional]

    Enter the table name of a resource type, for example Hardware Type [cmdb_ci_compute_template] or Image

    [cmdb_ci_os_template].

    Template Attribute

    [optional]

    Enter a column from the table you specified in the Template field. This it the attribute on which the quota is set. For example, if you selected the cmdb_ci_compute_template template and you want to put a quota on the virtual CPUs, you would enter vcpus. That column stores the virtual CPU count for all records in the cmdb_ci_compute_template table.
  3. Right click the header and select Save.
    The Quota Configurations and Default Quotas related lists appear.
  4. Click New in the Quota Configurations related list, enter a unique and meaningful Group Name, and then fill in the form:
    Field Description
    Group Name Provide a name for the configuration group.
    Group Maximum Limit Enter a maximum limit for the quota.
    Quota Definition Type The quota definition name.
    Per User Limit Enter the number of users that this quota applies to.
  5. Click Submit.
  6. You can specify optional default quotas that will be set on the resource block by clicking New in the Default Quotas related list, and then filling in the form:
    Field Description
    Group Maximum Limit Enter a maximum limit for the quota.
    Quota Definition The quota definition for which you are setting the default values.
    Per User Limit Enter the number of users that this quota applies to.
  7. Click Submit.