Description
The ResourceKey class provides a key which can be attached to a given resource.
Derived By
Restricting anyType
Content Model
Contains elements as defined in the following table.
Component |
Type |
Occurs |
Description |
---|---|---|---|
resourceUUID |
string |
0..1 |
The UUID of the resource to which the key is attached |
name |
string |
0..1 |
The name of the key |
type |
0..1 |
The type of the key (system or user) |
|
value |
string |
0..1 |
The value set on the key |
weight |
double |
1..1 |
The affinity weight of the key (zero means none) |
Remarks
Each key is essentially a key/value pair. In fact the key is a 4-tuple, in that it includes a weight, which if non-zero affects the affinity calculation for workload placement, and a type to indicate whether the key is a system key or a user key. Note that users cannot manipulate system keys.