![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.policy.kotlin.inputs.GetPolicyDefintionBuiltInPlainArgs.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.GetPolicyDefintionBuiltInPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getPolicyDefintionBuiltIn.
* @property displayName Specifies the display name of the Policy Definition. Conflicts with `name`.
* > **NOTE** As `display_name` is not unique errors may occur when there are multiple policy definitions with same display name.
* @property managementGroupName Only retrieve Policy Definitions from this Management Group.
* @property name Specifies the name of the Policy Definition. Conflicts with `display_name`.
*/
public data class GetPolicyDefintionBuiltInPlainArgs(
public val displayName: String? = null,
public val managementGroupName: String? = null,
public val name: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.policy.inputs.GetPolicyDefintionBuiltInPlainArgs =
com.pulumi.azure.policy.inputs.GetPolicyDefintionBuiltInPlainArgs.builder()
.displayName(displayName?.let({ args0 -> args0 }))
.managementGroupName(managementGroupName?.let({ args0 -> args0 }))
.name(name?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetPolicyDefintionBuiltInPlainArgs].
*/
@PulumiTagMarker
public class GetPolicyDefintionBuiltInPlainArgsBuilder internal constructor() {
private var displayName: String? = null
private var managementGroupName: String? = null
private var name: String? = null
/**
* @param value Specifies the display name of the Policy Definition. Conflicts with `name`.
* > **NOTE** As `display_name` is not unique errors may occur when there are multiple policy definitions with same display name.
*/
@JvmName("nggudfxdhkwmoblg")
public suspend fun displayName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.displayName = mapped
}
/**
* @param value Only retrieve Policy Definitions from this Management Group.
*/
@JvmName("mwadcphjgkyvhdvc")
public suspend fun managementGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.managementGroupName = mapped
}
/**
* @param value Specifies the name of the Policy Definition. Conflicts with `display_name`.
*/
@JvmName("kfjmhqlgrdcajiwa")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.name = mapped
}
internal fun build(): GetPolicyDefintionBuiltInPlainArgs = GetPolicyDefintionBuiltInPlainArgs(
displayName = displayName,
managementGroupName = managementGroupName,
name = name,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy