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

com.pulumi.digitalocean.kotlin.outputs.GetVpcPeeringResult.kt Maven / Gradle / Ivy

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

package com.pulumi.digitalocean.kotlin.outputs

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

/**
 * A collection of values returned by getVpcPeering.
 * @property createdAt The date and time of when the VPC Peering was created.
 * @property id The unique identifier for the VPC Peering.
 * @property name The name of the VPC Peering.
 * @property status The status of the VPC Peering.
 * @property vpcIds The list of VPC IDs involved in the peering.
 */
public data class GetVpcPeeringResult(
    public val createdAt: String,
    public val id: String,
    public val name: String,
    public val status: String,
    public val vpcIds: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetVpcPeeringResult): GetVpcPeeringResult = GetVpcPeeringResult(
            createdAt = javaType.createdAt(),
            id = javaType.id(),
            name = javaType.name(),
            status = javaType.status(),
            vpcIds = javaType.vpcIds().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy