com.pulumi.gcp.cloudrun.kotlin.outputs.GetServiceTemplate.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.cloudrun.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property metadatas Optional metadata for this Revision, including labels and annotations.
* Name will be generated by the Configuration. To set minimum instances
* for this revision, use the "autoscaling.knative.dev/minScale" annotation
* key. To set maximum instances for this revision, use the
* "autoscaling.knative.dev/maxScale" annotation key. To set Cloud SQL
* connections for the revision, use the "run.googleapis.com/cloudsql-instances"
* annotation key.
* @property specs RevisionSpec holds the desired state of the Revision (from the client).
*/
public data class GetServiceTemplate(
public val metadatas: List,
public val specs: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrun.outputs.GetServiceTemplate): GetServiceTemplate = GetServiceTemplate(
metadatas = javaType.metadatas().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudrun.kotlin.outputs.GetServiceTemplateMetadata.Companion.toKotlin(args0)
})
}),
specs = javaType.specs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudrun.kotlin.outputs.GetServiceTemplateSpec.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy