ActivityLogAlertCriteria

data class ActivityLogAlertCriteria(val caller: String? = null, val category: String, val level: String? = null, val levels: List<String>? = null, val operationName: String? = null, val recommendationCategory: String? = null, val recommendationImpact: String? = null, val recommendationType: String? = null, val resourceGroup: String? = null, val resourceGroups: List<String>? = null, val resourceHealth: ActivityLogAlertCriteriaResourceHealth? = null, val resourceId: String? = null, val resourceIds: List<String>? = null, val resourceProvider: String? = null, val resourceProviders: List<String>? = null, val resourceType: String? = null, val resourceTypes: List<String>? = null, val serviceHealth: ActivityLogAlertCriteriaServiceHealth? = null, val status: String? = null, val statuses: List<String>? = null, val subStatus: String? = null, val subStatuses: List<String>? = null)

Constructors

Link copied to clipboard
constructor(caller: String? = null, category: String, level: String? = null, levels: List<String>? = null, operationName: String? = null, recommendationCategory: String? = null, recommendationImpact: String? = null, recommendationType: String? = null, resourceGroup: String? = null, resourceGroups: List<String>? = null, resourceHealth: ActivityLogAlertCriteriaResourceHealth? = null, resourceId: String? = null, resourceIds: List<String>? = null, resourceProvider: String? = null, resourceProviders: List<String>? = null, resourceType: String? = null, resourceTypes: List<String>? = null, serviceHealth: ActivityLogAlertCriteriaServiceHealth? = null, status: String? = null, statuses: List<String>? = null, subStatus: String? = null, subStatuses: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val caller: String? = null

The email address or Azure Active Directory identifier of the user who performed the operation.

Link copied to clipboard

The category of the operation. Possible values are Administrative, Autoscale, Policy, Recommendation, ResourceHealth, Security and ServiceHealth.

Link copied to clipboard
val level: String? = null

The severity level of the event. Possible values are Verbose, Informational, Warning, Error, and Critical.

Link copied to clipboard
val levels: List<String>? = null

A list of severity level of the event. Possible values are Verbose, Informational, Warning, Error, and Critical.

Link copied to clipboard
val operationName: String? = null

The Resource Manager Role-Based Access Control operation name. Supported operation should be of the form: <resourceProvider>/<resourceType>/<operation>.

Link copied to clipboard

The recommendation category of the event. Possible values are Cost, Reliability, OperationalExcellence, HighAvailability and Performance. It is only allowed when category is Recommendation.

Link copied to clipboard

The recommendation impact of the event. Possible values are High, Medium and Low. It is only allowed when category is Recommendation.

Link copied to clipboard

The recommendation type of the event. It is only allowed when category is Recommendation.

Link copied to clipboard
val resourceGroup: String? = null

The name of resource group monitored by the activity log alert.

Link copied to clipboard
val resourceGroups: List<String>? = null

A list of names of resource groups monitored by the activity log alert.

Link copied to clipboard

A block to define fine grain resource health settings.

Link copied to clipboard
val resourceId: String? = null

The specific resource monitored by the activity log alert. It should be within one of the scopes.

Link copied to clipboard
val resourceIds: List<String>? = null

A list of specific resources monitored by the activity log alert. It should be within one of the scopes.

Link copied to clipboard

The name of the resource provider monitored by the activity log alert.

Link copied to clipboard

A list of names of resource providers monitored by the activity log alert.

Link copied to clipboard
val resourceType: String? = null

The resource type monitored by the activity log alert.

Link copied to clipboard
val resourceTypes: List<String>? = null

A list of resource types monitored by the activity log alert.

Link copied to clipboard

A block to define fine grain service health settings.

Link copied to clipboard
val status: String? = null

The status of the event. For example, Started, Failed, or Succeeded.

Link copied to clipboard
val statuses: List<String>? = null

A list of status of the event. For example, Started, Failed, or Succeeded.

Link copied to clipboard
val subStatus: String? = null

The sub status of the event.

Link copied to clipboard
val subStatuses: List<String>? = null

A list of sub status of the event.