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

com.pulumi.azure.arc.kotlin.inputs.ResourceBridgeApplianceIdentityArgs.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.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.arc.kotlin.inputs

import com.pulumi.azure.arc.inputs.ResourceBridgeApplianceIdentityArgs.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.jvm.JvmName

/**
 *
 * @property principalId
 * @property tenantId
 * @property type Specifies the type of Managed Service Identity that should be configured on this Arc Resource Bridge Appliance. The only possible value is `SystemAssigned`. Changing this forces a new resource to be created.
 */
public data class ResourceBridgeApplianceIdentityArgs(
    public val principalId: Output? = null,
    public val tenantId: Output? = null,
    public val type: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.arc.inputs.ResourceBridgeApplianceIdentityArgs =
        com.pulumi.azure.arc.inputs.ResourceBridgeApplianceIdentityArgs.builder()
            .principalId(principalId?.applyValue({ args0 -> args0 }))
            .tenantId(tenantId?.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ResourceBridgeApplianceIdentityArgs].
 */
@PulumiTagMarker
public class ResourceBridgeApplianceIdentityArgsBuilder internal constructor() {
    private var principalId: Output? = null

    private var tenantId: Output? = null

    private var type: Output? = null

    /**
     * @param value
     */
    @JvmName("yrwcqqgigvopbjik")
    public suspend fun principalId(`value`: Output) {
        this.principalId = value
    }

    /**
     * @param value
     */
    @JvmName("uskmcvmcfbwgajrf")
    public suspend fun tenantId(`value`: Output) {
        this.tenantId = value
    }

    /**
     * @param value Specifies the type of Managed Service Identity that should be configured on this Arc Resource Bridge Appliance. The only possible value is `SystemAssigned`. Changing this forces a new resource to be created.
     */
    @JvmName("xqtofhjxibxtgmid")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value
     */
    @JvmName("ehukwsuncvlcworf")
    public suspend fun principalId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.principalId = mapped
    }

    /**
     * @param value
     */
    @JvmName("tmynwvwywiploxoa")
    public suspend fun tenantId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tenantId = mapped
    }

    /**
     * @param value Specifies the type of Managed Service Identity that should be configured on this Arc Resource Bridge Appliance. The only possible value is `SystemAssigned`. Changing this forces a new resource to be created.
     */
    @JvmName("nqmeuxpkbnijixqi")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): ResourceBridgeApplianceIdentityArgs = ResourceBridgeApplianceIdentityArgs(
        principalId = principalId,
        tenantId = tenantId,
        type = type ?: throw PulumiNullFieldException("type"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy