com.pulumi.gcp.alloydb.kotlin.outputs.ClusterNetworkConfig.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
/**
*
* @property allocatedIpRange The name of the allocated IP range for the private IP AlloyDB cluster. For example: "google-managed-services-default".
* If set, the instance IPs for this cluster will be created in the allocated range.
* @property network The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster.
* It is specified in the form: "projects/{projectNumber}/global/networks/{network_id}".
*/
public data class ClusterNetworkConfig(
public val allocatedIpRange: String? = null,
public val network: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.alloydb.outputs.ClusterNetworkConfig): ClusterNetworkConfig = ClusterNetworkConfig(
allocatedIpRange = javaType.allocatedIpRange().map({ args0 -> args0 }).orElse(null),
network = javaType.network().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy