Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.networkservices/v1beta1.getLbTrafficExtension
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets details of the specified LbTrafficExtension
resource.
Using getLbTrafficExtension
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getLbTrafficExtension(args: GetLbTrafficExtensionArgs, opts?: InvokeOptions): Promise<GetLbTrafficExtensionResult>
function getLbTrafficExtensionOutput(args: GetLbTrafficExtensionOutputArgs, opts?: InvokeOptions): Output<GetLbTrafficExtensionResult>
def get_lb_traffic_extension(lb_traffic_extension_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLbTrafficExtensionResult
def get_lb_traffic_extension_output(lb_traffic_extension_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLbTrafficExtensionResult]
func LookupLbTrafficExtension(ctx *Context, args *LookupLbTrafficExtensionArgs, opts ...InvokeOption) (*LookupLbTrafficExtensionResult, error)
func LookupLbTrafficExtensionOutput(ctx *Context, args *LookupLbTrafficExtensionOutputArgs, opts ...InvokeOption) LookupLbTrafficExtensionResultOutput
> Note: This function is named LookupLbTrafficExtension
in the Go SDK.
public static class GetLbTrafficExtension
{
public static Task<GetLbTrafficExtensionResult> InvokeAsync(GetLbTrafficExtensionArgs args, InvokeOptions? opts = null)
public static Output<GetLbTrafficExtensionResult> Invoke(GetLbTrafficExtensionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLbTrafficExtensionResult> getLbTrafficExtension(GetLbTrafficExtensionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:networkservices/v1beta1:getLbTrafficExtension
arguments:
# arguments dictionary
The following arguments are supported:
- Lb
Traffic stringExtension Id - Location string
- Project string
- Lb
Traffic stringExtension Id - Location string
- Project string
- lb
Traffic StringExtension Id - location String
- project String
- lb
Traffic stringExtension Id - location string
- project string
- lb_
traffic_ strextension_ id - location str
- project str
- lb
Traffic StringExtension Id - location String
- project String
getLbTrafficExtension Result
The following output properties are available:
- Create
Time string - The timestamp when the resource was created.
- Description string
- Optional. A human-readable description of the resource.
- Extension
Chains List<Pulumi.Google Native. Network Services. V1Beta1. Outputs. Extension Chain Response> - 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.
- Forwarding
Rules List<string> - 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. - Labels Dictionary<string, string>
- Optional. Set of labels associated with the
LbTrafficExtension
resource. The format must comply with the following requirements. - Load
Balancing stringScheme - All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values:
INTERNAL_MANAGED
,EXTERNAL_MANAGED
. For more information, refer to Choosing a load balancer. - Name string
- Name of the
LbTrafficExtension
resource in the following format:projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}
. - Update
Time string - The timestamp when the resource was updated.
- Create
Time string - The timestamp when the resource was created.
- Description string
- Optional. A human-readable description of the resource.
- Extension
Chains []ExtensionChain Response - 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.
- Forwarding
Rules []string - 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. - Labels map[string]string
- Optional. Set of labels associated with the
LbTrafficExtension
resource. The format must comply with the following requirements. - Load
Balancing stringScheme - All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values:
INTERNAL_MANAGED
,EXTERNAL_MANAGED
. For more information, refer to Choosing a load balancer. - Name string
- Name of the
LbTrafficExtension
resource in the following format:projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}
. - Update
Time string - The timestamp when the resource was updated.
- create
Time String - The timestamp when the resource was created.
- description String
- Optional. A human-readable description of the resource.
- extension
Chains List<ExtensionChain Response> - 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.
- forwarding
Rules List<String> - 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. - labels Map<String,String>
- Optional. Set of labels associated with the
LbTrafficExtension
resource. The format must comply with the following requirements. - load
Balancing StringScheme - All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values:
INTERNAL_MANAGED
,EXTERNAL_MANAGED
. For more information, refer to Choosing a load balancer. - name String
- Name of the
LbTrafficExtension
resource in the following format:projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}
. - update
Time String - The timestamp when the resource was updated.
- create
Time string - The timestamp when the resource was created.
- description string
- Optional. A human-readable description of the resource.
- extension
Chains ExtensionChain Response[] - 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.
- forwarding
Rules string[] - 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. - labels {[key: string]: string}
- Optional. Set of labels associated with the
LbTrafficExtension
resource. The format must comply with the following requirements. - load
Balancing stringScheme - All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values:
INTERNAL_MANAGED
,EXTERNAL_MANAGED
. For more information, refer to Choosing a load balancer. - name string
- Name of the
LbTrafficExtension
resource in the following format:projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}
. - update
Time string - The timestamp when the resource was updated.
- create_
time str - The timestamp when the resource was created.
- description str
- Optional. A human-readable description of the resource.
- extension_
chains Sequence[ExtensionChain Response] - 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.
- forwarding_
rules Sequence[str] - 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. - labels Mapping[str, str]
- Optional. Set of labels associated with the
LbTrafficExtension
resource. The format must comply with the following requirements. - load_
balancing_ strscheme - All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values:
INTERNAL_MANAGED
,EXTERNAL_MANAGED
. For more information, refer to Choosing a load balancer. - name str
- Name of the
LbTrafficExtension
resource in the following format:projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}
. - update_
time str - The timestamp when the resource was updated.
- create
Time String - The timestamp when the resource was created.
- description String
- Optional. A human-readable description of the resource.
- extension
Chains List<Property Map> - 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.
- forwarding
Rules List<String> - 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. - labels Map<String>
- Optional. Set of labels associated with the
LbTrafficExtension
resource. The format must comply with the following requirements. - load
Balancing StringScheme - All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values:
INTERNAL_MANAGED
,EXTERNAL_MANAGED
. For more information, refer to Choosing a load balancer. - name String
- Name of the
LbTrafficExtension
resource in the following format:projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}
. - update
Time String - The timestamp when the resource was updated.
Supporting Types
ExtensionChainExtensionResponse
- string
- The
:authority
header in the gRPC request sent from Envoy to the extension service. - Fail
Open bool - Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to
TRUE
, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set toFALSE
: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset. Default isFALSE
. - Forward
Headers List<string> - Optional. List of the HTTP headers to forward to the extension (from the client or backend). If omitted, all headers are sent. Each element is a string indicating the header name.
- Name string
- The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
- Service string
- The reference to the service that runs the extension. Must be a reference to a backend service.
- Supported
Events List<string> - Optional. A set of events during request or response processing for which this extension is called. This field is required for the
LbTrafficExtension
resource. It's not relevant for theLbRouteExtension
resource. - Timeout string
- Specifies the timeout for each individual message on the stream. The timeout must be between 10-1000 milliseconds.
- string
- The
:authority
header in the gRPC request sent from Envoy to the extension service. - Fail
Open bool - Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to
TRUE
, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set toFALSE
: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset. Default isFALSE
. - Forward
Headers []string - Optional. List of the HTTP headers to forward to the extension (from the client or backend). If omitted, all headers are sent. Each element is a string indicating the header name.
- Name string
- The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
- Service string
- The reference to the service that runs the extension. Must be a reference to a backend service.
- Supported
Events []string - Optional. A set of events during request or response processing for which this extension is called. This field is required for the
LbTrafficExtension
resource. It's not relevant for theLbRouteExtension
resource. - Timeout string
- Specifies the timeout for each individual message on the stream. The timeout must be between 10-1000 milliseconds.
- String
- The
:authority
header in the gRPC request sent from Envoy to the extension service. - fail
Open Boolean - Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to
TRUE
, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set toFALSE
: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset. Default isFALSE
. - forward
Headers List<String> - Optional. List of the HTTP headers to forward to the extension (from the client or backend). If omitted, all headers are sent. Each element is a string indicating the header name.
- name String
- The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
- service String
- The reference to the service that runs the extension. Must be a reference to a backend service.
- supported
Events List<String> - Optional. A set of events during request or response processing for which this extension is called. This field is required for the
LbTrafficExtension
resource. It's not relevant for theLbRouteExtension
resource. - timeout String
- Specifies the timeout for each individual message on the stream. The timeout must be between 10-1000 milliseconds.
- string
- The
:authority
header in the gRPC request sent from Envoy to the extension service. - fail
Open boolean - Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to
TRUE
, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set toFALSE
: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset. Default isFALSE
. - forward
Headers string[] - Optional. List of the HTTP headers to forward to the extension (from the client or backend). If omitted, all headers are sent. Each element is a string indicating the header name.
- name string
- The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
- service string
- The reference to the service that runs the extension. Must be a reference to a backend service.
- supported
Events string[] - Optional. A set of events during request or response processing for which this extension is called. This field is required for the
LbTrafficExtension
resource. It's not relevant for theLbRouteExtension
resource. - timeout string
- Specifies the timeout for each individual message on the stream. The timeout must be between 10-1000 milliseconds.
- str
- The
:authority
header in the gRPC request sent from Envoy to the extension service. - fail_
open bool - Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to
TRUE
, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set toFALSE
: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset. Default isFALSE
. - forward_
headers Sequence[str] - Optional. List of the HTTP headers to forward to the extension (from the client or backend). If omitted, all headers are sent. Each element is a string indicating the header name.
- name str
- The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
- service str
- The reference to the service that runs the extension. Must be a reference to a backend service.
- supported_
events Sequence[str] - Optional. A set of events during request or response processing for which this extension is called. This field is required for the
LbTrafficExtension
resource. It's not relevant for theLbRouteExtension
resource. - timeout str
- Specifies the timeout for each individual message on the stream. The timeout must be between 10-1000 milliseconds.
- String
- The
:authority
header in the gRPC request sent from Envoy to the extension service. - fail
Open Boolean - Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to
TRUE
, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set toFALSE
: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset. Default isFALSE
. - forward
Headers List<String> - Optional. List of the HTTP headers to forward to the extension (from the client or backend). If omitted, all headers are sent. Each element is a string indicating the header name.
- name String
- The name for this extension. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
- service String
- The reference to the service that runs the extension. Must be a reference to a backend service.
- supported
Events List<String> - Optional. A set of events during request or response processing for which this extension is called. This field is required for the
LbTrafficExtension
resource. It's not relevant for theLbRouteExtension
resource. - timeout String
- Specifies the timeout for each individual message on the stream. The timeout must be between 10-1000 milliseconds.
ExtensionChainMatchConditionResponse
- Cel
Expression string - A Common Expression Language (CEL) expression that is used to match requests for which the extension chain is executed.
- Cel
Expression string - A Common Expression Language (CEL) expression that is used to match requests for which the extension chain is executed.
- cel
Expression String - A Common Expression Language (CEL) expression that is used to match requests for which the extension chain is executed.
- cel
Expression string - A Common Expression Language (CEL) expression that is used to match requests for which the extension chain is executed.
- cel_
expression str - A Common Expression Language (CEL) expression that is used to match requests for which the extension chain is executed.
- cel
Expression String - A Common Expression Language (CEL) expression that is used to match requests for which the extension chain is executed.
ExtensionChainResponse
- Extensions
List<Pulumi.
Google Native. Network Services. V1Beta1. Inputs. Extension Chain Extension Response> - A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for
LbTrafficExtension
resource.LbRouteExtension
chains are limited to 1 extension per extension chain. - Match
Condition Pulumi.Google Native. Network Services. V1Beta1. Inputs. Extension Chain Match Condition Response - Conditions under which this chain is invoked for a request.
- Name string
- The name for this extension chain. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
- Extensions
[]Extension
Chain Extension Response - A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for
LbTrafficExtension
resource.LbRouteExtension
chains are limited to 1 extension per extension chain. - Match
Condition ExtensionChain Match Condition Response - Conditions under which this chain is invoked for a request.
- Name string
- The name for this extension chain. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
- extensions
List<Extension
Chain Extension Response> - A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for
LbTrafficExtension
resource.LbRouteExtension
chains are limited to 1 extension per extension chain. - match
Condition ExtensionChain Match Condition Response - Conditions under which this chain is invoked for a request.
- name String
- The name for this extension chain. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
- extensions
Extension
Chain Extension Response[] - A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for
LbTrafficExtension
resource.LbRouteExtension
chains are limited to 1 extension per extension chain. - match
Condition ExtensionChain Match Condition Response - Conditions under which this chain is invoked for a request.
- name string
- The name for this extension chain. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
- extensions
Sequence[Extension
Chain Extension Response] - A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for
LbTrafficExtension
resource.LbRouteExtension
chains are limited to 1 extension per extension chain. - match_
condition ExtensionChain Match Condition Response - Conditions under which this chain is invoked for a request.
- name str
- The name for this extension chain. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
- extensions List<Property Map>
- A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for
LbTrafficExtension
resource.LbRouteExtension
chains are limited to 1 extension per extension chain. - match
Condition Property Map - Conditions under which this chain is invoked for a request.
- name String
- The name for this extension chain. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi