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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricAlert.DefinitionStages.WithCreatewithoutAutoMitigation()Sets the flag that indicates the alert should not be auto resolved.MetricAlert.DefinitionStages.WithActionGroupwithRuleDisabled()Sets metric alert as disabled during the creation.-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Creatable
create, create, createAsync, createAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithTags
withTag, withTags
-
-
-
-
Method Detail
-
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.
-
-