gcp.compute.getRegionNetworkEndpointGroup
Explore with Pulumi AI
Use this data source to access a Region Network Endpoint Group’s attributes.
The RNEG may be found by providing either a self_link
, or a name
and a region
.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const rneg1 = gcp.compute.getRegionNetworkEndpointGroup({
name: "k8s1-abcdef01-myns-mysvc-8080-4b6bac43",
region: "us-central1",
});
const rneg2 = gcp.compute.getRegionNetworkEndpointGroup({
selfLink: "https://www.googleapis.com/compute/v1/projects/myproject/regions/us-central1/networkEndpointGroups/k8s1-abcdef01-myns-mysvc-8080-4b6bac43",
});
import pulumi
import pulumi_gcp as gcp
rneg1 = gcp.compute.get_region_network_endpoint_group(name="k8s1-abcdef01-myns-mysvc-8080-4b6bac43",
region="us-central1")
rneg2 = gcp.compute.get_region_network_endpoint_group(self_link="https://www.googleapis.com/compute/v1/projects/myproject/regions/us-central1/networkEndpointGroups/k8s1-abcdef01-myns-mysvc-8080-4b6bac43")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := compute.LookupRegionNetworkEndpointGroup(ctx, &compute.LookupRegionNetworkEndpointGroupArgs{
Name: pulumi.StringRef("k8s1-abcdef01-myns-mysvc-8080-4b6bac43"),
Region: pulumi.StringRef("us-central1"),
}, nil)
if err != nil {
return err
}
_, err = compute.LookupRegionNetworkEndpointGroup(ctx, &compute.LookupRegionNetworkEndpointGroupArgs{
SelfLink: pulumi.StringRef("https://www.googleapis.com/compute/v1/projects/myproject/regions/us-central1/networkEndpointGroups/k8s1-abcdef01-myns-mysvc-8080-4b6bac43"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var rneg1 = Gcp.Compute.GetRegionNetworkEndpointGroup.Invoke(new()
{
Name = "k8s1-abcdef01-myns-mysvc-8080-4b6bac43",
Region = "us-central1",
});
var rneg2 = Gcp.Compute.GetRegionNetworkEndpointGroup.Invoke(new()
{
SelfLink = "https://www.googleapis.com/compute/v1/projects/myproject/regions/us-central1/networkEndpointGroups/k8s1-abcdef01-myns-mysvc-8080-4b6bac43",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.ComputeFunctions;
import com.pulumi.gcp.compute.inputs.GetRegionNetworkEndpointGroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var rneg1 = ComputeFunctions.getRegionNetworkEndpointGroup(GetRegionNetworkEndpointGroupArgs.builder()
.name("k8s1-abcdef01-myns-mysvc-8080-4b6bac43")
.region("us-central1")
.build());
final var rneg2 = ComputeFunctions.getRegionNetworkEndpointGroup(GetRegionNetworkEndpointGroupArgs.builder()
.selfLink("https://www.googleapis.com/compute/v1/projects/myproject/regions/us-central1/networkEndpointGroups/k8s1-abcdef01-myns-mysvc-8080-4b6bac43")
.build());
}
}
variables:
rneg1:
fn::invoke:
Function: gcp:compute:getRegionNetworkEndpointGroup
Arguments:
name: k8s1-abcdef01-myns-mysvc-8080-4b6bac43
region: us-central1
rneg2:
fn::invoke:
Function: gcp:compute:getRegionNetworkEndpointGroup
Arguments:
selfLink: https://www.googleapis.com/compute/v1/projects/myproject/regions/us-central1/networkEndpointGroups/k8s1-abcdef01-myns-mysvc-8080-4b6bac43
Using getRegionNetworkEndpointGroup
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 getRegionNetworkEndpointGroup(args: GetRegionNetworkEndpointGroupArgs, opts?: InvokeOptions): Promise<GetRegionNetworkEndpointGroupResult>
function getRegionNetworkEndpointGroupOutput(args: GetRegionNetworkEndpointGroupOutputArgs, opts?: InvokeOptions): Output<GetRegionNetworkEndpointGroupResult>
def get_region_network_endpoint_group(name: Optional[str] = None,
project: Optional[str] = None,
region: Optional[str] = None,
self_link: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRegionNetworkEndpointGroupResult
def get_region_network_endpoint_group_output(name: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
self_link: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRegionNetworkEndpointGroupResult]
func LookupRegionNetworkEndpointGroup(ctx *Context, args *LookupRegionNetworkEndpointGroupArgs, opts ...InvokeOption) (*LookupRegionNetworkEndpointGroupResult, error)
func LookupRegionNetworkEndpointGroupOutput(ctx *Context, args *LookupRegionNetworkEndpointGroupOutputArgs, opts ...InvokeOption) LookupRegionNetworkEndpointGroupResultOutput
> Note: This function is named LookupRegionNetworkEndpointGroup
in the Go SDK.
public static class GetRegionNetworkEndpointGroup
{
public static Task<GetRegionNetworkEndpointGroupResult> InvokeAsync(GetRegionNetworkEndpointGroupArgs args, InvokeOptions? opts = null)
public static Output<GetRegionNetworkEndpointGroupResult> Invoke(GetRegionNetworkEndpointGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRegionNetworkEndpointGroupResult> getRegionNetworkEndpointGroup(GetRegionNetworkEndpointGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: gcp:compute/getRegionNetworkEndpointGroup:getRegionNetworkEndpointGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The Network Endpoint Group name. Provide either this or a
self_link
. - Project string
- The ID of the project to list versions in. If it is not provided, the provider project is used.
- Region string
- A reference to the region where the Serverless REGs Reside. Provide either this or a
self_link
. - Self
Link string - The Network Endpoint Group self_link.
- Name string
- The Network Endpoint Group name. Provide either this or a
self_link
. - Project string
- The ID of the project to list versions in. If it is not provided, the provider project is used.
- Region string
- A reference to the region where the Serverless REGs Reside. Provide either this or a
self_link
. - Self
Link string - The Network Endpoint Group self_link.
- name String
- The Network Endpoint Group name. Provide either this or a
self_link
. - project String
- The ID of the project to list versions in. If it is not provided, the provider project is used.
- region String
- A reference to the region where the Serverless REGs Reside. Provide either this or a
self_link
. - self
Link String - The Network Endpoint Group self_link.
- name string
- The Network Endpoint Group name. Provide either this or a
self_link
. - project string
- The ID of the project to list versions in. If it is not provided, the provider project is used.
- region string
- A reference to the region where the Serverless REGs Reside. Provide either this or a
self_link
. - self
Link string - The Network Endpoint Group self_link.
- name str
- The Network Endpoint Group name. Provide either this or a
self_link
. - project str
- The ID of the project to list versions in. If it is not provided, the provider project is used.
- region str
- A reference to the region where the Serverless REGs Reside. Provide either this or a
self_link
. - self_
link str - The Network Endpoint Group self_link.
- name String
- The Network Endpoint Group name. Provide either this or a
self_link
. - project String
- The ID of the project to list versions in. If it is not provided, the provider project is used.
- region String
- A reference to the region where the Serverless REGs Reside. Provide either this or a
self_link
. - self
Link String - The Network Endpoint Group self_link.
getRegionNetworkEndpointGroup Result
The following output properties are available:
- App
Engines List<GetRegion Network Endpoint Group App Engine> - Cloud
Functions List<GetRegion Network Endpoint Group Cloud Function> - Cloud
Runs List<GetRegion Network Endpoint Group Cloud Run> - Description string
- The RNEG description.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network string
- The network to which all network endpoints in the RNEG belong.
- Network
Endpoint stringType - Type of network endpoints in this network endpoint group.
- Psc
Target stringService - The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.
- Serverless
Deployments List<GetRegion Network Endpoint Group Serverless Deployment> - Subnetwork string
- subnetwork to which all network endpoints in the RNEG belong.
- Name string
- Project string
- Region string
- Self
Link string
- App
Engines []GetRegion Network Endpoint Group App Engine - Cloud
Functions []GetRegion Network Endpoint Group Cloud Function - Cloud
Runs []GetRegion Network Endpoint Group Cloud Run - Description string
- The RNEG description.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network string
- The network to which all network endpoints in the RNEG belong.
- Network
Endpoint stringType - Type of network endpoints in this network endpoint group.
- Psc
Target stringService - The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.
- Serverless
Deployments []GetRegion Network Endpoint Group Serverless Deployment - Subnetwork string
- subnetwork to which all network endpoints in the RNEG belong.
- Name string
- Project string
- Region string
- Self
Link string
- app
Engines List<GetRegion Network Endpoint Group App Engine> - cloud
Functions List<GetRegion Network Endpoint Group Cloud Function> - cloud
Runs List<GetRegion Network Endpoint Group Cloud Run> - description String
- The RNEG description.
- id String
- The provider-assigned unique ID for this managed resource.
- network String
- The network to which all network endpoints in the RNEG belong.
- network
Endpoint StringType - Type of network endpoints in this network endpoint group.
- psc
Target StringService - The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.
- serverless
Deployments List<GetRegion Network Endpoint Group Serverless Deployment> - subnetwork String
- subnetwork to which all network endpoints in the RNEG belong.
- name String
- project String
- region String
- self
Link String
- app
Engines GetRegion Network Endpoint Group App Engine[] - cloud
Functions GetRegion Network Endpoint Group Cloud Function[] - cloud
Runs GetRegion Network Endpoint Group Cloud Run[] - description string
- The RNEG description.
- id string
- The provider-assigned unique ID for this managed resource.
- network string
- The network to which all network endpoints in the RNEG belong.
- network
Endpoint stringType - Type of network endpoints in this network endpoint group.
- psc
Target stringService - The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.
- serverless
Deployments GetRegion Network Endpoint Group Serverless Deployment[] - subnetwork string
- subnetwork to which all network endpoints in the RNEG belong.
- name string
- project string
- region string
- self
Link string
- app_
engines Sequence[GetRegion Network Endpoint Group App Engine] - cloud_
functions Sequence[GetRegion Network Endpoint Group Cloud Function] - cloud_
runs Sequence[GetRegion Network Endpoint Group Cloud Run] - description str
- The RNEG description.
- id str
- The provider-assigned unique ID for this managed resource.
- network str
- The network to which all network endpoints in the RNEG belong.
- network_
endpoint_ strtype - Type of network endpoints in this network endpoint group.
- psc_
target_ strservice - The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.
- serverless_
deployments Sequence[GetRegion Network Endpoint Group Serverless Deployment] - subnetwork str
- subnetwork to which all network endpoints in the RNEG belong.
- name str
- project str
- region str
- self_
link str
- app
Engines List<Property Map> - cloud
Functions List<Property Map> - cloud
Runs List<Property Map> - description String
- The RNEG description.
- id String
- The provider-assigned unique ID for this managed resource.
- network String
- The network to which all network endpoints in the RNEG belong.
- network
Endpoint StringType - Type of network endpoints in this network endpoint group.
- psc
Target StringService - The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.
- serverless
Deployments List<Property Map> - subnetwork String
- subnetwork to which all network endpoints in the RNEG belong.
- name String
- project String
- region String
- self
Link String
Supporting Types
GetRegionNetworkEndpointGroupAppEngine
- Service string
- Optional serving service. The service name must be 1-63 characters long, and comply with RFC1035. Example value: "default", "my-service".
- Url
Mask string A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services.
For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask "-dot-appname.appspot.com/". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively.
- Version string
- Optional serving version. The version must be 1-63 characters long, and comply with RFC1035. Example value: "v1", "v2".
- Service string
- Optional serving service. The service name must be 1-63 characters long, and comply with RFC1035. Example value: "default", "my-service".
- Url
Mask string A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services.
For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask "-dot-appname.appspot.com/". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively.
- Version string
- Optional serving version. The version must be 1-63 characters long, and comply with RFC1035. Example value: "v1", "v2".
- service String
- Optional serving service. The service name must be 1-63 characters long, and comply with RFC1035. Example value: "default", "my-service".
- url
Mask String A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services.
For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask "-dot-appname.appspot.com/". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively.
- version String
- Optional serving version. The version must be 1-63 characters long, and comply with RFC1035. Example value: "v1", "v2".
- service string
- Optional serving service. The service name must be 1-63 characters long, and comply with RFC1035. Example value: "default", "my-service".
- url
Mask string A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services.
For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask "-dot-appname.appspot.com/". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively.
- version string
- Optional serving version. The version must be 1-63 characters long, and comply with RFC1035. Example value: "v1", "v2".
- service str
- Optional serving service. The service name must be 1-63 characters long, and comply with RFC1035. Example value: "default", "my-service".
- url_
mask str A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services.
For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask "-dot-appname.appspot.com/". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively.
- version str
- Optional serving version. The version must be 1-63 characters long, and comply with RFC1035. Example value: "v1", "v2".
- service String
- Optional serving service. The service name must be 1-63 characters long, and comply with RFC1035. Example value: "default", "my-service".
- url
Mask String A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services.
For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask "-dot-appname.appspot.com/". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively.
- version String
- Optional serving version. The version must be 1-63 characters long, and comply with RFC1035. Example value: "v1", "v2".
GetRegionNetworkEndpointGroupCloudFunction
- Function string
- A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
- Url
Mask string A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services.
For example, request URLs "mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
- Function string
- A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
- Url
Mask string A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services.
For example, request URLs "mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
- function String
- A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
- url
Mask String A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services.
For example, request URLs "mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
- function string
- A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
- url
Mask string A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services.
For example, request URLs "mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
- function str
- A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
- url_
mask str A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services.
For example, request URLs "mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
- function String
- A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1".
- url
Mask String A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services.
For example, request URLs "mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively.
GetRegionNetworkEndpointGroupCloudRun
- Service string
- Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: "run-service".
- Tag string
- Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information. The tag must be 1-63 characters long, and comply with RFC1035. Example value: "revision-0010".
- Url
Mask string A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services.
For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" an be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
- Service string
- Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: "run-service".
- Tag string
- Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information. The tag must be 1-63 characters long, and comply with RFC1035. Example value: "revision-0010".
- Url
Mask string A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services.
For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" an be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
- service String
- Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: "run-service".
- tag String
- Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information. The tag must be 1-63 characters long, and comply with RFC1035. Example value: "revision-0010".
- url
Mask String A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services.
For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" an be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
- service string
- Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: "run-service".
- tag string
- Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information. The tag must be 1-63 characters long, and comply with RFC1035. Example value: "revision-0010".
- url
Mask string A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services.
For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" an be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
- service str
- Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: "run-service".
- tag str
- Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information. The tag must be 1-63 characters long, and comply with RFC1035. Example value: "revision-0010".
- url_
mask str A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services.
For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" an be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
- service String
- Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: "run-service".
- tag String
- Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information. The tag must be 1-63 characters long, and comply with RFC1035. Example value: "revision-0010".
- url
Mask String A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services.
For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" an be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
GetRegionNetworkEndpointGroupServerlessDeployment
- Platform string
- The platform of the NEG backend target(s). Possible values: API Gateway: apigateway.googleapis.com
- Resource string
- The user-defined name of the workload/instance. This value must be provided explicitly or in the urlMask. The resource identified by this value is platform-specific and is as follows: API Gateway: The gateway ID, App Engine: The service name, Cloud Functions: The function name, Cloud Run: The service name
- Url
Mask string - A template to parse platform-specific fields from a request URL. URL mask allows for routing to multiple resources on the same serverless platform without having to create multiple Network Endpoint Groups and backend resources. The fields parsed by this template are platform-specific and are as follows: API Gateway: The gateway ID, App Engine: The service and version, Cloud Functions: The function name, Cloud Run: The service and tag
- Version string
- The optional resource version. The version identified by this value is platform-specific and is follows: API Gateway: Unused, App Engine: The service version, Cloud Functions: Unused, Cloud Run: The service tag
- Platform string
- The platform of the NEG backend target(s). Possible values: API Gateway: apigateway.googleapis.com
- Resource string
- The user-defined name of the workload/instance. This value must be provided explicitly or in the urlMask. The resource identified by this value is platform-specific and is as follows: API Gateway: The gateway ID, App Engine: The service name, Cloud Functions: The function name, Cloud Run: The service name
- Url
Mask string - A template to parse platform-specific fields from a request URL. URL mask allows for routing to multiple resources on the same serverless platform without having to create multiple Network Endpoint Groups and backend resources. The fields parsed by this template are platform-specific and are as follows: API Gateway: The gateway ID, App Engine: The service and version, Cloud Functions: The function name, Cloud Run: The service and tag
- Version string
- The optional resource version. The version identified by this value is platform-specific and is follows: API Gateway: Unused, App Engine: The service version, Cloud Functions: Unused, Cloud Run: The service tag
- platform String
- The platform of the NEG backend target(s). Possible values: API Gateway: apigateway.googleapis.com
- resource String
- The user-defined name of the workload/instance. This value must be provided explicitly or in the urlMask. The resource identified by this value is platform-specific and is as follows: API Gateway: The gateway ID, App Engine: The service name, Cloud Functions: The function name, Cloud Run: The service name
- url
Mask String - A template to parse platform-specific fields from a request URL. URL mask allows for routing to multiple resources on the same serverless platform without having to create multiple Network Endpoint Groups and backend resources. The fields parsed by this template are platform-specific and are as follows: API Gateway: The gateway ID, App Engine: The service and version, Cloud Functions: The function name, Cloud Run: The service and tag
- version String
- The optional resource version. The version identified by this value is platform-specific and is follows: API Gateway: Unused, App Engine: The service version, Cloud Functions: Unused, Cloud Run: The service tag
- platform string
- The platform of the NEG backend target(s). Possible values: API Gateway: apigateway.googleapis.com
- resource string
- The user-defined name of the workload/instance. This value must be provided explicitly or in the urlMask. The resource identified by this value is platform-specific and is as follows: API Gateway: The gateway ID, App Engine: The service name, Cloud Functions: The function name, Cloud Run: The service name
- url
Mask string - A template to parse platform-specific fields from a request URL. URL mask allows for routing to multiple resources on the same serverless platform without having to create multiple Network Endpoint Groups and backend resources. The fields parsed by this template are platform-specific and are as follows: API Gateway: The gateway ID, App Engine: The service and version, Cloud Functions: The function name, Cloud Run: The service and tag
- version string
- The optional resource version. The version identified by this value is platform-specific and is follows: API Gateway: Unused, App Engine: The service version, Cloud Functions: Unused, Cloud Run: The service tag
- platform str
- The platform of the NEG backend target(s). Possible values: API Gateway: apigateway.googleapis.com
- resource str
- The user-defined name of the workload/instance. This value must be provided explicitly or in the urlMask. The resource identified by this value is platform-specific and is as follows: API Gateway: The gateway ID, App Engine: The service name, Cloud Functions: The function name, Cloud Run: The service name
- url_
mask str - A template to parse platform-specific fields from a request URL. URL mask allows for routing to multiple resources on the same serverless platform without having to create multiple Network Endpoint Groups and backend resources. The fields parsed by this template are platform-specific and are as follows: API Gateway: The gateway ID, App Engine: The service and version, Cloud Functions: The function name, Cloud Run: The service and tag
- version str
- The optional resource version. The version identified by this value is platform-specific and is follows: API Gateway: Unused, App Engine: The service version, Cloud Functions: Unused, Cloud Run: The service tag
- platform String
- The platform of the NEG backend target(s). Possible values: API Gateway: apigateway.googleapis.com
- resource String
- The user-defined name of the workload/instance. This value must be provided explicitly or in the urlMask. The resource identified by this value is platform-specific and is as follows: API Gateway: The gateway ID, App Engine: The service name, Cloud Functions: The function name, Cloud Run: The service name
- url
Mask String - A template to parse platform-specific fields from a request URL. URL mask allows for routing to multiple resources on the same serverless platform without having to create multiple Network Endpoint Groups and backend resources. The fields parsed by this template are platform-specific and are as follows: API Gateway: The gateway ID, App Engine: The service and version, Cloud Functions: The function name, Cloud Run: The service and tag
- version String
- The optional resource version. The version identified by this value is platform-specific and is follows: API Gateway: Unused, App Engine: The service version, Cloud Functions: Unused, Cloud Run: The service tag
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.