
com.pulumi.azure.network.kotlin.outputs.GetNatGatewayResult.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.network.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getNatGateway.
* @property id The provider-assigned unique ID for this managed resource.
* @property idleTimeoutInMinutes The idle timeout in minutes which is used for the NAT Gateway.
* @property location The location where the NAT Gateway exists.
* @property name
* @property publicIpAddressIds A list of existing Public IP Address resource IDs which the NAT Gateway is using.
* @property publicIpPrefixIds A list of existing Public IP Prefix resource IDs which the NAT Gateway is using.
* @property resourceGroupName
* @property resourceGuid The Resource GUID of the NAT Gateway.
* @property skuName The SKU used by the NAT Gateway.
* @property tags A mapping of tags assigned to the resource.
* @property zones A list of Availability Zones which the NAT Gateway exists in.
*/
public data class GetNatGatewayResult(
public val id: String,
public val idleTimeoutInMinutes: Int,
public val location: String,
public val name: String,
public val publicIpAddressIds: List,
public val publicIpPrefixIds: List,
public val resourceGroupName: String,
public val resourceGuid: String,
public val skuName: String,
public val tags: Map,
public val zones: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.network.outputs.GetNatGatewayResult):
GetNatGatewayResult = GetNatGatewayResult(
id = javaType.id(),
idleTimeoutInMinutes = javaType.idleTimeoutInMinutes(),
location = javaType.location(),
name = javaType.name(),
publicIpAddressIds = javaType.publicIpAddressIds().map({ args0 -> args0 }),
publicIpPrefixIds = javaType.publicIpPrefixIds().map({ args0 -> args0 }),
resourceGroupName = javaType.resourceGroupName(),
resourceGuid = javaType.resourceGuid(),
skuName = javaType.skuName(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
zones = javaType.zones().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy