![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.alloydb.kotlin.outputs.InstancePscInstanceConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.alloydb.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property allowedConsumerProjects List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
* These should be specified as project numbers only.
* @property pscDnsName (Output)
* The DNS name of the instance for PSC connectivity.
* Name convention: ...alloydb-psc.goog
* @property serviceAttachmentLink (Output)
* The service attachment created when Private Service Connect (PSC) is enabled for the instance.
* The name of the resource will be in the format of
* `projects//regions//serviceAttachments/`
*/
public data class InstancePscInstanceConfig(
public val allowedConsumerProjects: List? = null,
public val pscDnsName: String? = null,
public val serviceAttachmentLink: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.alloydb.outputs.InstancePscInstanceConfig): InstancePscInstanceConfig = InstancePscInstanceConfig(
allowedConsumerProjects = javaType.allowedConsumerProjects().map({ args0 -> args0 }),
pscDnsName = javaType.pscDnsName().map({ args0 -> args0 }).orElse(null),
serviceAttachmentLink = javaType.serviceAttachmentLink().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy