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.getLbRouteExtension
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 LbRouteExtension resource.
Using getLbRouteExtension
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 getLbRouteExtension(args: GetLbRouteExtensionArgs, opts?: InvokeOptions): Promise<GetLbRouteExtensionResult>
function getLbRouteExtensionOutput(args: GetLbRouteExtensionOutputArgs, opts?: InvokeOptions): Output<GetLbRouteExtensionResult>def get_lb_route_extension(lb_route_extension_id: Optional[str] = None,
                           location: Optional[str] = None,
                           project: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetLbRouteExtensionResult
def get_lb_route_extension_output(lb_route_extension_id: Optional[pulumi.Input[str]] = None,
                           location: Optional[pulumi.Input[str]] = None,
                           project: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetLbRouteExtensionResult]func LookupLbRouteExtension(ctx *Context, args *LookupLbRouteExtensionArgs, opts ...InvokeOption) (*LookupLbRouteExtensionResult, error)
func LookupLbRouteExtensionOutput(ctx *Context, args *LookupLbRouteExtensionOutputArgs, opts ...InvokeOption) LookupLbRouteExtensionResultOutput> Note: This function is named LookupLbRouteExtension in the Go SDK.
public static class GetLbRouteExtension 
{
    public static Task<GetLbRouteExtensionResult> InvokeAsync(GetLbRouteExtensionArgs args, InvokeOptions? opts = null)
    public static Output<GetLbRouteExtensionResult> Invoke(GetLbRouteExtensionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLbRouteExtensionResult> getLbRouteExtension(GetLbRouteExtensionArgs args, InvokeOptions options)
public static Output<GetLbRouteExtensionResult> getLbRouteExtension(GetLbRouteExtensionArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:networkservices/v1beta1:getLbRouteExtension
  arguments:
    # arguments dictionaryThe following arguments are supported:
- LbRoute stringExtension Id 
- Location string
- Project string
- LbRoute stringExtension Id 
- Location string
- Project string
- lbRoute StringExtension Id 
- location String
- project String
- lbRoute stringExtension Id 
- location string
- project string
- lb_route_ strextension_ id 
- location str
- project str
- lbRoute StringExtension Id 
- location String
- project String
getLbRouteExtension Result
The following output properties are available:
- CreateTime string
- The timestamp when the resource was created.
- Description string
- Optional. A human-readable description of the resource.
- ExtensionChains 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.
- ForwardingRules 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 LbRouteExtensionresource per forwarding rule.
- Labels Dictionary<string, string>
- Optional. Set of labels associated with the LbRouteExtensionresource. The format must comply with the following requirements.
- LoadBalancing 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 LbRouteExtensionresource in the following format:projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}.
- UpdateTime string
- The timestamp when the resource was updated.
- CreateTime string
- The timestamp when the resource was created.
- Description string
- Optional. A human-readable description of the resource.
- ExtensionChains []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.
- ForwardingRules []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 LbRouteExtensionresource per forwarding rule.
- Labels map[string]string
- Optional. Set of labels associated with the LbRouteExtensionresource. The format must comply with the following requirements.
- LoadBalancing 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 LbRouteExtensionresource in the following format:projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}.
- UpdateTime string
- The timestamp when the resource was updated.
- createTime String
- The timestamp when the resource was created.
- description String
- Optional. A human-readable description of the resource.
- extensionChains 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.
- forwardingRules 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 LbRouteExtensionresource per forwarding rule.
- labels Map<String,String>
- Optional. Set of labels associated with the LbRouteExtensionresource. The format must comply with the following requirements.
- loadBalancing 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 LbRouteExtensionresource in the following format:projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}.
- updateTime String
- The timestamp when the resource was updated.
- createTime string
- The timestamp when the resource was created.
- description string
- Optional. A human-readable description of the resource.
- extensionChains 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.
- forwardingRules 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 LbRouteExtensionresource per forwarding rule.
- labels {[key: string]: string}
- Optional. Set of labels associated with the LbRouteExtensionresource. The format must comply with the following requirements.
- loadBalancing 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 LbRouteExtensionresource in the following format:projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}.
- updateTime 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 LbRouteExtensionresource per forwarding rule.
- labels Mapping[str, str]
- Optional. Set of labels associated with the LbRouteExtensionresource. 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 LbRouteExtensionresource in the following format:projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}.
- update_time str
- The timestamp when the resource was updated.
- createTime String
- The timestamp when the resource was created.
- description String
- Optional. A human-readable description of the resource.
- extensionChains 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.
- forwardingRules 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 LbRouteExtensionresource per forwarding rule.
- labels Map<String>
- Optional. Set of labels associated with the LbRouteExtensionresource. The format must comply with the following requirements.
- loadBalancing 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 LbRouteExtensionresource in the following format:projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}.
- updateTime String
- The timestamp when the resource was updated.
Supporting Types
ExtensionChainExtensionResponse   
- string
- The :authorityheader in the gRPC request sent from Envoy to the extension service.
- FailOpen 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.
- ForwardHeaders 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.
- SupportedEvents List<string>
- Optional. A set of events during request or response processing for which this extension is called. This field is required for the LbTrafficExtensionresource. It's not relevant for theLbRouteExtensionresource.
- Timeout string
- Specifies the timeout for each individual message on the stream. The timeout must be between 10-1000 milliseconds.
- string
- The :authorityheader in the gRPC request sent from Envoy to the extension service.
- FailOpen 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.
- ForwardHeaders []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.
- SupportedEvents []string
- Optional. A set of events during request or response processing for which this extension is called. This field is required for the LbTrafficExtensionresource. It's not relevant for theLbRouteExtensionresource.
- Timeout string
- Specifies the timeout for each individual message on the stream. The timeout must be between 10-1000 milliseconds.
- String
- The :authorityheader in the gRPC request sent from Envoy to the extension service.
- failOpen 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.
- forwardHeaders 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.
- supportedEvents List<String>
- Optional. A set of events during request or response processing for which this extension is called. This field is required for the LbTrafficExtensionresource. It's not relevant for theLbRouteExtensionresource.
- timeout String
- Specifies the timeout for each individual message on the stream. The timeout must be between 10-1000 milliseconds.
- string
- The :authorityheader in the gRPC request sent from Envoy to the extension service.
- failOpen 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.
- forwardHeaders 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.
- supportedEvents string[]
- Optional. A set of events during request or response processing for which this extension is called. This field is required for the LbTrafficExtensionresource. It's not relevant for theLbRouteExtensionresource.
- timeout string
- Specifies the timeout for each individual message on the stream. The timeout must be between 10-1000 milliseconds.
- str
- The :authorityheader 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 LbTrafficExtensionresource. It's not relevant for theLbRouteExtensionresource.
- timeout str
- Specifies the timeout for each individual message on the stream. The timeout must be between 10-1000 milliseconds.
- String
- The :authorityheader in the gRPC request sent from Envoy to the extension service.
- failOpen 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.
- forwardHeaders 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.
- supportedEvents List<String>
- Optional. A set of events during request or response processing for which this extension is called. This field is required for the LbTrafficExtensionresource. It's not relevant for theLbRouteExtensionresource.
- timeout String
- Specifies the timeout for each individual message on the stream. The timeout must be between 10-1000 milliseconds.
ExtensionChainMatchConditionResponse    
- CelExpression string
- A Common Expression Language (CEL) expression that is used to match requests for which the extension chain is executed.
- CelExpression string
- A Common Expression Language (CEL) expression that is used to match requests for which the extension chain is executed.
- celExpression String
- A Common Expression Language (CEL) expression that is used to match requests for which the extension chain is executed.
- celExpression 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.
- celExpression 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 LbTrafficExtensionresource.LbRouteExtensionchains are limited to 1 extension per extension chain.
- MatchCondition 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
[]ExtensionChain 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 LbTrafficExtensionresource.LbRouteExtensionchains are limited to 1 extension per extension chain.
- MatchCondition 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<ExtensionChain 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 LbTrafficExtensionresource.LbRouteExtensionchains are limited to 1 extension per extension chain.
- matchCondition 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
ExtensionChain 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 LbTrafficExtensionresource.LbRouteExtensionchains are limited to 1 extension per extension chain.
- matchCondition 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[ExtensionChain 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 LbTrafficExtensionresource.LbRouteExtensionchains 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 LbTrafficExtensionresource.LbRouteExtensionchains are limited to 1 extension per extension chain.
- matchCondition 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