共用方式為


ArmResourceGraphModelFactory.FacetResult Method

Definition

Initializes a new instance of FacetResult.

public static Azure.ResourceManager.ResourceGraph.Models.FacetResult FacetResult (string expression = default, long totalRecords = 0, int count = 0, BinaryData data = default);
static member FacetResult : string * int64 * int * BinaryData -> Azure.ResourceManager.ResourceGraph.Models.FacetResult
Public Shared Function FacetResult (Optional expression As String = Nothing, Optional totalRecords As Long = 0, Optional count As Integer = 0, Optional data As BinaryData = Nothing) As FacetResult

Parameters

expression
String

Facet expression, same as in the corresponding facet request.

totalRecords
Int64

Number of total records in the facet results.

count
Int32

Number of records returned in the facet response.

data
BinaryData

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

Returns

A new FacetResult instance for mocking.

Applies to