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

com.pulumi.googlenative.compute.alpha.kotlin.outputs.GetGlobalPublicDelegatedPrefixResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.compute.alpha.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property creationTimestamp Creation timestamp in RFC3339 text format.
 * @property description An optional description of this resource. Provide this property when you create the resource.
 * @property fingerprint Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
 * @property ipCidrRange The IPv4 address range, in CIDR format, represented by this public delegated prefix.
 * @property isLiveMigration If true, the prefix will be live migrated.
 * @property kind Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.
 * @property name Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
 * @property parentPrefix The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
 * @property publicDelegatedSubPrefixs The list of sub public delegated prefixes that exist for this public delegated prefix.
 * @property region URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
 * @property selfLink Server-defined URL for the resource.
 * @property selfLinkWithId Server-defined URL with id for the resource.
 * @property status The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
 */
public data class GetGlobalPublicDelegatedPrefixResult(
    public val creationTimestamp: String,
    public val description: String,
    public val fingerprint: String,
    public val ipCidrRange: String,
    public val isLiveMigration: Boolean,
    public val kind: String,
    public val name: String,
    public val parentPrefix: String,
    public val publicDelegatedSubPrefixs: List,
    public val region: String,
    public val selfLink: String,
    public val selfLinkWithId: String,
    public val status: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.compute.alpha.outputs.GetGlobalPublicDelegatedPrefixResult): GetGlobalPublicDelegatedPrefixResult = GetGlobalPublicDelegatedPrefixResult(
            creationTimestamp = javaType.creationTimestamp(),
            description = javaType.description(),
            fingerprint = javaType.fingerprint(),
            ipCidrRange = javaType.ipCidrRange(),
            isLiveMigration = javaType.isLiveMigration(),
            kind = javaType.kind(),
            name = javaType.name(),
            parentPrefix = javaType.parentPrefix(),
            publicDelegatedSubPrefixs = javaType.publicDelegatedSubPrefixs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.googlenative.compute.alpha.kotlin.outputs.PublicDelegatedPrefixPublicDelegatedSubPrefixResponse.Companion.toKotlin(args0)
                })
            }),
            region = javaType.region(),
            selfLink = javaType.selfLink(),
            selfLinkWithId = javaType.selfLinkWithId(),
            status = javaType.status(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy