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

com.pulumi.gcp.dataproc.kotlin.outputs.WorkflowTemplatePlacementManagedClusterConfigEndpointConfig.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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