Interface MetricAlert.DefinitionStages.WithScopes
-
- All Known Subinterfaces:
MetricAlert.Definition
- Enclosing interface:
- MetricAlert.DefinitionStages
public static interface MetricAlert.DefinitionStages.WithScopesThe stage of the definition which specifies target resource for metric alert.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricAlert.DefinitionStages.WithWindowSizewithTargetResource(com.microsoft.azure.management.resources.fluentcore.arm.models.HasId resource)Sets specified resource as a target to alert on metric.MetricAlert.DefinitionStages.WithWindowSizewithTargetResource(String resourceId)Sets specified resource as a target to alert on metric.
-
-
-
Method Detail
-
withTargetResource
MetricAlert.DefinitionStages.WithWindowSize withTargetResource(String resourceId)
Sets specified resource as a target to alert on metric.- Parameters:
resourceId- resource Id string.- Returns:
- the next stage of metric alert definition.
-
withTargetResource
MetricAlert.DefinitionStages.WithWindowSize withTargetResource(com.microsoft.azure.management.resources.fluentcore.arm.models.HasId resource)
Sets specified resource as a target to alert on metric.- Parameters:
resource- resource type that is inherited fromHasIdinterface- Returns:
- the next stage of metric alert definition.
-
-