ServiceTemplateArgs

data class ServiceTemplateArgs(val metadata: Output<ServiceTemplateMetadataArgs>? = null, val spec: Output<ServiceTemplateSpecArgs>? = null) : ConvertibleToJava<ServiceTemplateArgs>

Constructors

Link copied to clipboard
constructor(metadata: Output<ServiceTemplateMetadataArgs>? = null, spec: Output<ServiceTemplateSpecArgs>? = null)

Properties

Link copied to clipboard

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. Structure is documented below.

Link copied to clipboard
val spec: Output<ServiceTemplateSpecArgs>? = null

RevisionSpec holds the desired state of the Revision (from the client). Structure is documented below.

Functions

Link copied to clipboard
open override fun toJava(): ServiceTemplateArgs