All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.management.kotlin.outputs.GroupPolicyAssignmentNonComplianceMessage.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@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