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

com.pulumi.alicloud.fc.kotlin.outputs.ServiceVpcConfig.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: 3.62.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.alicloud.fc.kotlin.outputs

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

/**
 *
 * @property securityGroupId A security group ID associated with the Function Compute Service.
 * @property vpcId A vpc ID associated with the Function Compute Service.
 * @property vswitchIds A list of vswitch IDs associated with the Function Compute Service.
 */
public data class ServiceVpcConfig(
    public val securityGroupId: String,
    public val vpcId: String? = null,
    public val vswitchIds: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.alicloud.fc.outputs.ServiceVpcConfig): ServiceVpcConfig = ServiceVpcConfig(
            securityGroupId = javaType.securityGroupId(),
            vpcId = javaType.vpcId().map({ args0 -> args0 }).orElse(null),
            vswitchIds = javaType.vswitchIds().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy