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

com.pulumi.gcp.networkconnectivity.kotlin.outputs.ServiceConnectionPolicyPscConfig.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@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