ServiceTrafficArgs

data class ServiceTrafficArgs(val latestRevision: Output<Boolean>? = null, val percent: Output<Int>, val revisionName: Output<String>? = null, val tag: Output<String>? = null, val url: Output<String>? = null) : ConvertibleToJava<ServiceTrafficArgs>

Constructors

Link copied to clipboard
constructor(latestRevision: Output<Boolean>? = null, percent: Output<Int>, revisionName: Output<String>? = null, tag: Output<String>? = null, url: Output<String>? = null)

Properties

Link copied to clipboard
val latestRevision: Output<Boolean>? = null

LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.

Link copied to clipboard
val percent: Output<Int>

Percent specifies percent of the traffic to this Revision or Configuration.

Link copied to clipboard
val revisionName: Output<String>? = null

RevisionName of a specific revision to which to send this portion of traffic.

Link copied to clipboard
val tag: Output<String>? = null

Tag is optionally used to expose a dedicated url for referencing this target exclusively.

Link copied to clipboard
val url: Output<String>? = null

(Output) URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)

Functions

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