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

Name Description
expression
Required
str

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

result_type
Required
str

Required. Result type.Constant filled by server.

total_records
Required
<xref:long>

Required. Number of total records in the facet results.

count
Required
int

Required. Number of records returned in the facet response.

data
Required

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

Keyword-Only Parameters

Name Description
expression
Required
total_records
Required
count
Required
data
Required