QueryOptions Class
Parameter group.
- Inheritance
-
msrest.serialization.ModelQueryOptions
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
|
Maximum number of records to return. |
filter
Required
|
OData filter expression. |
order_by
Required
|
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
|
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
|
OData apply expression for aggregations. |
skip_token
Required
|
Skiptoken is only provided if a previous response returned a partial result as a part of nextLink element. |
expand
Required
|
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
|
|
Azure SDK for Python