com.pulumi.alicloud.fc.kotlin.outputs.ServiceVpcConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-alicloud-kotlin Show documentation
Show all versions of pulumi-alicloud-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.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 }),
)
}
}