PrometheusRuleGroupResource Interface

public interface PrometheusRuleGroupResource

An immutable client-side representation of PrometheusRuleGroupResource.

Method Summary

Modifier and Type Method and Description
abstract String clusterName()

Gets the clusterName property: the cluster name of the rule group evaluation.

abstract String description()

Gets the description property: the description of the Prometheus rule group that will be included in the alert email.

abstract Boolean enabled()

Gets the enabled property: the flag that indicates whether the Prometheus rule group is enabled.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract PrometheusRuleGroupResourceInner innerModel()

Gets the inner com.azure.resourcemanager.alertsmanagement.fluent.models.PrometheusRuleGroupResourceInner object.

abstract String interval()

Gets the interval property: the interval in which to run the Prometheus rule group represented in ISO 8601 duration format.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract String name()

Gets the name property: The name of the resource.

abstract PrometheusRuleGroupResource refresh()

Refreshes the resource to sync with Azure.

abstract PrometheusRuleGroupResource refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract List<PrometheusRule> rules()

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

abstract List<String> scopes()

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

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the PrometheusRuleGroupResource resource.

Method Details

clusterName

public abstract String clusterName()

Gets the clusterName property: the cluster name of the rule group evaluation.

Returns:

the clusterName value.

description

public abstract String description()

Gets the description property: the description of the Prometheus rule group that will be included in the alert email.

Returns:

the description value.

enabled

public abstract Boolean enabled()

Gets the enabled property: the flag that indicates whether the Prometheus rule group is enabled.

Returns:

the enabled value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract PrometheusRuleGroupResourceInner innerModel()

Gets the inner com.azure.resourcemanager.alertsmanagement.fluent.models.PrometheusRuleGroupResourceInner object.

Returns:

the inner object.

interval

public abstract String interval()

Gets the interval property: the interval in which to run the Prometheus rule group represented in ISO 8601 duration format. Should be between 1 and 15 minutes.

Returns:

the interval value.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

refresh

public abstract PrometheusRuleGroupResource refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract PrometheusRuleGroupResource refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

rules

public abstract List<PrometheusRule> rules()

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

Returns:

the rules value.

scopes

public abstract List<String> scopes()

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

Returns:

the scopes value.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract PrometheusRuleGroupResource.Update update()

Begins update for the PrometheusRuleGroupResource resource.

Returns:

the stage of resource update.

Applies to