QueryOptions Class

Parameter group.

Inheritance
msrest.serialization.Model
QueryOptions

Constructor

QueryOptions(*, top: int | None = None, filter: str | None = None, order_by: str | None = None, select: str | None = None, from_property: datetime | None = None, to: datetime | None = None, apply: str | None = None, skip_token: str | None = None, expand: str | None = None, **kwargs)

Parameters

Name Description
top
Required
int

Maximum number of records to return.

filter
Required
str

OData filter expression.

order_by
Required
str

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
Required
str

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

from_property
Required

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

to
Required

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

apply
Required
str

OData apply expression for aggregations.

skip_token
Required
str

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

expand
Required
str

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

Keyword-Only Parameters

Name Description
top
Required
filter
Required
order_by
Required
select
Required
from_property
Required
to
Required
apply
Required
skip_token
Required
expand
Required