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

com.pulumi.azurenative.network.kotlin.inputs.GetConfigurationPolicyGroupPlainArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.network.kotlin.inputs

import com.pulumi.azurenative.network.inputs.GetConfigurationPolicyGroupPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property configurationPolicyGroupName The name of the ConfigurationPolicyGroup being retrieved.
 * @property resourceGroupName The resource group name of the VpnServerConfiguration.
 * @property vpnServerConfigurationName The name of the VpnServerConfiguration.
 */
public data class GetConfigurationPolicyGroupPlainArgs(
    public val configurationPolicyGroupName: String,
    public val resourceGroupName: String,
    public val vpnServerConfigurationName: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.network.inputs.GetConfigurationPolicyGroupPlainArgs = com.pulumi.azurenative.network.inputs.GetConfigurationPolicyGroupPlainArgs.builder()
        .configurationPolicyGroupName(configurationPolicyGroupName.let({ args0 -> args0 }))
        .resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
        .vpnServerConfigurationName(vpnServerConfigurationName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetConfigurationPolicyGroupPlainArgs].
 */
@PulumiTagMarker
public class GetConfigurationPolicyGroupPlainArgsBuilder internal constructor() {
    private var configurationPolicyGroupName: String? = null

    private var resourceGroupName: String? = null

    private var vpnServerConfigurationName: String? = null

    /**
     * @param value The name of the ConfigurationPolicyGroup being retrieved.
     */
    @JvmName("iyjynlhtxcwtaslm")
    public suspend fun configurationPolicyGroupName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.configurationPolicyGroupName = mapped
    }

    /**
     * @param value The resource group name of the VpnServerConfiguration.
     */
    @JvmName("msefoxrovnvedxtr")
    public suspend fun resourceGroupName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.resourceGroupName = mapped
    }

    /**
     * @param value The name of the VpnServerConfiguration.
     */
    @JvmName("iyuxifuixhpriess")
    public suspend fun vpnServerConfigurationName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.vpnServerConfigurationName = mapped
    }

    internal fun build(): GetConfigurationPolicyGroupPlainArgs = GetConfigurationPolicyGroupPlainArgs(
        configurationPolicyGroupName = configurationPolicyGroupName ?: throw
            PulumiNullFieldException("configurationPolicyGroupName"),
        resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
        vpnServerConfigurationName = vpnServerConfigurationName ?: throw
            PulumiNullFieldException("vpnServerConfigurationName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy