cis data legacy resource model: sort spec
Determines how a list of result items should be sorted by the values of one or more properties that belong to the models associated with the resources that the result items represent.
Representations:
{
"property": "string",
"sort_direction": "ASCENDING"
}
"property": "string",
"sort_direction": "ASCENDING"
}
<?xml version="1.0" ?>
<ns0:SortSpec xmlns:ns0="http://vmware.com/cis/data/legacy/resource_model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<sort_direction>ASCENDING</sort_direction>
<property>string</property>
</ns0:SortSpec>
<ns0:SortSpec xmlns:ns0="http://vmware.com/cis/data/legacy/resource_model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<sort_direction>ASCENDING</sort_direction>
<property>string</property>
</ns0:SortSpec>
Attributes:
| Name | Type | Description |
|---|---|---|
| Required | ||
| property | string | Specifies the resource model property whose value to compare when sorting the result items. Each property specification begins with the fully-qualified name of the resource model that declares the property, followed by the name of the property. The property name could be either a single property name, in case of an immediate property of the resource model or a property path, i.e. chain of property names, separated with |
| Optional | ||
| sort_direction | string | Specifies the order direction to use when sorting the result items by the specified resource model property/properties. The default value is ASCENDING. Optional. If unset, defaults to ASCENDING. |