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

com.pulumi.gcp.sql.kotlin.outputs.DatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnection.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.sql.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property consumerNetwork "The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. For example, `projects/project1/global/networks/network1`. The consumer host project of this network might be different from the consumer service project."
 * @property consumerServiceProjectId The project ID of consumer service project of this consumer endpoint.
 */
public data class DatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnection(
    public val consumerNetwork: String,
    public val consumerServiceProjectId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.sql.outputs.DatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnection): DatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnection =
            DatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnection(
                consumerNetwork = javaType.consumerNetwork(),
                consumerServiceProjectId = javaType.consumerServiceProjectId().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy