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

com.pulumi.gcp.alloydb.kotlin.outputs.ClusterNetworkConfig.kt Maven / Gradle / Ivy

@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