gcp.beyondcorp.getAppConnection

Get information about a Google BeyondCorp App Connection.

Example Usage

using System.Collections.Generic;
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 main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v6/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
	})
}
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());

    }
}
import pulumi
import pulumi_gcp as gcp

my_beyondcorp_app_connection = gcp.beyondcorp.get_app_connection(name="my-beyondcorp-app-connection")
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",
});
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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: gcp:beyondcorp/getAppConnection:getAppConnection
  arguments:
    # arguments dictionary

The following arguments are supported:

Name string

The name of the App Connection.

Project string

The project in which the resource belongs. If it is not provided, the provider project is used.

Region string

The region in which the resource belongs. If it is not provided, the provider region is used.

Name string

The name of the App Connection.

Project string

The project in which the resource belongs. If it is not provided, the provider project is used.

Region string

The region in which the resource belongs. If it is not provided, the provider region is used.

name String

The name of the App Connection.

project String

The project in which the resource belongs. If it is not provided, the provider project is used.

region String

The region in which the resource belongs. If it is not provided, the provider region is used.

name string

The name of the App Connection.

project string

The project in which the resource belongs. If it is not provided, the provider project is used.

region string

The region in which the resource belongs. If it is not provided, the provider region is used.

name str

The name of the App Connection.

project str

The project in which the resource belongs. If it is not provided, the provider project is used.

region str

The region in which the resource belongs. If it is not provided, the provider region is used.

name String

The name of the App Connection.

project String

The project in which the resource belongs. If it is not provided, the provider project is used.

region String

The region in which the resource belongs. If it is not provided, the provider region is used.

getAppConnection Result

The following output properties are available:

ApplicationEndpoints List<GetAppConnectionApplicationEndpoint>
Connectors List<string>
DisplayName string
Gateways List<GetAppConnectionGateway>
Id string

The provider-assigned unique ID for this managed resource.

Labels Dictionary<string, string>
Name string
Type string
Project string
Region string
ApplicationEndpoints []GetAppConnectionApplicationEndpoint
Connectors []string
DisplayName string
Gateways []GetAppConnectionGateway
Id string

The provider-assigned unique ID for this managed resource.

Labels map[string]string
Name string
Type string
Project string
Region string
applicationEndpoints List<GetAppConnectionApplicationEndpoint>
connectors List<String>
displayName String
gateways List<GetAppConnectionGateway>
id String

The provider-assigned unique ID for this managed resource.

labels Map<String,String>
name String
type String
project String
region String
applicationEndpoints GetAppConnectionApplicationEndpoint[]
connectors string[]
displayName string
gateways GetAppConnectionGateway[]
id string

The provider-assigned unique ID for this managed resource.

labels {[key: string]: string}
name string
type string
project string
region string
application_endpoints Sequence[GetAppConnectionApplicationEndpoint]
connectors Sequence[str]
display_name str
gateways Sequence[GetAppConnectionGateway]
id str

The provider-assigned unique ID for this managed resource.

labels Mapping[str, str]
name str
type str
project str
region str
applicationEndpoints List<Property Map>
connectors List<String>
displayName String
gateways List<Property Map>
id String

The provider-assigned unique ID for this managed resource.

labels Map<String>
name String
type String
project String
region String

Supporting Types

GetAppConnectionApplicationEndpoint

Host string
Port int
Host string
Port int
host String
port Integer
host string
port number
host str
port int
host String
port Number

GetAppConnectionGateway

AppGateway string
IngressPort int
Type string
Uri string
AppGateway string
IngressPort int
Type string
Uri string
appGateway String
ingressPort Integer
type String
uri String
appGateway string
ingressPort number
type string
uri string
appGateway String
ingressPort Number
type String
uri String

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.