![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.lb.kotlin.outputs.GetLBResult.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.lb.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getLB.
* @property frontendIpConfigurations A `frontend_ip_configuration` block as documented below.
* @property id The provider-assigned unique ID for this managed resource.
* @property location The Azure location where the Load Balancer exists.
* @property name The name of the Frontend IP Configuration.
* @property privateIpAddress Private IP Address to assign to the Load Balancer.
* @property privateIpAddresses The list of private IP address assigned to the load balancer in `frontend_ip_configuration` blocks, if any.
* @property resourceGroupName
* @property sku The SKU of the Load Balancer.
* @property tags A mapping of tags assigned to the resource.
*/
public data class GetLBResult(
public val frontendIpConfigurations: List,
public val id: String,
public val location: String,
public val name: String,
public val privateIpAddress: String,
public val privateIpAddresses: List,
public val resourceGroupName: String,
public val sku: String,
public val tags: Map,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.lb.outputs.GetLBResult): GetLBResult =
GetLBResult(
frontendIpConfigurations = javaType.frontendIpConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.lb.kotlin.outputs.GetLBFrontendIpConfiguration.Companion.toKotlin(args0)
})
}),
id = javaType.id(),
location = javaType.location(),
name = javaType.name(),
privateIpAddress = javaType.privateIpAddress(),
privateIpAddresses = javaType.privateIpAddresses().map({ args0 -> args0 }),
resourceGroupName = javaType.resourceGroupName(),
sku = javaType.sku(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy