Skip to content

AzureLogsQuery🔗

Constructor🔗

AzureLogsQuery()

Methods🔗

build🔗

Builds the object.

def build() -> azuremonitor.AzureLogsQuery

intersect_time🔗

If set to true the intersection of time ranges specified in the query and Grafana will be used. Otherwise the query time ranges will be used. Defaults to false

def intersect_time(intersect_time: bool) -> typing.Self

query🔗

KQL query to be executed.

def query(query: str) -> typing.Self

resource🔗

@deprecated Use resources instead

def resource(resource: str) -> typing.Self

resources🔗

Array of resource URIs to be queried.

def resources(resources: list[str]) -> typing.Self

result_format🔗

Specifies the format results should be returned as.

def result_format(result_format: azuremonitor.ResultFormat) -> typing.Self

workspace🔗

Workspace ID. This was removed in Grafana 8, but remains for backwards compat

def workspace(workspace: str) -> typing.Self

See also🔗