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

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

package com.pulumi.azure.storage.kotlin.inputs

import com.pulumi.azure.storage.inputs.AccountRoutingArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property choice Specifies the kind of network routing opted by the user. Possible values are `InternetRouting` and `MicrosoftRouting`. Defaults to `MicrosoftRouting`.
 * @property publishInternetEndpoints Should internet routing storage endpoints be published? Defaults to `false`.
 * @property publishMicrosoftEndpoints Should Microsoft routing storage endpoints be published? Defaults to `false`.
 */
public data class AccountRoutingArgs(
    public val choice: Output? = null,
    public val publishInternetEndpoints: Output? = null,
    public val publishMicrosoftEndpoints: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.storage.inputs.AccountRoutingArgs =
        com.pulumi.azure.storage.inputs.AccountRoutingArgs.builder()
            .choice(choice?.applyValue({ args0 -> args0 }))
            .publishInternetEndpoints(publishInternetEndpoints?.applyValue({ args0 -> args0 }))
            .publishMicrosoftEndpoints(publishMicrosoftEndpoints?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AccountRoutingArgs].
 */
@PulumiTagMarker
public class AccountRoutingArgsBuilder internal constructor() {
    private var choice: Output? = null

    private var publishInternetEndpoints: Output? = null

    private var publishMicrosoftEndpoints: Output? = null

    /**
     * @param value Specifies the kind of network routing opted by the user. Possible values are `InternetRouting` and `MicrosoftRouting`. Defaults to `MicrosoftRouting`.
     */
    @JvmName("gdfrjprqdvnkimys")
    public suspend fun choice(`value`: Output) {
        this.choice = value
    }

    /**
     * @param value Should internet routing storage endpoints be published? Defaults to `false`.
     */
    @JvmName("chudremteenurcpi")
    public suspend fun publishInternetEndpoints(`value`: Output) {
        this.publishInternetEndpoints = value
    }

    /**
     * @param value Should Microsoft routing storage endpoints be published? Defaults to `false`.
     */
    @JvmName("aqlvodsmpuuuwmrc")
    public suspend fun publishMicrosoftEndpoints(`value`: Output) {
        this.publishMicrosoftEndpoints = value
    }

    /**
     * @param value Specifies the kind of network routing opted by the user. Possible values are `InternetRouting` and `MicrosoftRouting`. Defaults to `MicrosoftRouting`.
     */
    @JvmName("nmtlckwelauijjfd")
    public suspend fun choice(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.choice = mapped
    }

    /**
     * @param value Should internet routing storage endpoints be published? Defaults to `false`.
     */
    @JvmName("mvujmcjmjpnvfycy")
    public suspend fun publishInternetEndpoints(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.publishInternetEndpoints = mapped
    }

    /**
     * @param value Should Microsoft routing storage endpoints be published? Defaults to `false`.
     */
    @JvmName("synlabutfsrxmlly")
    public suspend fun publishMicrosoftEndpoints(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.publishMicrosoftEndpoints = mapped
    }

    internal fun build(): AccountRoutingArgs = AccountRoutingArgs(
        choice = choice,
        publishInternetEndpoints = publishInternetEndpoints,
        publishMicrosoftEndpoints = publishMicrosoftEndpoints,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy