public static interface MetricAlert.DefinitionStages.WithScopes
Modifier and Type | Method and Description |
---|---|
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
interfaceCopyright © 2019. All rights reserved.