com.pulumi.azure.policy.kotlin.inputs.PolicySetDefinitionPolicyDefinitionReferenceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.policy.kotlin.inputs
import com.pulumi.azure.policy.inputs.PolicySetDefinitionPolicyDefinitionReferenceArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 PolicySetDefinitionPolicyDefinitionReferenceArgs(
public val parameterValues: Output? = null,
public val policyDefinitionId: Output,
public val policyGroupNames: Output>? = null,
public val referenceId: Output? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.policy.inputs.PolicySetDefinitionPolicyDefinitionReferenceArgs =
com.pulumi.azure.policy.inputs.PolicySetDefinitionPolicyDefinitionReferenceArgs.builder()
.parameterValues(parameterValues?.applyValue({ args0 -> args0 }))
.policyDefinitionId(policyDefinitionId.applyValue({ args0 -> args0 }))
.policyGroupNames(policyGroupNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.referenceId(referenceId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PolicySetDefinitionPolicyDefinitionReferenceArgs].
*/
@PulumiTagMarker
public class PolicySetDefinitionPolicyDefinitionReferenceArgsBuilder internal constructor() {
private var parameterValues: Output? = null
private var policyDefinitionId: Output? = null
private var policyGroupNames: Output>? = null
private var referenceId: Output? = null
/**
* @param value Parameter values for the referenced policy rule. This field is a JSON string that allows you to assign parameters to this policy rule.
*/
@JvmName("swuvhdjcmyapnito")
public suspend fun parameterValues(`value`: Output) {
this.parameterValues = value
}
/**
* @param value The ID of the policy definition that will be included in this policy set definition.
*/
@JvmName("qfhknrhqcocrwdjx")
public suspend fun policyDefinitionId(`value`: Output) {
this.policyDefinitionId = value
}
/**
* @param value A list of names of the policy definition groups that this policy definition reference belongs to.
*/
@JvmName("gddshgcapfyvsgpx")
public suspend fun policyGroupNames(`value`: Output>) {
this.policyGroupNames = value
}
@JvmName("xfnamvydxcdntqnd")
public suspend fun policyGroupNames(vararg values: Output) {
this.policyGroupNames = Output.all(values.asList())
}
/**
* @param values A list of names of the policy definition groups that this policy definition reference belongs to.
*/
@JvmName("cshmdacrgpelohmv")
public suspend fun policyGroupNames(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy