ArmResourceGraphModelFactory.FacetRequestOptions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Returns
A new FacetRequestOptions instance for mocking.