LbTrafficExtensionArgs

data class LbTrafficExtensionArgs(val description: Output<String>? = null, val extensionChains: Output<List<LbTrafficExtensionExtensionChainArgs>>? = 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<LbTrafficExtensionArgs>

LbTrafficExtension is a resource that lets the extension service modify the headers and payloads of both requests and responses without impacting the choice of backend services or any other security policies associated with the backend service. To get more information about LbTrafficExtension, see:

Example Usage

Import

LbTrafficExtension can be imported using any of these accepted formats:

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

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

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

$ pulumi import gcp:networkservices/lbTrafficExtension:LbTrafficExtension default projects/{{project}}/locations/{{location}}/lbTrafficExtensions/{{name}}
$ pulumi import gcp:networkservices/lbTrafficExtension:LbTrafficExtension default {{project}}/{{location}}/{{name}}
$ pulumi import gcp:networkservices/lbTrafficExtension:LbTrafficExtension default {{location}}/{{name}}

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, extensionChains: Output<List<LbTrafficExtensionExtensionChainArgs>>? = 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. Further information can be found at https://cloud.google.com/service-extensions/docs/reference/rest/v1/ExtensionChain 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 LBTrafficExtension resource per forwarding rule.

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

Set of labels associated with the LbTrafficExtension 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

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

The location of the traffic extension

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

Name of the LbTrafficExtension resource in the following format: projects/{project}/locations/{location}/lbTrafficExtensions/{lbTrafficExtension}.

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

Functions

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