Table A–4 describes the resource property attributes that can be used to change system-defined properties or create extension properties.
You cannot specify NULL or the empty string (“”) as the default value for boolean, enum, or int types.
Property |
Description |
---|---|
Property |
The name of the resource property. |
Extension |
If used, indicates that the RTR file entry declares an extension property defined by the resource type implementation. Otherwise, the entry is a system-defined property. |
Description |
A string annotation intended to be a brief description of the property. The description attribute cannot be set in the RTR file for system-defined properties. |
Type of the property |
Allowable types include string, boolean, int, enum, and stringarray. You cannot set the type attribute in an RTR file entry for system-defined properties. The type determines acceptable property values and the type-specific attributes that are allowed in the RTR file entry. An enum type is a set of string values. |
Default |
Indicates a default value for the property. |
Tunable |
Indicates when the cluster administrator can set the value of this property in a resource. Can be set to None or False to prevent the administrator from setting the property. Values that allow administrator tuning include True or Anytime (at any time), At_creation (only when the resource is created), or When_disabled (when the resource is offline).
The default is True (Anytime). |
Enumlist |
For an enum type, a set of string values permitted for the property. |
Min |
For an int type, the minimal value permitted for the property. |
Max |
For an int type, the maximum value permitted for the property. |
Minlength |
For string and stringarray types, the minimum string length permitted. |
Maxlength |
For string and stringarray types, the maximum string length permitted. |
Array_minsize |
For stringarray type, the minimum number of array elements permitted. |
Array_maxsize |
For stringarray type, the maximum number of array elements permitted. |