GetPrometheusRuleGroupResult

data class GetPrometheusRuleGroupResult(val azureApiVersion: String, val clusterName: String? = null, val description: String? = null, val enabled: Boolean? = null, val id: String, val interval: String? = null, val location: String, val name: String, val rules: List<PrometheusRuleResponse>, val scopes: List<String>, val systemData: SystemDataResponse, val tags: Map<String, String>? = null, val type: String)

The Prometheus rule group resource.

Constructors

Link copied to clipboard
constructor(azureApiVersion: String, clusterName: String? = null, description: String? = null, enabled: Boolean? = null, id: String, interval: String? = null, location: String, name: String, rules: List<PrometheusRuleResponse>, scopes: List<String>, systemData: SystemDataResponse, tags: Map<String, String>? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard
val clusterName: String? = null

Apply rule to data from a specific cluster.

Link copied to clipboard
val description: String? = null

Rule group description.

Link copied to clipboard
val enabled: Boolean? = null

Enable/disable rule group.

Link copied to clipboard
val id: String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Link copied to clipboard
val interval: String? = null

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

Link copied to clipboard

The geo-location where the resource lives

Link copied to clipboard

The name of the resource

Link copied to clipboard

Defines the rules in the Prometheus rule group.

Link copied to clipboard

Target Azure Monitor workspaces resource ids. This api-version is currently limited to creating with one scope. This may change in future.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tags: Map<String, String>? = null

Resource tags.

Link copied to clipboard

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"