
com.pulumi.azure.management.kotlin.outputs.GroupPolicyAssignmentNonComplianceMessage.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.management.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @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 GroupPolicyAssignmentNonComplianceMessage(
public val content: String,
public val policyDefinitionReferenceId: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.management.outputs.GroupPolicyAssignmentNonComplianceMessage): GroupPolicyAssignmentNonComplianceMessage = GroupPolicyAssignmentNonComplianceMessage(
content = javaType.content(),
policyDefinitionReferenceId = javaType.policyDefinitionReferenceId().map({ args0 ->
args0
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy