LbRouteExtensionArgs

data class LbRouteExtensionArgs(val description: Output<String>? = null, val extensionChains: Output<List<LbRouteExtensionExtensionChainArgs>>? = null, val forwardingRules: Output<List<String>>? = null, val labels: Output<Map<String, String>>? = null, val loadBalancingScheme: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<LbRouteExtensionArgs>

LbRouteExtension is a resource that lets you control where traffic is routed to for a given request. To get more information about LbRouteExtension, see:

Example Usage

Import

LbRouteExtension can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{location}}/lbRouteExtensions/{{name}}

  • {{project}}/{{location}}/{{name}}

  • {{location}}/{{name}} When using the pulumi import command, LbRouteExtension can be imported using one of the formats above. For example:

$ pulumi import gcp:networkservices/lbRouteExtension:LbRouteExtension default projects/{{project}}/locations/{{location}}/lbRouteExtensions/{{name}}
$ pulumi import gcp:networkservices/lbRouteExtension:LbRouteExtension default {{project}}/{{location}}/{{name}}
$ pulumi import gcp:networkservices/lbRouteExtension:LbRouteExtension default {{location}}/{{name}}

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, extensionChains: Output<List<LbRouteExtensionExtensionChainArgs>>? = null, forwardingRules: Output<List<String>>? = null, labels: Output<Map<String, String>>? = null, loadBalancingScheme: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null)

Properties

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

A human-readable description of the resource.

Link copied to clipboard

A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. Structure is documented below.

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

A list of references to the forwarding rules to which this service extension is attached to. At least one forwarding rule is required. There can be only one LbRouteExtension resource per forwarding rule.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Set of labels associated with the LbRouteExtension resource. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

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

All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. For more information, refer to Choosing a load balancer and Supported application load balancers. Possible values are: INTERNAL_MANAGED, EXTERNAL_MANAGED.

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

The location of the route extension

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

Name of the LbRouteExtension resource in the following format: projects/{project}/locations/{location}/lbRouteExtensions/{lbRouteExtension}

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

Functions

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