ArmResourceGraphModelFactory.ResourceQueryResult Method

Definition

Initializes a new instance of ResourceQueryResult.

public static Azure.ResourceManager.ResourceGraph.Models.ResourceQueryResult ResourceQueryResult(long totalRecords = 0, long count = 0, Azure.ResourceManager.ResourceGraph.Models.ResultTruncated resultTruncated = Azure.ResourceManager.ResourceGraph.Models.ResultTruncated.True, string skipToken = default, BinaryData data = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ResourceGraph.Models.Facet> facets = default);
static member ResourceQueryResult : int64 * int64 * Azure.ResourceManager.ResourceGraph.Models.ResultTruncated * string * BinaryData * seq<Azure.ResourceManager.ResourceGraph.Models.Facet> -> Azure.ResourceManager.ResourceGraph.Models.ResourceQueryResult
Public Shared Function ResourceQueryResult (Optional totalRecords As Long = 0, Optional count As Long = 0, Optional resultTruncated As ResultTruncated = Azure.ResourceManager.ResourceGraph.Models.ResultTruncated.True, Optional skipToken As String = Nothing, Optional data As BinaryData = Nothing, Optional facets As IEnumerable(Of Facet) = Nothing) As ResourceQueryResult

Parameters

totalRecords
Int64

Number of total records matching the query.

count
Int64

Number of records returned in the current response. In the case of paging, this is the number of records in the current page.

resultTruncated
ResultTruncated

Indicates whether the query results are truncated.

skipToken
String

When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.

data
BinaryData

Query output in JObject array or Table format.

facets
IEnumerable<Facet>

Query facets.

Returns

A new ResourceQueryResult instance for mocking.

Applies to