public static interface MetricAlert.DefinitionStages.WithScopes
| Modifier and Type | Method and Description |
|---|---|
MetricAlert.DefinitionStages.WithWindowSizeMultipleResource |
withMultipleTargetResources(Collection<? extends com.microsoft.azure.management.resources.fluentcore.arm.models.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(com.microsoft.azure.management.resources.fluentcore.arm.models.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(com.microsoft.azure.management.resources.fluentcore.arm.models.HasId resource)
resource - resource type that is inherited from HasId interface@Beta(value=V1_27_0) MetricAlert.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.@Beta(value=V1_27_0) MetricAlert.DefinitionStages.WithWindowSizeMultipleResource withMultipleTargetResources(Collection<? extends com.microsoft.azure.management.resources.fluentcore.arm.models.Resource> resources)
resources - collection of resources to alert on metric, which must be of the same type and in the same region./**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/