Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.sentinel.kotlin.inputs
import com.pulumi.azure.sentinel.inputs.AuthomationRuleActionIncidentArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property classification The classification of the incident, when closing it. Possible values are: `BenignPositive_SuspiciousButExpected`, `FalsePositive_InaccurateData`, `FalsePositive_IncorrectAlertLogic`, `TruePositive_SuspiciousActivity` and `Undetermined`.
* > **Note:** The `classification` is required when `status` is `Closed`.
* @property classificationComment The comment why the incident is to be closed.
* > **Note:** The `classification_comment` is allowed to set only when `status` is `Closed`.
* @property labels Specifies a list of labels to add to the incident.
* @property order The execution order of this action.
* @property ownerId The object ID of the entity this incident is assigned to.
* @property severity The severity to add to the incident. Possible values are `High`, `Informational`, `Low` and `Medium`.
* > **Note:**: At least one of `status`, `labels`, `owner_id` and `severity` has to be set.
* @property status The status to set to the incident. Possible values are: `Active`, `Closed`, `New`.
*/
public data class AuthomationRuleActionIncidentArgs(
public val classification: Output? = null,
public val classificationComment: Output? = null,
public val labels: Output>? = null,
public val order: Output,
public val ownerId: Output? = null,
public val severity: Output? = null,
public val status: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.sentinel.inputs.AuthomationRuleActionIncidentArgs =
com.pulumi.azure.sentinel.inputs.AuthomationRuleActionIncidentArgs.builder()
.classification(classification?.applyValue({ args0 -> args0 }))
.classificationComment(classificationComment?.applyValue({ args0 -> args0 }))
.labels(labels?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.order(order.applyValue({ args0 -> args0 }))
.ownerId(ownerId?.applyValue({ args0 -> args0 }))
.severity(severity?.applyValue({ args0 -> args0 }))
.status(status?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AuthomationRuleActionIncidentArgs].
*/
@PulumiTagMarker
public class AuthomationRuleActionIncidentArgsBuilder internal constructor() {
private var classification: Output? = null
private var classificationComment: Output? = null
private var labels: Output>? = null
private var order: Output? = null
private var ownerId: Output? = null
private var severity: Output? = null
private var status: Output? = null
/**
* @param value The classification of the incident, when closing it. Possible values are: `BenignPositive_SuspiciousButExpected`, `FalsePositive_InaccurateData`, `FalsePositive_IncorrectAlertLogic`, `TruePositive_SuspiciousActivity` and `Undetermined`.
* > **Note:** The `classification` is required when `status` is `Closed`.
*/
@JvmName("rnrtghxmhcgnpluo")
public suspend fun classification(`value`: Output) {
this.classification = value
}
/**
* @param value The comment why the incident is to be closed.
* > **Note:** The `classification_comment` is allowed to set only when `status` is `Closed`.
*/
@JvmName("ibhfxlfugrfthlok")
public suspend fun classificationComment(`value`: Output) {
this.classificationComment = value
}
/**
* @param value Specifies a list of labels to add to the incident.
*/
@JvmName("ajxeypvusaakslpr")
public suspend fun labels(`value`: Output>) {
this.labels = value
}
@JvmName("eucdvtvqhmtyanvu")
public suspend fun labels(vararg values: Output) {
this.labels = Output.all(values.asList())
}
/**
* @param values Specifies a list of labels to add to the incident.
*/
@JvmName("grwnyprxnexahlpe")
public suspend fun labels(values: List