RevisionTemplateArgs

data class RevisionTemplateArgs(val metadata: Output<ObjectMetaArgs>? = null, val spec: Output<RevisionSpecArgs>? = null) : ConvertibleToJava<RevisionTemplateArgs>

RevisionTemplateSpec describes the data a revision should have when created from a template.

Constructors

Link copied to clipboard
fun RevisionTemplateArgs(metadata: Output<ObjectMetaArgs>? = null, spec: Output<RevisionSpecArgs>? = null)

Functions

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

Properties

Link copied to clipboard
val metadata: Output<ObjectMetaArgs>? = null

Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. The following annotation keys set properties of the created revision: * autoscaling.knative.dev/minScale sets the minimum number of instances. * autoscaling.knative.dev/maxScale sets the maximum number of instances. * run.googleapis.com/cloudsql-instances sets Cloud SQL connections. Multiple values should be comma separated. * run.googleapis.com/vpc-access-connector sets a Serverless VPC Access connector. * run.googleapis.com/vpc-access-egress sets VPC egress. Supported values are all-traffic, all (deprecated), and private-ranges-only. all-traffic and all provide the same functionality. all is deprecated but will continue to be supported. Prefer all-traffic.

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

RevisionSpec holds the desired state of the Revision (from the client).