public static interface MetricAlert.DefinitionStages.WithScopes
| Modifier and Type | Method and Description |
|---|---|
MetricAlert.DefinitionStages.WithWindowSizeMultipleResource |
withMultipleTargetResources(Collection<? extends Resource> resources)
Sets specified resources as target to alert on metric.
|
MetricAlert.DefinitionStages.WithWindowSizeMultipleResource |
withMultipleTargetResources(Collection<String> resourceIds,
String type,
String regionName)
Sets specified resources as target to alert on metric.
|
MetricAlert.DefinitionStages.WithWindowSize |
withTargetResource(HasId resource)
Sets specified resource as a target to alert on metric.
|
MetricAlert.DefinitionStages.WithWindowSize |
withTargetResource(String resourceId)
Sets specified resource as a target to alert on metric.
|
MetricAlert.DefinitionStages.WithWindowSize withTargetResource(String resourceId)
resourceId - resource Id string.MetricAlert.DefinitionStages.WithWindowSize withTargetResource(HasId resource)
resource - resource type that is inherited from HasId interfaceMetricAlert.DefinitionStages.WithWindowSizeMultipleResource withMultipleTargetResources(Collection<String> resourceIds, String type, String regionName)
resourceIds - collection of resource id to alert on metric.type - resource type.regionName - resource region.MetricAlert.DefinitionStages.WithWindowSizeMultipleResource withMultipleTargetResources(Collection<? extends Resource> resources)
resources - collection of resources to alert on metric, which must be of the same type and in the
same region.Copyright © 2020 Microsoft Corporation. All rights reserved.