PrometheusRuleGroupResource.DefinitionStages.WithRules Interface

public static interface PrometheusRuleGroupResource.DefinitionStages.WithRules

The stage of the PrometheusRuleGroupResource definition allowing to specify rules.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withRules(List<PrometheusRule> rules)

Specifies the rules property: defines the rules in the Prometheus rule group..

Method Details

withRules

public abstract PrometheusRuleGroupResource.DefinitionStages.WithCreate withRules(List<PrometheusRule> rules)

Specifies the rules property: defines the rules in the Prometheus rule group..

Parameters:

rules - defines the rules in the Prometheus rule group.

Returns:

the next definition stage.

Applies to