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

com.pulumi.azure.storage.kotlin.outputs.AccountRouting.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.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @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 AccountRouting(
    public val choice: String? = null,
    public val publishInternetEndpoints: Boolean? = null,
    public val publishMicrosoftEndpoints: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.storage.outputs.AccountRouting): AccountRouting =
            AccountRouting(
                choice = javaType.choice().map({ args0 -> args0 }).orElse(null),
                publishInternetEndpoints = javaType.publishInternetEndpoints().map({ args0 -> args0 }).orElse(null),
                publishMicrosoftEndpoints = javaType.publishMicrosoftEndpoints().map({ args0 ->
                    args0
                }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy