EngineSplitTrafficArgs

data class EngineSplitTrafficArgs(val migrateTraffic: Output<Boolean>? = null, val project: Output<String>? = null, val service: Output<String>? = null, val split: Output<EngineSplitTrafficSplitArgs>? = null) : ConvertibleToJava<EngineSplitTrafficArgs>

Traffic routing configuration for versions within a single service. Traffic splits define how traffic directed to the service is assigned to versions. To get more information about ServiceSplitTraffic, see:

Example Usage

App Engine Service Split Traffic

No Java example available.

Import

ServiceSplitTraffic can be imported using any of these accepted formats* apps/{{project}}/services/{{service}} * {{project}}/{{service}} * {{service}} In Terraform v1.5.0 and later, use an import block to import ServiceSplitTraffic using one of the formats above. For exampletf import { id = "apps/{{project}}/services/{{service}}" to = google_app_engine_service_split_traffic.default }

$ pulumi import gcp:appengine/engineSplitTraffic:EngineSplitTraffic When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), ServiceSplitTraffic can be imported using one of the formats above. For example
$ pulumi import gcp:appengine/engineSplitTraffic:EngineSplitTraffic default apps/{{project}}/services/{{service}}
$ pulumi import gcp:appengine/engineSplitTraffic:EngineSplitTraffic default {{project}}/{{service}}
$ pulumi import gcp:appengine/engineSplitTraffic:EngineSplitTraffic default {{service}}

Constructors

Link copied to clipboard
fun EngineSplitTrafficArgs(migrateTraffic: Output<Boolean>? = null, project: Output<String>? = null, service: Output<String>? = null, split: Output<EngineSplitTrafficSplitArgs>? = null)

Functions

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

Properties

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

If set to true traffic will be migrated to this version.

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

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

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

The name of the service these settings apply to.

Link copied to clipboard
val split: Output<EngineSplitTrafficSplitArgs>? = null

Mapping that defines fractional HTTP traffic diversion to different versions within the service. Structure is documented below.