All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.compute.kotlin.outputs.GetAddressResult.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 getAddress.
 * @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 region
 * @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 GetAddressResult(
    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 region: 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.GetAddressResult): GetAddressResult = GetAddressResult(
            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(),
            region = javaType.region(),
            selfLink = javaType.selfLink(),
            status = javaType.status(),
            subnetwork = javaType.subnetwork(),
            users = javaType.users(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy