Create a resource pool
Based on blueprint settings, resource pools control the values that a user sees in a catalog item when they request a resource. Only values that pass the pool filter or script appear as options on the catalog item request form.
시작하기 전에
프로시저
- In the Cloud Admin Portal, navigate to Manage > Resource Pools.
-
Click New, enter a unique and descriptive
Resource Pool Name, and then fill in the form.
Field Description Type Select the type that determines whether the total count of available values for the option the user is selecting will remain the same (Static) or decrease by one (Diminishing). Lookup Table Select the table that contains the records that should appear as options in the catalog item for the resource. Lookup Field [Not necessary if using a script. This field is ignored if you configure a script filter.]
Select the table field that contains the values to display to the user. The display value for the lookup field is not used on the Cloud User Portal. Instead, use the Lookup label field(s). Lookup label fields [Not necessary if using a script. This field is ignored if you configure a script filter.]
Enter the lookup field label that should appear to the user. - Right-click in the header and select Save.
-
On the Resource Pool
Filters related list, click New, enter a unique and
descriptive Filter Name, and then fill in the form.
Field Description Resource Pool Select the resource pool that the filter belongs to. Type Select the type of filter: - Query: Perform a query on records in the table that you specified for the Lookup Table based on the Lookup Field that you specified.
- Script: Run a script to filter the records. Enter the code in the Script text box.
The resource pool filter is created. -
Right-click the form header and select Save.
If you must return a filter value to the pool and that value is mapped to another table, create a record in the Resource Pool Filter Values related list.
-
On the Resource Pool
Filter Values related list, click New, fill in the form,
and then click Update.
Field Description Resource Pool Filter Enter the name of the filter that the filter value belongs to. Type Enter the type of filter value: - Query:
- Metadata Rule:
Metadata Rule Name [Appears if you select the Metadata Rule type]
Enter the metadata rule name. This field appears only when Metadata Rule is selected from the Type field.
Operator Select either: - AND
- OR
Field Enter the field that is in the Lookup Table. For example, CloudAccount. Value Enter the value that you are passing back to the resource pool in the format ${field}, wherefieldis the value in the Field field. For example, ${CloudAccount}.Order Enter an order number that determines when the value applies, relative to other resource pool filter values. Lower values are applied first. The resource pool filter is created.