ArmResourceGraphModelFactory.FacetRequestOptions Method

Definition

public static Azure.ResourceManager.ResourceGraph.Models.FacetRequestOptions FacetRequestOptions(string sortBy = default, Azure.ResourceManager.ResourceGraph.Models.FacetSortOrder? sortOrder = default, string filter = default, int? top = default);
static member FacetRequestOptions : string * Nullable<Azure.ResourceManager.ResourceGraph.Models.FacetSortOrder> * string * Nullable<int> -> Azure.ResourceManager.ResourceGraph.Models.FacetRequestOptions
Public Shared Function FacetRequestOptions (Optional sortBy As String = Nothing, Optional sortOrder As Nullable(Of FacetSortOrder) = Nothing, Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing) As FacetRequestOptions

Parameters

sortBy
String

The column name or query expression to sort on. Defaults to count if not present.

sortOrder
Nullable<FacetSortOrder>

The sorting order by the selected column (count by default).

filter
String

Specifies the filter condition for the 'where' clause which will be run on main query's result, just before the actual faceting.

top
Nullable<Int32>

The maximum number of facet rows that should be returned.

Returns

A new FacetRequestOptions instance for mocking.

Applies to