cis data svc resource model: result set

Contains the data returned in response to a particular query instance.

Representation:

{
    "items"[
        {
            "property_values"[
                "opaque_string_value",
                "opaque_string_value"
            ]
        },
        {
            "property_values"[
                "opaque_string_value",
                "opaque_string_value"
            ]
        }
    ],
    "properties"[
        "string",
        "string"
    ]
}

Attributes:

Name Type Description
Required
properties string[] The names of the (resource model) properties (as requested in cis.data.svc.resource_model.query_spec.properties) returned for each resource item in the result set. The position (index) of each model property in this list corresponds to the position of the model property value in each resource item's values list. That is, the name of each resource model property in the cis.data.svc.resource_model.resource_item.property_values list is given by the string with the same index (position) in this list.

Could be empty only in case the cis.data.svc.resource_model.result_set.items list is empty.

items resource_item[] The list of result items. Each item corresponds to a particular resource that matched the conditions in the specified cis.data.svc.resource_model.query_spec instance and containing the property data retrieved for that resource.

Could be empty if no items matched the query.

items[].property_values opaque[] The model property values for the resource. The name of each model property value is given by the model property name with the same index in cis.data.svc.resource_model.result_set.properties. In other words, the position of a property value in this list should be the same as the position of the property in the cis.data.svc.resource_model.result_set.properties list.

A property value may be unset if the respective property is unset or doesn't exist for the resource. For example, if the optional VirtualMachine/config property is unset then its child property VirtualMachine/config/modified doesn't exist; they both will manifest as unset values in the property_values list.