cis data legacy resource model: result set
Contains the data returned in response to a particular query instance.
Representations:
{
"items": [
{
"property_values": [
{
"property": "string",
"value": "opaque_string_value"
},
{
"property": "string",
"value": "opaque_string_value"
}
],
"resource_id": {
"id": "obj-103",
"type": "string"
}
},
{
"property_values": [
{
"property": "string",
"value": "opaque_string_value"
},
{
"property": "string",
"value": "opaque_string_value"
}
],
"resource_id": {
"id": "obj-103",
"type": "string"
}
}
],
"total_item_count": 1
}
"items": [
{
"property_values": [
{
"property": "string",
"value": "opaque_string_value"
},
{
"property": "string",
"value": "opaque_string_value"
}
],
"resource_id": {
"id": "obj-103",
"type": "string"
}
},
{
"property_values": [
{
"property": "string",
"value": "opaque_string_value"
},
{
"property": "string",
"value": "opaque_string_value"
}
],
"resource_id": {
"id": "obj-103",
"type": "string"
}
}
],
"total_item_count": 1
}
<?xml version="1.0" ?>
<ns0:ResultSet xmlns:ns0="http://vmware.com/cis/data/legacy/resource_model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<total_item_count>1</total_item_count>
<items-array>
<array-item>
<resource_id>
<id>obj-103</id>
<type>string</type>
</resource_id>
<property_values-array>
<array-item>
<value>opaque_string_value</value>
<property>string</property>
</array-item>
<array-item>
<value>opaque_string_value</value>
<property>string</property>
</array-item>
</property_values-array>
</array-item>
<array-item>
<resource_id>
<id>obj-103</id>
<type>string</type>
</resource_id>
<property_values-array>
<array-item>
<value>opaque_string_value</value>
<property>string</property>
</array-item>
<array-item>
<value>opaque_string_value</value>
<property>string</property>
</array-item>
</property_values-array>
</array-item>
</items-array>
</ns0:ResultSet>
<ns0:ResultSet xmlns:ns0="http://vmware.com/cis/data/legacy/resource_model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<total_item_count>1</total_item_count>
<items-array>
<array-item>
<resource_id>
<id>obj-103</id>
<type>string</type>
</resource_id>
<property_values-array>
<array-item>
<value>opaque_string_value</value>
<property>string</property>
</array-item>
<array-item>
<value>opaque_string_value</value>
<property>string</property>
</array-item>
</property_values-array>
</array-item>
<array-item>
<resource_id>
<id>obj-103</id>
<type>string</type>
</resource_id>
<property_values-array>
<array-item>
<value>opaque_string_value</value>
<property>string</property>
</array-item>
<array-item>
<value>opaque_string_value</value>
<property>string</property>
</array-item>
</property_values-array>
</array-item>
</items-array>
</ns0:ResultSet>
Attributes:
| Name | Type | Description |
|---|---|---|
| Required | ||
| items | resource_item[] | The list of result items. Each item corresponds to a particular resource that matched the conditions in the specified QuerySpec instance and containing the property data retrieved for that resource. |
| Optional | ||
| total_item_count | long | The total number of resources that matched the given query, regardless of the actual number that is returned in cis.data.legacy.resource_model.result_set.items. This value is set only if it has been explicitly requested in the query. Optional. Will be returned only if explicitly specified in the query. |