Package-level declarations

Types

Link copied to clipboard
data class ActionGroupArgs(val actionGroupId: Output<String>, val conditions: Output<ConditionsArgs>? = null, val description: Output<String>? = null, val scope: Output<ScopeArgs>? = null, val status: Output<Either<String, ActionRuleStatus>>? = null, val type: Output<String>) : ConvertibleToJava<ActionGroupArgs>

Action rule with action group configuration

Link copied to clipboard
Link copied to clipboard
data class ActionGroupsInformationArgs(val customEmailSubject: Output<String>? = null, val customWebhookPayload: Output<String>? = null, val groupIds: Output<List<String>>) : ConvertibleToJava<ActionGroupsInformationArgs>

The Action Groups information, used by the alert rule.

Link copied to clipboard
data class AddActionGroupsArgs(val actionGroupIds: Output<List<String>>, val actionType: Output<String>) : ConvertibleToJava<AddActionGroupsArgs>

Add action groups to alert processing rule.

Link copied to clipboard
data class AlertProcessingRulePropertiesArgs(val actions: Output<List<Either<AddActionGroupsArgs, RemoveAllActionGroupsArgs>>>, val conditions: Output<List<ConditionArgs>>? = null, val description: Output<String>? = null, val enabled: Output<Boolean>? = null, val schedule: Output<ScheduleArgs>? = null, val scopes: Output<List<String>>) : ConvertibleToJava<AlertProcessingRulePropertiesArgs>

Alert processing rule properties defining scopes, conditions and scheduling logic for alert processing rule.

Link copied to clipboard
data class ConditionArgs(val field: Output<Either<String, Field>>? = null, val operator: Output<Either<String, Operator>>? = null, val values: Output<List<String>>? = null) : ConvertibleToJava<ConditionArgs>

Condition to trigger an alert processing rule.

Link copied to clipboard
Link copied to clipboard
data class ConditionsArgs(val alertContext: Output<ConditionArgs>? = null, val alertRuleId: Output<ConditionArgs>? = null, val alertRuleName: Output<ConditionArgs>? = null, val description: Output<ConditionArgs>? = null, val monitorCondition: Output<ConditionArgs>? = null, val monitorService: Output<ConditionArgs>? = null, val severity: Output<ConditionArgs>? = null, val targetResourceType: Output<ConditionArgs>? = null) : ConvertibleToJava<ConditionsArgs>

Conditions in alert instance to be matched for a given action rule. Default value is all. Multiple values could be provided with comma separation.

Link copied to clipboard
Link copied to clipboard
data class DailyRecurrenceArgs(val endTime: Output<String>, val recurrenceType: Output<String>, val startTime: Output<String>) : ConvertibleToJava<DailyRecurrenceArgs>

Daily recurrence object.

Link copied to clipboard
data class DetectorArgs(val id: Output<String>, val parameters: Output<Map<String, Any>>? = null) : ConvertibleToJava<DetectorArgs>

The detector information. By default this is not populated, unless it's specified in expandDetector

Link copied to clipboard
Link copied to clipboard
data class DiagnosticsArgs(val conditions: Output<ConditionsArgs>? = null, val description: Output<String>? = null, val scope: Output<ScopeArgs>? = null, val status: Output<Either<String, ActionRuleStatus>>? = null, val type: Output<String>) : ConvertibleToJava<DiagnosticsArgs>

Action rule with diagnostics configuration

Link copied to clipboard
Link copied to clipboard
data class GetActionRuleByNamePlainArgs(val actionRuleName: String, val resourceGroupName: String) : ConvertibleToJava<GetActionRuleByNamePlainArgs>
Link copied to clipboard
data class GetAlertProcessingRuleByNamePlainArgs(val alertProcessingRuleName: String, val resourceGroupName: String) : ConvertibleToJava<GetAlertProcessingRuleByNamePlainArgs>
Link copied to clipboard
data class GetIssuePlainArgs(val issueName: String, val resourceUri: String) : ConvertibleToJava<GetIssuePlainArgs>
Link copied to clipboard
Link copied to clipboard
data class GetPrometheusRuleGroupPlainArgs(val resourceGroupName: String, val ruleGroupName: String) : ConvertibleToJava<GetPrometheusRuleGroupPlainArgs>
Link copied to clipboard
data class GetSmartDetectorAlertRulePlainArgs(val alertRuleName: String, val expandDetector: Boolean? = null, val resourceGroupName: String) : ConvertibleToJava<GetSmartDetectorAlertRulePlainArgs>
Link copied to clipboard
data class IssuePropertiesArgs(val impactTime: Output<String>, val severity: Output<String>, val status: Output<Either<String, Status>>, val title: Output<String>) : ConvertibleToJava<IssuePropertiesArgs>

The issue properties

Link copied to clipboard
data class ListIssueAlertsPlainArgs(val filter: String? = null, val issueName: String, val resourceUri: String) : ConvertibleToJava<ListIssueAlertsPlainArgs>
Link copied to clipboard
data class ListIssueResourcesPlainArgs(val filter: String? = null, val issueName: String, val resourceUri: String) : ConvertibleToJava<ListIssueResourcesPlainArgs>
Link copied to clipboard
data class MonthlyRecurrenceArgs(val daysOfMonth: Output<List<Int>>, val endTime: Output<String>? = null, val recurrenceType: Output<String>, val startTime: Output<String>? = null) : ConvertibleToJava<MonthlyRecurrenceArgs>

Monthly recurrence object.

Link copied to clipboard
data class PrometheusRuleArgs(val actions: Output<List<PrometheusRuleGroupActionArgs>>? = null, val alert: Output<String>? = null, val annotations: Output<Map<String, String>>? = null, val enabled: Output<Boolean>? = null, val expression: Output<String>, val for: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val record: Output<String>? = null, val resolveConfiguration: Output<PrometheusRuleResolveConfigurationArgs>? = null, val severity: Output<Int>? = null) : ConvertibleToJava<PrometheusRuleArgs>

An Azure Prometheus alerting or recording rule.

Link copied to clipboard
Link copied to clipboard
data class PrometheusRuleGroupActionArgs(val actionGroupId: Output<String>? = null, val actionProperties: Output<Map<String, String>>? = null) : ConvertibleToJava<PrometheusRuleGroupActionArgs>

An alert action. Only relevant for alerts.

Link copied to clipboard
data class PrometheusRuleResolveConfigurationArgs(val autoResolved: Output<Boolean>? = null, val timeToResolve: Output<String>? = null) : ConvertibleToJava<PrometheusRuleResolveConfigurationArgs>

Specifies the Prometheus alert rule configuration.

Link copied to clipboard
data class RemoveAllActionGroupsArgs(val actionType: Output<String>) : ConvertibleToJava<RemoveAllActionGroupsArgs>

Indicates if all action groups should be removed.

Link copied to clipboard
data class ScheduleArgs(val effectiveFrom: Output<String>? = null, val effectiveUntil: Output<String>? = null, val recurrences: Output<List<Any>>? = null, val timeZone: Output<String>? = null) : ConvertibleToJava<ScheduleArgs>

Scheduling configuration for a given alert processing rule.

Link copied to clipboard
Link copied to clipboard
data class ScopeArgs(val scopeType: Output<Either<String, ScopeType>>? = null, val values: Output<List<String>>? = null) : ConvertibleToJava<ScopeArgs>

Target scope for a given action rule. By default scope will be the subscription. User can also provide list of resource groups or list of resources from the scope subscription as well.

Link copied to clipboard

Builder for ScopeArgs.

Link copied to clipboard
data class SuppressionArgs(val conditions: Output<ConditionsArgs>? = null, val description: Output<String>? = null, val scope: Output<ScopeArgs>? = null, val status: Output<Either<String, ActionRuleStatus>>? = null, val suppressionConfig: Output<SuppressionConfigArgs>, val type: Output<String>) : ConvertibleToJava<SuppressionArgs>

Action rule with suppression configuration

Link copied to clipboard
Link copied to clipboard
data class SuppressionConfigArgs(val recurrenceType: Output<Either<String, SuppressionType>>, val schedule: Output<SuppressionScheduleArgs>? = null) : ConvertibleToJava<SuppressionConfigArgs>

Suppression logic for a given action rule

Link copied to clipboard
data class SuppressionScheduleArgs(val endDate: Output<String>? = null, val endTime: Output<String>? = null, val recurrenceValues: Output<List<Int>>? = null, val startDate: Output<String>? = null, val startTime: Output<String>? = null) : ConvertibleToJava<SuppressionScheduleArgs>

Schedule for a given suppression configuration.

Link copied to clipboard
data class ThrottlingInformationArgs(val duration: Output<String>? = null) : ConvertibleToJava<ThrottlingInformationArgs>

Optional throttling information for the alert rule.

Link copied to clipboard
data class WeeklyRecurrenceArgs(val daysOfWeek: Output<List<Either<String, DaysOfWeek>>>, val endTime: Output<String>? = null, val recurrenceType: Output<String>, val startTime: Output<String>? = null) : ConvertibleToJava<WeeklyRecurrenceArgs>

Weekly recurrence object.