MetricAlert.DefinitionStages.WithCreate Interface
Implements
public static interface MetricAlert.DefinitionStages.WithCreate
extends Creatable<MetricAlert>, DefinitionWithTags<WithCreate>, WithCriteriaDefinition
The stage of the definition which contains all the minimum required inputs for the resource to be created but also allows for any other optional settings to be specified.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withRuleDisabled()
Sets metric alert as disabled during the creation. |
abstract
With |
withoutAutoMitigation()
Sets the flag that indicates the alert should not be auto resolved. |
Method Details
withRuleDisabled
public abstract MetricAlert.DefinitionStages.WithActionGroup withRuleDisabled()
Sets metric alert as disabled during the creation.
Returns:
withoutAutoMitigation
public abstract MetricAlert.DefinitionStages.WithCreate withoutAutoMitigation()
Sets the flag that indicates the alert should not be auto resolved.
Returns:
Applies to
Azure SDK for Java
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