
com.pulumi.azure.apimanagement.kotlin.outputs.GatewayLocationData.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.apimanagement.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property city The city or locality where the resource is located.
* @property district The district, state, or province where the resource is located.
* @property name A canonical name for the geographic or physical location.
* @property region The country or region where the resource is located.
*/
public data class GatewayLocationData(
public val city: String? = null,
public val district: String? = null,
public val name: String,
public val region: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.apimanagement.outputs.GatewayLocationData):
GatewayLocationData = GatewayLocationData(
city = javaType.city().map({ args0 -> args0 }).orElse(null),
district = javaType.district().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
region = javaType.region().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy