FacetResult Class

Successfully executed facet containing additional statistics on the response of a query.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.resourcegraph.models._models_py3.Facet
FacetResult

Constructor

FacetResult(*, expression: str, total_records: int, count: int, data: object, **kwargs)

Parameters

expression
str
Required

Required. Facet expression, same as in the corresponding facet request.

result_type
str
Required

Required. Result type.Constant filled by server.

total_records
<xref:long>
Required

Required. Number of total records in the facet results.

count
int
Required

Required. Number of records returned in the facet response.

data
object
Required

Required. A JObject array or Table containing the desired facets. Only present if the facet is valid.