Share via


FacetRequestOptions Constructors

Definition

Overloads

FacetRequestOptions()

Initializes a new instance of the FacetRequestOptions class.

FacetRequestOptions(String, Nullable<FacetSortOrder>, String, Nullable<Int32>)

Initializes a new instance of the FacetRequestOptions class.

FacetRequestOptions()

Initializes a new instance of the FacetRequestOptions class.

public FacetRequestOptions ();
Public Sub New ()

Applies to

FacetRequestOptions(String, Nullable<FacetSortOrder>, String, Nullable<Int32>)

Initializes a new instance of the FacetRequestOptions class.

public FacetRequestOptions (string sortBy = default, Microsoft.Azure.Management.ResourceGraph.Models.FacetSortOrder? sortOrder = default, string filter = default, int? top = default);
new Microsoft.Azure.Management.ResourceGraph.Models.FacetRequestOptions : string * Nullable<Microsoft.Azure.Management.ResourceGraph.Models.FacetSortOrder> * string * Nullable<int> -> Microsoft.Azure.Management.ResourceGraph.Models.FacetRequestOptions
Public Sub New (Optional sortBy As String = Nothing, Optional sortOrder As Nullable(Of FacetSortOrder) = Nothing, Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing)

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). Possible values include: 'asc', 'desc'

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.

Applies to