com.pulumi.gcp.networkconnectivity.kotlin.outputs.ServiceConnectionPolicyPscConfig.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.networkconnectivity.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property limit Max number of PSC connections for this policy.
* @property subnetworks IDs of the subnetworks or fully qualified identifiers for the subnetworks
*/
public data class ServiceConnectionPolicyPscConfig(
public val limit: String? = null,
public val subnetworks: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.networkconnectivity.outputs.ServiceConnectionPolicyPscConfig): ServiceConnectionPolicyPscConfig = ServiceConnectionPolicyPscConfig(
limit = javaType.limit().map({ args0 -> args0 }).orElse(null),
subnetworks = javaType.subnetworks().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy