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.
Avant de commencer
Procédure
- In the Cloud Admin Portal, navigate to Govern > Quota.
- Click New.
-
On the form, fill in the
fields.
Tableau 1. Quota Definition form Field Description Quota Definition A unique identifier for the quota definition. 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
Resource Name The Resource Block type to apply the quota to. Select from the lookup list. For example, select Cloud Resource for any template-based cloud resource. For more information, see Resource blocks in Cloud Provisioning and Governance.
Calculation Unit The unit this quota is calculated in: - GB
- Single
CI Class The CMDB CI class to be selected from the lookup list. Attribute The column name from the underlying CI type on the resource block that holds the value 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.
Template [optional]
The table name of a resource type, for example Hardware Type [cmdb_ci_compute_template] or Image [cmdb_ci_os_template]. Template Attribute [optional]
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. -
Right-click the header and select Save.
The Quota Configurations, Default Quotas, and Cloud Template Resources related lists appear.
- In the Quota Configurations related list, click New.
-
On the form, fill in the fields:
Tableau 2. Quota Configuration form Field Description Group Name A unique name for the configuration group. Group Maximum Limit The maximum limit for the group's quota. Quota Definition Type The quota definition name. Per User Limit The maximum quota limit for each user in the group. - Click Submit.
- Facultatif :
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.
Tableau 3. Default Quotas form Field Description Group Maximum Limit The maximum quota limit for the group. Quota Definition The quota definition for which you are setting the default values. Per User Limit The quota limit applicable to each user in this group. - Click Submit.
-
Map catalog item to which the quota you defined applies by clicking
New in the Cloud Template Resources related
list.
Remarque :If you do not map quota to a catalog, quota is not calculated for that catalog.
-
On the form, fill in the fields.
Tableau 4. Cloud Template Resources form Field Description Domain The domain to which this quota applies. Quota Definition The name of the quota definition you are applying. Catalog Item The catalog item or cloud resource you are mapping to the quota. - Click Submit.