models Package
Classes
Action |
Action descriptor. You probably want to use the sub-classes and not this class directly. Known sub-classes are: AlertingAction, LogToMetricAction All required parameters must be populated in order to send to Azure. |
AlertingAction |
Specify action need to be taken when rule type is Alert. All required parameters must be populated in order to send to Azure. |
AzNsActionGroup |
Azure action group. |
Criteria |
Specifies the criteria for converting log to metric. All required parameters must be populated in order to send to Azure. |
Dimension |
Specifies the criteria for converting log to metric. All required parameters must be populated in order to send to Azure. |
ErrorContract |
Describes the format of Error response. |
ErrorResponse |
Describes the format of Error response. |
LogMetricTrigger |
A log metrics trigger descriptor. |
LogSearchRuleResource |
The Log Search Rule resource. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. |
LogSearchRuleResourceCollection |
Represents a collection of Log Search rule resources. |
LogSearchRuleResourcePatch |
The log search rule resource for patch operations. |
LogToMetricAction |
Specify action need to be taken when rule type is converting log to metric. All required parameters must be populated in order to send to Azure. |
Resource |
An azure resource object. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. |
Schedule |
Defines how often to run the search and the time interval. All required parameters must be populated in order to send to Azure. |
Source |
Specifies the log search query. All required parameters must be populated in order to send to Azure. |
TriggerCondition |
The condition that results in the Log Search rule. All required parameters must be populated in order to send to Azure. |
Enums
AlertSeverity |
Severity Level of Alert. |
ConditionalOperator |
Result Condition Evaluation criteria. |
Enabled |
The flag which indicates whether the Log Search rule is enabled. Value should be true or false. |
MetricTriggerType |
Metric Trigger Evaluation Type. |
Operator |
Operator for dimension values. |
ProvisioningState |
Provisioning state of the scheduled query rule. |
QueryType |
Set value to 'ResultAccount'. |
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for