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

com.pulumi.azure.policy.kotlin.outputs.PolicySetDefinitionPolicyDefinitionReference.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.policy.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property parameterValues Parameter values for the referenced policy rule. This field is a JSON string that allows you to assign parameters to this policy rule.
 * @property policyDefinitionId The ID of the policy definition that will be included in this policy set definition.
 * @property policyGroupNames A list of names of the policy definition groups that this policy definition reference belongs to.
 * @property referenceId A unique ID within this policy set definition for this policy definition reference.
 */
public data class PolicySetDefinitionPolicyDefinitionReference(
    public val parameterValues: String? = null,
    public val policyDefinitionId: String,
    public val policyGroupNames: List? = null,
    public val referenceId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.policy.outputs.PolicySetDefinitionPolicyDefinitionReference): PolicySetDefinitionPolicyDefinitionReference = PolicySetDefinitionPolicyDefinitionReference(
            parameterValues = javaType.parameterValues().map({ args0 -> args0 }).orElse(null),
            policyDefinitionId = javaType.policyDefinitionId(),
            policyGroupNames = javaType.policyGroupNames().map({ args0 -> args0 }),
            referenceId = javaType.referenceId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy