Interface MetricAlert.DefinitionStages.WithCreateDynamicCondition
- All Superinterfaces:
Creatable<MetricAlert>,HasName,Indexable,Resource.DefinitionWithTags<MetricAlert.DefinitionStages.WithCreate>
- All Known Subinterfaces:
MetricAlert.DefinitionMultipleResource
- Enclosing interface:
MetricAlert.DefinitionStages
public static interface MetricAlert.DefinitionStages.WithCreateDynamicCondition
extends Creatable<MetricAlert>, Resource.DefinitionWithTags<MetricAlert.DefinitionStages.WithCreate>
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 TypeMethodDescriptionSets the flag that indicates the alert should not be auto resolved.Sets metric alert as disabled during the creation.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Creatable
create, create, createAsync, createAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithTags
withTag, withTags
-
Method Details
-
withoutAutoMitigation
MetricAlert.DefinitionStages.WithCreate withoutAutoMitigation()Sets the flag that indicates the alert should not be auto resolved.- Returns:
- the next stage of metric alert condition definition.
-
withRuleDisabled
MetricAlert.DefinitionStages.WithActionGroup withRuleDisabled()Sets metric alert as disabled during the creation.- Returns:
- the next stage of metric alert definition.
-