Google Cloud v8.22.0 published on Thursday, Mar 13, 2025 by Pulumi
gcp.beyondcorp.getAppConnection
Explore with Pulumi AI
Get information about a Google BeyondCorp App Connection.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const my_beyondcorp_app_connection = gcp.beyondcorp.getAppConnection({
    name: "my-beyondcorp-app-connection",
});
import pulumi
import pulumi_gcp as gcp
my_beyondcorp_app_connection = gcp.beyondcorp.get_app_connection(name="my-beyondcorp-app-connection")
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/beyondcorp"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := beyondcorp.LookupAppConnection(ctx, &beyondcorp.LookupAppConnectionArgs{
			Name: "my-beyondcorp-app-connection",
		}, 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 my_beyondcorp_app_connection = Gcp.Beyondcorp.GetAppConnection.Invoke(new()
    {
        Name = "my-beyondcorp-app-connection",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.beyondcorp.BeyondcorpFunctions;
import com.pulumi.gcp.beyondcorp.inputs.GetAppConnectionArgs;
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 my-beyondcorp-app-connection = BeyondcorpFunctions.getAppConnection(GetAppConnectionArgs.builder()
            .name("my-beyondcorp-app-connection")
            .build());
    }
}
variables:
  my-beyondcorp-app-connection:
    fn::invoke:
      function: gcp:beyondcorp:getAppConnection
      arguments:
        name: my-beyondcorp-app-connection
Using getAppConnection
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 getAppConnection(args: GetAppConnectionArgs, opts?: InvokeOptions): Promise<GetAppConnectionResult>
function getAppConnectionOutput(args: GetAppConnectionOutputArgs, opts?: InvokeOptions): Output<GetAppConnectionResult>def get_app_connection(name: Optional[str] = None,
                       project: Optional[str] = None,
                       region: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetAppConnectionResult
def get_app_connection_output(name: Optional[pulumi.Input[str]] = None,
                       project: Optional[pulumi.Input[str]] = None,
                       region: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetAppConnectionResult]func LookupAppConnection(ctx *Context, args *LookupAppConnectionArgs, opts ...InvokeOption) (*LookupAppConnectionResult, error)
func LookupAppConnectionOutput(ctx *Context, args *LookupAppConnectionOutputArgs, opts ...InvokeOption) LookupAppConnectionResultOutput> Note: This function is named LookupAppConnection in the Go SDK.
public static class GetAppConnection 
{
    public static Task<GetAppConnectionResult> InvokeAsync(GetAppConnectionArgs args, InvokeOptions? opts = null)
    public static Output<GetAppConnectionResult> Invoke(GetAppConnectionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAppConnectionResult> getAppConnection(GetAppConnectionArgs args, InvokeOptions options)
public static Output<GetAppConnectionResult> getAppConnection(GetAppConnectionArgs args, InvokeOptions options)
fn::invoke:
  function: gcp:beyondcorp/getAppConnection:getAppConnection
  arguments:
    # arguments dictionaryThe following arguments are supported:
getAppConnection Result
The following output properties are available:
- ApplicationEndpoints List<GetApp Connection Application Endpoint> 
- Connectors List<string>
- DisplayName string
- EffectiveLabels Dictionary<string, string>
- Gateways
List<GetApp Connection Gateway> 
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, string>
- Name string
- PulumiLabels Dictionary<string, string>
- Type string
- Project string
- Region string
- ApplicationEndpoints []GetApp Connection Application Endpoint 
- Connectors []string
- DisplayName string
- EffectiveLabels map[string]string
- Gateways
[]GetApp Connection Gateway 
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels map[string]string
- Name string
- PulumiLabels map[string]string
- Type string
- Project string
- Region string
- applicationEndpoints List<GetApp Connection Application Endpoint> 
- connectors List<String>
- displayName String
- effectiveLabels Map<String,String>
- gateways
List<GetApp Connection Gateway> 
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String,String>
- name String
- pulumiLabels Map<String,String>
- type String
- project String
- region String
- applicationEndpoints GetApp Connection Application Endpoint[] 
- connectors string[]
- displayName string
- effectiveLabels {[key: string]: string}
- gateways
GetApp Connection Gateway[] 
- id string
- The provider-assigned unique ID for this managed resource.
- labels {[key: string]: string}
- name string
- pulumiLabels {[key: string]: string}
- type string
- project string
- region string
- application_endpoints Sequence[GetApp Connection Application Endpoint] 
- connectors Sequence[str]
- display_name str
- effective_labels Mapping[str, str]
- gateways
Sequence[GetApp Connection Gateway] 
- id str
- The provider-assigned unique ID for this managed resource.
- labels Mapping[str, str]
- name str
- pulumi_labels Mapping[str, str]
- type str
- project str
- region str
- applicationEndpoints List<Property Map>
- connectors List<String>
- displayName String
- effectiveLabels Map<String>
- gateways List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String>
- name String
- pulumiLabels Map<String>
- type String
- project String
- region String
Supporting Types
GetAppConnectionApplicationEndpoint    
GetAppConnectionGateway   
- AppGateway string
- AppGateway name in following format: projects/{project_id}/locations/{locationId}/appgateways/{gateway_id}.
- IngressPort int
- Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.
- Type string
- The type of hosting used by the gateway. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#Type_1 for a list of possible values.
- Uri string
- Server-defined URI for this resource.
- AppGateway string
- AppGateway name in following format: projects/{project_id}/locations/{locationId}/appgateways/{gateway_id}.
- IngressPort int
- Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.
- Type string
- The type of hosting used by the gateway. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#Type_1 for a list of possible values.
- Uri string
- Server-defined URI for this resource.
- appGateway String
- AppGateway name in following format: projects/{project_id}/locations/{locationId}/appgateways/{gateway_id}.
- ingressPort Integer
- Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.
- type String
- The type of hosting used by the gateway. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#Type_1 for a list of possible values.
- uri String
- Server-defined URI for this resource.
- appGateway string
- AppGateway name in following format: projects/{project_id}/locations/{locationId}/appgateways/{gateway_id}.
- ingressPort number
- Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.
- type string
- The type of hosting used by the gateway. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#Type_1 for a list of possible values.
- uri string
- Server-defined URI for this resource.
- app_gateway str
- AppGateway name in following format: projects/{project_id}/locations/{locationId}/appgateways/{gateway_id}.
- ingress_port int
- Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.
- type str
- The type of hosting used by the gateway. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#Type_1 for a list of possible values.
- uri str
- Server-defined URI for this resource.
- appGateway String
- AppGateway name in following format: projects/{project_id}/locations/{locationId}/appgateways/{gateway_id}.
- ingressPort Number
- Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.
- type String
- The type of hosting used by the gateway. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#Type_1 for a list of possible values.
- uri String
- Server-defined URI for this resource.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the google-betaTerraform Provider.