GetAlertRuleResult

data class GetAlertRuleResult(val action: Either<RuleEmailActionResponse, RuleWebhookActionResponse>? = null, val actions: List<Either<RuleEmailActionResponse, RuleWebhookActionResponse>>? = null, val condition: Any, val description: String? = null, val id: String, val isEnabled: Boolean, val lastUpdatedTime: String, val location: String, val name: String, val provisioningState: String? = null, val tags: Map<String, String>? = null, val type: String)

The alert rule resource.

Constructors

Link copied to clipboard
constructor(action: Either<RuleEmailActionResponse, RuleWebhookActionResponse>? = null, actions: List<Either<RuleEmailActionResponse, RuleWebhookActionResponse>>? = null, condition: Any, description: String? = null, id: String, isEnabled: Boolean, lastUpdatedTime: String, location: String, name: String, provisioningState: String? = null, tags: Map<String, String>? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

action that is performed when the alert rule becomes active, and when an alert condition is resolved.

Link copied to clipboard

the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.

Link copied to clipboard

the condition that results in the alert rule being activated.

Link copied to clipboard
val description: String? = null

the description of the alert rule that will be included in the alert email.

Link copied to clipboard
val id: String

Azure resource Id

Link copied to clipboard

the flag that indicates whether the alert rule is enabled.

Link copied to clipboard

Last time the rule was updated in ISO8601 format.

Link copied to clipboard

Resource location

Link copied to clipboard

Azure resource name

Link copied to clipboard

the provisioning state.

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

Resource tags

Link copied to clipboard

Azure resource type