1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. compute
  5. getRegionNetworkEndpointGroup
Google Cloud v8.26.0 published on Thursday, Apr 10, 2025 by Pulumi

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",
});
Copy
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")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
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
Copy

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>
Copy
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]
Copy
func LookupRegionNetworkEndpointGroup(ctx *Context, args *LookupRegionNetworkEndpointGroupArgs, opts ...InvokeOption) (*LookupRegionNetworkEndpointGroupResult, error)
func LookupRegionNetworkEndpointGroupOutput(ctx *Context, args *LookupRegionNetworkEndpointGroupOutputArgs, opts ...InvokeOption) LookupRegionNetworkEndpointGroupResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetRegionNetworkEndpointGroupResult> getRegionNetworkEndpointGroup(GetRegionNetworkEndpointGroupArgs args, InvokeOptions options)
public static Output<GetRegionNetworkEndpointGroupResult> getRegionNetworkEndpointGroup(GetRegionNetworkEndpointGroupArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: gcp:compute/getRegionNetworkEndpointGroup:getRegionNetworkEndpointGroup
  arguments:
    # arguments dictionary
Copy

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.
SelfLink 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.
SelfLink 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.
selfLink 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.
selfLink 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.
selfLink String
The Network Endpoint Group self_link.

getRegionNetworkEndpointGroup Result

The following output properties are available:

AppEngines List<GetRegionNetworkEndpointGroupAppEngine>
CloudFunctions List<GetRegionNetworkEndpointGroupCloudFunction>
CloudRuns List<GetRegionNetworkEndpointGroupCloudRun>
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.
NetworkEndpointType string
Type of network endpoints in this network endpoint group.
PscDatas List<GetRegionNetworkEndpointGroupPscData>
PscTargetService string
The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.
ServerlessDeployments List<GetRegionNetworkEndpointGroupServerlessDeployment>
Subnetwork string
subnetwork to which all network endpoints in the RNEG belong.
Name string
Project string
Region string
SelfLink string
AppEngines []GetRegionNetworkEndpointGroupAppEngine
CloudFunctions []GetRegionNetworkEndpointGroupCloudFunction
CloudRuns []GetRegionNetworkEndpointGroupCloudRun
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.
NetworkEndpointType string
Type of network endpoints in this network endpoint group.
PscDatas []GetRegionNetworkEndpointGroupPscData
PscTargetService string
The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.
ServerlessDeployments []GetRegionNetworkEndpointGroupServerlessDeployment
Subnetwork string
subnetwork to which all network endpoints in the RNEG belong.
Name string
Project string
Region string
SelfLink string
appEngines List<GetRegionNetworkEndpointGroupAppEngine>
cloudFunctions List<GetRegionNetworkEndpointGroupCloudFunction>
cloudRuns List<GetRegionNetworkEndpointGroupCloudRun>
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.
networkEndpointType String
Type of network endpoints in this network endpoint group.
pscDatas List<GetRegionNetworkEndpointGroupPscData>
pscTargetService String
The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.
serverlessDeployments List<GetRegionNetworkEndpointGroupServerlessDeployment>
subnetwork String
subnetwork to which all network endpoints in the RNEG belong.
name String
project String
region String
selfLink String
appEngines GetRegionNetworkEndpointGroupAppEngine[]
cloudFunctions GetRegionNetworkEndpointGroupCloudFunction[]
cloudRuns GetRegionNetworkEndpointGroupCloudRun[]
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.
networkEndpointType string
Type of network endpoints in this network endpoint group.
pscDatas GetRegionNetworkEndpointGroupPscData[]
pscTargetService string
The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.
serverlessDeployments GetRegionNetworkEndpointGroupServerlessDeployment[]
subnetwork string
subnetwork to which all network endpoints in the RNEG belong.
name string
project string
region string
selfLink string
app_engines Sequence[GetRegionNetworkEndpointGroupAppEngine]
cloud_functions Sequence[GetRegionNetworkEndpointGroupCloudFunction]
cloud_runs Sequence[GetRegionNetworkEndpointGroupCloudRun]
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_type str
Type of network endpoints in this network endpoint group.
psc_datas Sequence[GetRegionNetworkEndpointGroupPscData]
psc_target_service str
The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.
serverless_deployments Sequence[GetRegionNetworkEndpointGroupServerlessDeployment]
subnetwork str
subnetwork to which all network endpoints in the RNEG belong.
name str
project str
region str
self_link str
appEngines List<Property Map>
cloudFunctions List<Property Map>
cloudRuns 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.
networkEndpointType String
Type of network endpoints in this network endpoint group.
pscDatas List<Property Map>
pscTargetService String
The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.
serverlessDeployments List<Property Map>
subnetwork String
subnetwork to which all network endpoints in the RNEG belong.
name String
project String
region String
selfLink String

Supporting Types

GetRegionNetworkEndpointGroupAppEngine

Service This property is required. string
Optional serving service. The service name must be 1-63 characters long, and comply with RFC1035. Example value: "default", "my-service".
UrlMask This property is required. 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 This property is required. string
Optional serving version. The version must be 1-63 characters long, and comply with RFC1035. Example value: "v1", "v2".
Service This property is required. string
Optional serving service. The service name must be 1-63 characters long, and comply with RFC1035. Example value: "default", "my-service".
UrlMask This property is required. 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 This property is required. string
Optional serving version. The version must be 1-63 characters long, and comply with RFC1035. Example value: "v1", "v2".
service This property is required. String
Optional serving service. The service name must be 1-63 characters long, and comply with RFC1035. Example value: "default", "my-service".
urlMask This property is required. 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 This property is required. String
Optional serving version. The version must be 1-63 characters long, and comply with RFC1035. Example value: "v1", "v2".
service This property is required. string
Optional serving service. The service name must be 1-63 characters long, and comply with RFC1035. Example value: "default", "my-service".
urlMask This property is required. 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 This property is required. string
Optional serving version. The version must be 1-63 characters long, and comply with RFC1035. Example value: "v1", "v2".
service This property is required. str
Optional serving service. The service name must be 1-63 characters long, and comply with RFC1035. Example value: "default", "my-service".
url_mask This property is required. 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 This property is required. str
Optional serving version. The version must be 1-63 characters long, and comply with RFC1035. Example value: "v1", "v2".
service This property is required. String
Optional serving service. The service name must be 1-63 characters long, and comply with RFC1035. Example value: "default", "my-service".
urlMask This property is required. 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 This property is required. String
Optional serving version. The version must be 1-63 characters long, and comply with RFC1035. Example value: "v1", "v2".

GetRegionNetworkEndpointGroupCloudFunction

Function This property is required. 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".
UrlMask This property is required. 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 This property is required. 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".
UrlMask This property is required. 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 This property is required. 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".
urlMask This property is required. 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 This property is required. 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".
urlMask This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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".
urlMask This property is required. 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 This property is required. 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 This property is required. 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".
UrlMask This property is required. 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 This property is required. 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 This property is required. 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".
UrlMask This property is required. 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 This property is required. 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 This property is required. 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".
urlMask This property is required. 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 This property is required. 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 This property is required. 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".
urlMask This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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".
urlMask This property is required. 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.

GetRegionNetworkEndpointGroupPscData

ProducerPort This property is required. string
The PSC producer port to use when consumer PSC NEG connects to a producer. If this flag isn't specified for a PSC NEG with endpoint type private-service-connect, then PSC NEG will be connected to a first port in the available PSC producer port range.
ProducerPort This property is required. string
The PSC producer port to use when consumer PSC NEG connects to a producer. If this flag isn't specified for a PSC NEG with endpoint type private-service-connect, then PSC NEG will be connected to a first port in the available PSC producer port range.
producerPort This property is required. String
The PSC producer port to use when consumer PSC NEG connects to a producer. If this flag isn't specified for a PSC NEG with endpoint type private-service-connect, then PSC NEG will be connected to a first port in the available PSC producer port range.
producerPort This property is required. string
The PSC producer port to use when consumer PSC NEG connects to a producer. If this flag isn't specified for a PSC NEG with endpoint type private-service-connect, then PSC NEG will be connected to a first port in the available PSC producer port range.
producer_port This property is required. str
The PSC producer port to use when consumer PSC NEG connects to a producer. If this flag isn't specified for a PSC NEG with endpoint type private-service-connect, then PSC NEG will be connected to a first port in the available PSC producer port range.
producerPort This property is required. String
The PSC producer port to use when consumer PSC NEG connects to a producer. If this flag isn't specified for a PSC NEG with endpoint type private-service-connect, then PSC NEG will be connected to a first port in the available PSC producer port range.

GetRegionNetworkEndpointGroupServerlessDeployment

Platform This property is required. string
The platform of the NEG backend target(s). Possible values: API Gateway: apigateway.googleapis.com
Resource This property is required. 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
UrlMask This property is required. 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 This property is required. 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 This property is required. string
The platform of the NEG backend target(s). Possible values: API Gateway: apigateway.googleapis.com
Resource This property is required. 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
UrlMask This property is required. 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 This property is required. 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 This property is required. String
The platform of the NEG backend target(s). Possible values: API Gateway: apigateway.googleapis.com
resource This property is required. 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
urlMask This property is required. 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 This property is required. 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 This property is required. string
The platform of the NEG backend target(s). Possible values: API Gateway: apigateway.googleapis.com
resource This property is required. 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
urlMask This property is required. 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 This property is required. 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 This property is required. str
The platform of the NEG backend target(s). Possible values: API Gateway: apigateway.googleapis.com
resource This property is required. 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 This property is required. 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 This property is required. 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 This property is required. String
The platform of the NEG backend target(s). Possible values: API Gateway: apigateway.googleapis.com
resource This property is required. 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
urlMask This property is required. 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 This property is required. 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.