QueryResult Class

Result of query. It contains all columns listed under groupings and aggregation.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.costmanagement.models._models_py3.Resource
QueryResult

Constructor

QueryResult(*, e_tag: Optional[str] = None, next_link: Optional[str] = None, columns: Optional[List[azure.mgmt.costmanagement.models._models_py3.QueryColumn]] = None, rows: Optional[List[List[Any]]] = None, **kwargs)

Parameters

e_tag
str
Required

eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.

next_link
str
Required

The link (url) to the next page of results.

columns
list[QueryColumn]
Required

Array of columns.

rows
list[list[any]]
Required

Array of rows.

Variables

id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

tags
dict[str, str]

A set of tags. Resource tags.

location
str

Resource location.

sku
str

Resource SKU.