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

com.pulumi.azurenative.subscription.kotlin.inputs.PutAliasRequestAdditionalPropertiesArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.subscription.kotlin.inputs

import com.pulumi.azurenative.subscription.inputs.PutAliasRequestAdditionalPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Put subscription additional properties.
 * @property managementGroupId Management group Id for the subscription.
 * @property subscriptionOwnerId Owner Id of the subscription
 * @property subscriptionTenantId Tenant Id of the subscription
 * @property tags Tags for the subscription
 */
public data class PutAliasRequestAdditionalPropertiesArgs(
    public val managementGroupId: Output? = null,
    public val subscriptionOwnerId: Output? = null,
    public val subscriptionTenantId: Output? = null,
    public val tags: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.subscription.inputs.PutAliasRequestAdditionalPropertiesArgs =
        com.pulumi.azurenative.subscription.inputs.PutAliasRequestAdditionalPropertiesArgs.builder()
            .managementGroupId(managementGroupId?.applyValue({ args0 -> args0 }))
            .subscriptionOwnerId(subscriptionOwnerId?.applyValue({ args0 -> args0 }))
            .subscriptionTenantId(subscriptionTenantId?.applyValue({ args0 -> args0 }))
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

/**
 * Builder for [PutAliasRequestAdditionalPropertiesArgs].
 */
@PulumiTagMarker
public class PutAliasRequestAdditionalPropertiesArgsBuilder internal constructor() {
    private var managementGroupId: Output? = null

    private var subscriptionOwnerId: Output? = null

    private var subscriptionTenantId: Output? = null

    private var tags: Output>? = null

    /**
     * @param value Management group Id for the subscription.
     */
    @JvmName("ddiikrgvebraakjo")
    public suspend fun managementGroupId(`value`: Output) {
        this.managementGroupId = value
    }

    /**
     * @param value Owner Id of the subscription
     */
    @JvmName("mwrqpchkyfuertov")
    public suspend fun subscriptionOwnerId(`value`: Output) {
        this.subscriptionOwnerId = value
    }

    /**
     * @param value Tenant Id of the subscription
     */
    @JvmName("aqsrfpdxftlunhqc")
    public suspend fun subscriptionTenantId(`value`: Output) {
        this.subscriptionTenantId = value
    }

    /**
     * @param value Tags for the subscription
     */
    @JvmName("klfyafkbrhgwohva")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value Management group Id for the subscription.
     */
    @JvmName("cfedexghrnomhwxs")
    public suspend fun managementGroupId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.managementGroupId = mapped
    }

    /**
     * @param value Owner Id of the subscription
     */
    @JvmName("vglebxsquyloqpsw")
    public suspend fun subscriptionOwnerId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subscriptionOwnerId = mapped
    }

    /**
     * @param value Tenant Id of the subscription
     */
    @JvmName("ogqygnkcpwcjyjfu")
    public suspend fun subscriptionTenantId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subscriptionTenantId = mapped
    }

    /**
     * @param value Tags for the subscription
     */
    @JvmName("wxjpotjdgjbtusms")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values Tags for the subscription
     */
    @JvmName("bdbiabigxfoisihp")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    internal fun build(): PutAliasRequestAdditionalPropertiesArgs =
        PutAliasRequestAdditionalPropertiesArgs(
            managementGroupId = managementGroupId,
            subscriptionOwnerId = subscriptionOwnerId,
            subscriptionTenantId = subscriptionTenantId,
            tags = tags,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy