public static interface MetricAlert.DefinitionStages.WithScopes
| Modifier and Type | Method and Description |
|---|---|
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/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/