QueryOptions Constructors

Definition

Overloads

QueryOptions()

Initializes a new instance of the QueryOptions class.

QueryOptions(Nullable<Int32>, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, String)

Initializes a new instance of the QueryOptions class.

QueryOptions()

Initializes a new instance of the QueryOptions class.

public QueryOptions ();
Public Sub New ()

Applies to

QueryOptions(Nullable<Int32>, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, String)

Initializes a new instance of the QueryOptions class.

public QueryOptions (int? top = default, string filter = default, string orderBy = default, string select = default, DateTime? fromProperty = default, DateTime? to = default, string apply = default, string skipToken = default, string expand = default);
new Microsoft.Azure.Management.PolicyInsights.Models.QueryOptions : Nullable<int> * string * string * string * Nullable<DateTime> * Nullable<DateTime> * string * string * string -> Microsoft.Azure.Management.PolicyInsights.Models.QueryOptions
Public Sub New (Optional top As Nullable(Of Integer) = Nothing, Optional filter As String = Nothing, Optional orderBy As String = Nothing, Optional select As String = Nothing, Optional fromProperty As Nullable(Of DateTime) = Nothing, Optional to As Nullable(Of DateTime) = Nothing, Optional apply As String = Nothing, Optional skipToken As String = Nothing, Optional expand As String = Nothing)

Parameters

top
Nullable<Int32>

Maximum number of records to return.

filter
String

OData filter expression.

orderBy
String

Ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc".

select
String

Select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId".

fromProperty
Nullable<DateTime>

ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day).

to
Nullable<DateTime>

ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time.

apply
String

OData apply expression for aggregations.

skipToken
String

Skiptoken is only provided if a previous response returned a partial result as a part of nextLink element.

expand
String

The $expand query parameter. For example, to expand components use $expand=components

Applies to