
com.pulumi.azure.management.kotlin.inputs.GroupPolicyAssignmentNonComplianceMessageArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.management.kotlin.inputs
import com.pulumi.azure.management.inputs.GroupPolicyAssignmentNonComplianceMessageArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property content The non-compliance message text. When assigning policy sets (initiatives), unless `policy_definition_reference_id` is specified then this message will be the default for all policies.
* @property policyDefinitionReferenceId When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to.
*/
public data class GroupPolicyAssignmentNonComplianceMessageArgs(
public val content: Output,
public val policyDefinitionReferenceId: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.management.inputs.GroupPolicyAssignmentNonComplianceMessageArgs =
com.pulumi.azure.management.inputs.GroupPolicyAssignmentNonComplianceMessageArgs.builder()
.content(content.applyValue({ args0 -> args0 }))
.policyDefinitionReferenceId(policyDefinitionReferenceId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GroupPolicyAssignmentNonComplianceMessageArgs].
*/
@PulumiTagMarker
public class GroupPolicyAssignmentNonComplianceMessageArgsBuilder internal constructor() {
private var content: Output? = null
private var policyDefinitionReferenceId: Output? = null
/**
* @param value The non-compliance message text. When assigning policy sets (initiatives), unless `policy_definition_reference_id` is specified then this message will be the default for all policies.
*/
@JvmName("nldaigeakixaymtm")
public suspend fun content(`value`: Output) {
this.content = value
}
/**
* @param value When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to.
*/
@JvmName("thlukhjlntfkjcud")
public suspend fun policyDefinitionReferenceId(`value`: Output) {
this.policyDefinitionReferenceId = value
}
/**
* @param value The non-compliance message text. When assigning policy sets (initiatives), unless `policy_definition_reference_id` is specified then this message will be the default for all policies.
*/
@JvmName("rmxgriautkqdhjus")
public suspend fun content(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.content = mapped
}
/**
* @param value When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to.
*/
@JvmName("njmygxkexgebeolj")
public suspend fun policyDefinitionReferenceId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.policyDefinitionReferenceId = mapped
}
internal fun build(): GroupPolicyAssignmentNonComplianceMessageArgs =
GroupPolicyAssignmentNonComplianceMessageArgs(
content = content ?: throw PulumiNullFieldException("content"),
policyDefinitionReferenceId = policyDefinitionReferenceId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy