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 cluster |
| 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
Prometheus |
innerModel()
Gets the inner com. |
| 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
Prometheus |
refresh()
Refreshes the resource to sync with Azure. |
|
abstract
Prometheus |
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<Prometheus |
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
System |
systemData()
Gets the system |
| 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 Prometheus |
Method Details
clusterName
public abstract String clusterName()
Gets the clusterName property: the cluster name of the rule group evaluation.
Returns:
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:
enabled
public abstract Boolean enabled()
Gets the enabled property: the flag that indicates whether the Prometheus rule group is enabled.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract PrometheusRuleGroupResourceInner innerModel()
Gets the inner com.azure.resourcemanager.alertsmanagement.fluent.models.PrometheusRuleGroupResourceInner object.
Returns:
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:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
refresh
public abstract PrometheusRuleGroupResource refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract PrometheusRuleGroupResource refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
rules
public abstract List<PrometheusRule> rules()
Gets the rules property: defines the rules in the Prometheus rule group.
Returns:
scopes
public abstract List<String> scopes()
Gets the scopes property: the list of resource id's that this rule group is scoped to.
Returns:
systemData
public abstract SystemData systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tags
public abstract Map<String,String> tags()
Gets the tags property: Resource tags.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract PrometheusRuleGroupResource.Update update()
Begins update for the PrometheusRuleGroupResource resource.
Returns: