com.pulumi.azure.network.kotlin.outputs.GetPublicIpPrefixResult.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 getPublicIpPrefix.
* @property id The provider-assigned unique ID for this managed resource.
* @property ipPrefix The Public IP address range, in CIDR notation.
* @property location The supported Azure location where the resource exists.
* @property name
* @property prefixLength The number of bits of the prefix.
* @property resourceGroupName
* @property sku The SKU of the Public IP Prefix.
* @property tags A mapping of tags to assigned to the resource.
* @property zones A list of Availability Zones in which this Public IP Prefix is located.
*/
public data class GetPublicIpPrefixResult(
public val id: String,
public val ipPrefix: String,
public val location: String,
public val name: String,
public val prefixLength: Int,
public val resourceGroupName: String,
public val sku: String,
public val tags: Map,
public val zones: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.network.outputs.GetPublicIpPrefixResult):
GetPublicIpPrefixResult = GetPublicIpPrefixResult(
id = javaType.id(),
ipPrefix = javaType.ipPrefix(),
location = javaType.location(),
name = javaType.name(),
prefixLength = javaType.prefixLength(),
resourceGroupName = javaType.resourceGroupName(),
sku = javaType.sku(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
zones = javaType.zones().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy