com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetJobTemplateTemplateVolume.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.cloudrunv2.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property cloudSqlInstances For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
* @property emptyDirs Ephemeral storage used as a shared volume.
* @property gcs Cloud Storage bucket mounted as a volume using GCSFuse.
* @property name The name of the Cloud Run v2 Job.
* @property nfs NFS share mounted as a volume.
* @property secrets Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
*/
public data class GetJobTemplateTemplateVolume(
public val cloudSqlInstances: List,
public val emptyDirs: List,
public val gcs: List,
public val name: String,
public val nfs: List,
public val secrets: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.GetJobTemplateTemplateVolume): GetJobTemplateTemplateVolume = GetJobTemplateTemplateVolume(
cloudSqlInstances = javaType.cloudSqlInstances().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetJobTemplateTemplateVolumeCloudSqlInstance.Companion.toKotlin(args0)
})
}),
emptyDirs = javaType.emptyDirs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetJobTemplateTemplateVolumeEmptyDir.Companion.toKotlin(args0)
})
}),
gcs = javaType.gcs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetJobTemplateTemplateVolumeGc.Companion.toKotlin(args0)
})
}),
name = javaType.name(),
nfs = javaType.nfs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetJobTemplateTemplateVolumeNf.Companion.toKotlin(args0)
})
}),
secrets = javaType.secrets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudrunv2.kotlin.outputs.GetJobTemplateTemplateVolumeSecret.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy