Uses of Class
com.azure.resourcemanager.monitor.fluent.models.ScheduledQueryRuleProperties
Packages that use ScheduledQueryRuleProperties
Package
Description
Package containing the inner data models for MonitorClient.
-
Uses of ScheduledQueryRuleProperties in com.azure.resourcemanager.monitor.fluent.models
Methods in com.azure.resourcemanager.monitor.fluent.models that return ScheduledQueryRulePropertiesModifier and TypeMethodDescriptionstatic ScheduledQueryRulePropertiesScheduledQueryRuleProperties.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ScheduledQueryRuleProperties from the JsonReader.ScheduledQueryRuleProperties.withActions(Actions actions) Set the actions property: Actions to invoke when the alert fires.ScheduledQueryRuleProperties.withAutoMitigate(Boolean autoMitigate) Set the autoMitigate property: The flag that indicates whether the alert should be automatically resolved or not.ScheduledQueryRuleProperties.withCheckWorkspaceAlertsStorageConfigured(Boolean checkWorkspaceAlertsStorageConfigured) Set the checkWorkspaceAlertsStorageConfigured property: The flag which indicates whether this scheduled query rule should be stored in the customer's storage.ScheduledQueryRuleProperties.withCriteria(ScheduledQueryRuleCriteria criteria) Set the criteria property: The rule criteria that defines the conditions of the scheduled query rule.ScheduledQueryRuleProperties.withDescription(String description) Set the description property: The description of the scheduled query rule.ScheduledQueryRuleProperties.withDisplayName(String displayName) Set the displayName property: The display name of the alert rule.ScheduledQueryRuleProperties.withEnabled(Boolean enabled) Set the enabled property: The flag which indicates whether this scheduled query rule is enabled.ScheduledQueryRuleProperties.withEvaluationFrequency(Duration evaluationFrequency) Set the evaluationFrequency property: How often the scheduled query rule is evaluated represented in ISO 8601 duration format.ScheduledQueryRuleProperties.withMuteActionsDuration(Duration muteActionsDuration) Set the muteActionsDuration property: Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired.ScheduledQueryRuleProperties.withOverrideQueryTimeRange(Duration overrideQueryTimeRange) Set the overrideQueryTimeRange property: If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods).ScheduledQueryRuleProperties.withScopes(List<String> scopes) Set the scopes property: The list of resource id's that this scheduled query rule is scoped to.ScheduledQueryRuleProperties.withSeverity(AlertSeverity severity) Set the severity property: Severity of the alert.ScheduledQueryRuleProperties.withSkipQueryValidation(Boolean skipQueryValidation) Set the skipQueryValidation property: The flag which indicates whether the provided query should be validated or not.ScheduledQueryRuleProperties.withTargetResourceTypes(List<String> targetResourceTypes) Set the targetResourceTypes property: List of resource type of the target resource(s) on which the alert is created/updated.ScheduledQueryRuleProperties.withWindowSize(Duration windowSize) Set the windowSize property: The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size).