com.pulumi.gcp.dataflow.kotlin.outputs.PipelineWorkload.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.dataflow.kotlin.outputs
import kotlin.Suppress
/**
*
* @property dataflowFlexTemplateRequest Template information and additional parameters needed to launch a Dataflow job using the flex launch API.
* https://cloud.google.com/dataflow/docs/reference/data-pipelines/rest/v1/projects.locations.pipelines#launchflextemplaterequest
* Structure is documented below.
* @property dataflowLaunchTemplateRequest Template information and additional parameters needed to launch a Dataflow job using the standard launch API.
* https://cloud.google.com/dataflow/docs/reference/data-pipelines/rest/v1/projects.locations.pipelines#launchtemplaterequest
* Structure is documented below.
*/
public data class PipelineWorkload(
public val dataflowFlexTemplateRequest: PipelineWorkloadDataflowFlexTemplateRequest? = null,
public val dataflowLaunchTemplateRequest: PipelineWorkloadDataflowLaunchTemplateRequest? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataflow.outputs.PipelineWorkload): PipelineWorkload = PipelineWorkload(
dataflowFlexTemplateRequest = javaType.dataflowFlexTemplateRequest().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataflow.kotlin.outputs.PipelineWorkloadDataflowFlexTemplateRequest.Companion.toKotlin(args0)
})
}).orElse(null),
dataflowLaunchTemplateRequest = javaType.dataflowLaunchTemplateRequest().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataflow.kotlin.outputs.PipelineWorkloadDataflowLaunchTemplateRequest.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy