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

com.pulumi.azurenative.app.kotlin.inputs.AppRegistrationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.app.kotlin.inputs

import com.pulumi.azurenative.app.inputs.AppRegistrationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The configuration settings of the app registration for providers that have app ids and app secrets
 * @property appId The App ID of the app used for login.
 * @property appSecretSettingName The app setting name that contains the app secret.
 */
public data class AppRegistrationArgs(
    public val appId: Output? = null,
    public val appSecretSettingName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.app.inputs.AppRegistrationArgs =
        com.pulumi.azurenative.app.inputs.AppRegistrationArgs.builder()
            .appId(appId?.applyValue({ args0 -> args0 }))
            .appSecretSettingName(appSecretSettingName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AppRegistrationArgs].
 */
@PulumiTagMarker
public class AppRegistrationArgsBuilder internal constructor() {
    private var appId: Output? = null

    private var appSecretSettingName: Output? = null

    /**
     * @param value The App ID of the app used for login.
     */
    @JvmName("xxtfwdkpbkqpuxwk")
    public suspend fun appId(`value`: Output) {
        this.appId = value
    }

    /**
     * @param value The app setting name that contains the app secret.
     */
    @JvmName("tojgmdkolvdbjxjq")
    public suspend fun appSecretSettingName(`value`: Output) {
        this.appSecretSettingName = value
    }

    /**
     * @param value The App ID of the app used for login.
     */
    @JvmName("jjpujfphacmocfgm")
    public suspend fun appId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.appId = mapped
    }

    /**
     * @param value The app setting name that contains the app secret.
     */
    @JvmName("wbwujrpvtpnicjwk")
    public suspend fun appSecretSettingName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.appSecretSettingName = mapped
    }

    internal fun build(): AppRegistrationArgs = AppRegistrationArgs(
        appId = appId,
        appSecretSettingName = appSecretSettingName,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy