com.pulumi.gcp.securesourcemanager.kotlin.outputs.InstancePrivateConfig.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.securesourcemanager.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property caPool CA pool resource, resource must in the format of `projects/{project}/locations/{location}/caPools/{ca_pool}`.
* @property httpServiceAttachment (Output)
* Service Attachment for HTTP, resource is in the format of `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`.
* @property isPrivate 'Indicate if it's private instance.'
* @property sshServiceAttachment (Output)
* Service Attachment for SSH, resource is in the format of `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`.
*/
public data class InstancePrivateConfig(
public val caPool: String,
public val httpServiceAttachment: String? = null,
public val isPrivate: Boolean,
public val sshServiceAttachment: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.securesourcemanager.outputs.InstancePrivateConfig): InstancePrivateConfig = InstancePrivateConfig(
caPool = javaType.caPool(),
httpServiceAttachment = javaType.httpServiceAttachment().map({ args0 -> args0 }).orElse(null),
isPrivate = javaType.isPrivate(),
sshServiceAttachment = javaType.sshServiceAttachment().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy