PrometheusRuleGroupResource.DefinitionStages.WithScopes Interface

public static interface PrometheusRuleGroupResource.DefinitionStages.WithScopes

The stage of the PrometheusRuleGroupResource definition allowing to specify scopes.

Method Summary

Modifier and Type Method and Description
abstract WithRules withScopes(List<String> scopes)

Specifies the scopes property: the list of resource id's that this rule group is scoped to..

Method Details

withScopes

public abstract PrometheusRuleGroupResource.DefinitionStages.WithRules withScopes(List<String> scopes)

Specifies the scopes property: the list of resource id's that this rule group is scoped to..

Parameters:

scopes - the list of resource id's that this rule group is scoped to.

Returns:

the next definition stage.

Applies to