com.pulumi.gcp.dataproc.kotlin.outputs.WorkflowTemplatePlacementManagedClusterConfigEndpointConfig.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.dataproc.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property enableHttpPortAccess If true, enable http access to specific ports on the cluster from external sources. Defaults to false.
* @property httpPorts Output only. The map of port descriptions to URLs. Will only be populated if enable_http_port_access is true.
*/
public data class WorkflowTemplatePlacementManagedClusterConfigEndpointConfig(
public val enableHttpPortAccess: Boolean? = null,
public val httpPorts: Map? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.WorkflowTemplatePlacementManagedClusterConfigEndpointConfig): WorkflowTemplatePlacementManagedClusterConfigEndpointConfig =
WorkflowTemplatePlacementManagedClusterConfigEndpointConfig(
enableHttpPortAccess = javaType.enableHttpPortAccess().map({ args0 -> args0 }).orElse(null),
httpPorts = javaType.httpPorts().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy