com.pulumi.gcp.compute.kotlin.outputs.GetGlobalAddressResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.compute.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getGlobalAddress.
* @property address The IP of the created resource.
* @property addressType
* @property id The provider-assigned unique ID for this managed resource.
* @property name
* @property network
* @property networkTier
* @property prefixLength
* @property project
* @property purpose
* @property selfLink The URI of the created resource.
* @property status Indicates if the address is used. Possible values are: RESERVED or IN_USE.
* @property subnetwork
* @property users
*/
public data class GetGlobalAddressResult(
public val address: String,
public val addressType: String,
public val id: String,
public val name: String,
public val network: String,
public val networkTier: String,
public val prefixLength: Int,
public val project: String,
public val purpose: String,
public val selfLink: String,
public val status: String,
public val subnetwork: String,
public val users: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetGlobalAddressResult): GetGlobalAddressResult = GetGlobalAddressResult(
address = javaType.address(),
addressType = javaType.addressType(),
id = javaType.id(),
name = javaType.name(),
network = javaType.network(),
networkTier = javaType.networkTier(),
prefixLength = javaType.prefixLength(),
project = javaType.project(),
purpose = javaType.purpose(),
selfLink = javaType.selfLink(),
status = javaType.status(),
subnetwork = javaType.subnetwork(),
users = javaType.users(),
)
}
}