Source Class

Specifies the log search query.

All required parameters must be populated in order to send to Azure.

Inheritance
Source

Constructor

Source(*, data_source_id: str, query: Optional[str] = None, authorized_resources: Optional[List[str]] = None, query_type: Optional[Union[str, azure.mgmt.monitor.v2018_04_16.models._monitor_management_client_enums.QueryType]] = None, **kwargs)

Variables

query
str

Log search query. Required for action type - AlertingAction.

authorized_resources
list[str]

List of Resource referred into query.

data_source_id
str

Required. The resource uri over which log search query is to be run.

query_type
str or <xref:$>(<xref:python-base-namespace>)QueryType

Set value to 'ResultCount' . Possible values include: "ResultCount".