1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. beyondcorp
  5. getAppConnector
Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi

gcp.beyondcorp.getAppConnector

Explore with Pulumi AI

Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi

Get information about a Google BeyondCorp App Connector.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const my_beyondcorp_app_connector = gcp.beyondcorp.getAppConnector({
    name: "my-beyondcorp-app-connector",
});
Copy
import pulumi
import pulumi_gcp as gcp

my_beyondcorp_app_connector = gcp.beyondcorp.get_app_connector(name="my-beyondcorp-app-connector")
Copy
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.LookupAppConnector(ctx, &beyondcorp.LookupAppConnectorArgs{
			Name: "my-beyondcorp-app-connector",
		}, 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 my_beyondcorp_app_connector = Gcp.Beyondcorp.GetAppConnector.Invoke(new()
    {
        Name = "my-beyondcorp-app-connector",
    });

});
Copy
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.GetAppConnectorArgs;
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-connector = BeyondcorpFunctions.getAppConnector(GetAppConnectorArgs.builder()
            .name("my-beyondcorp-app-connector")
            .build());

    }
}
Copy
variables:
  my-beyondcorp-app-connector:
    fn::invoke:
      function: gcp:beyondcorp:getAppConnector
      arguments:
        name: my-beyondcorp-app-connector
Copy

Using getAppConnector

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 getAppConnector(args: GetAppConnectorArgs, opts?: InvokeOptions): Promise<GetAppConnectorResult>
function getAppConnectorOutput(args: GetAppConnectorOutputArgs, opts?: InvokeOptions): Output<GetAppConnectorResult>
Copy
def get_app_connector(name: Optional[str] = None,
                      project: Optional[str] = None,
                      region: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetAppConnectorResult
def get_app_connector_output(name: Optional[pulumi.Input[str]] = None,
                      project: Optional[pulumi.Input[str]] = None,
                      region: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetAppConnectorResult]
Copy
func LookupAppConnector(ctx *Context, args *LookupAppConnectorArgs, opts ...InvokeOption) (*LookupAppConnectorResult, error)
func LookupAppConnectorOutput(ctx *Context, args *LookupAppConnectorOutputArgs, opts ...InvokeOption) LookupAppConnectorResultOutput
Copy

> Note: This function is named LookupAppConnector in the Go SDK.

public static class GetAppConnector 
{
    public static Task<GetAppConnectorResult> InvokeAsync(GetAppConnectorArgs args, InvokeOptions? opts = null)
    public static Output<GetAppConnectorResult> Invoke(GetAppConnectorInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAppConnectorResult> getAppConnector(GetAppConnectorArgs args, InvokeOptions options)
public static Output<GetAppConnectorResult> getAppConnector(GetAppConnectorArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: gcp:beyondcorp/getAppConnector:getAppConnector
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name of the App Connector.


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 This property is required. string
The name of the App Connector.


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 This property is required. String
The name of the App Connector.


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 This property is required. string
The name of the App Connector.


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 This property is required. str
The name of the App Connector.


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 This property is required. String
The name of the App Connector.


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.

getAppConnector Result

The following output properties are available:

DisplayName string
EffectiveLabels Dictionary<string, string>
Id string
The provider-assigned unique ID for this managed resource.
Labels Dictionary<string, string>
Name string
PrincipalInfos List<GetAppConnectorPrincipalInfo>
PulumiLabels Dictionary<string, string>
State string
Project string
Region string
DisplayName string
EffectiveLabels map[string]string
Id string
The provider-assigned unique ID for this managed resource.
Labels map[string]string
Name string
PrincipalInfos []GetAppConnectorPrincipalInfo
PulumiLabels map[string]string
State string
Project string
Region string
displayName String
effectiveLabels Map<String,String>
id String
The provider-assigned unique ID for this managed resource.
labels Map<String,String>
name String
principalInfos List<GetAppConnectorPrincipalInfo>
pulumiLabels Map<String,String>
state String
project String
region String
displayName string
effectiveLabels {[key: string]: string}
id string
The provider-assigned unique ID for this managed resource.
labels {[key: string]: string}
name string
principalInfos GetAppConnectorPrincipalInfo[]
pulumiLabels {[key: string]: string}
state string
project string
region string
display_name str
effective_labels Mapping[str, str]
id str
The provider-assigned unique ID for this managed resource.
labels Mapping[str, str]
name str
principal_infos Sequence[GetAppConnectorPrincipalInfo]
pulumi_labels Mapping[str, str]
state str
project str
region str
displayName String
effectiveLabels Map<String>
id String
The provider-assigned unique ID for this managed resource.
labels Map<String>
name String
principalInfos List<Property Map>
pulumiLabels Map<String>
state String
project String
region String

Supporting Types

GetAppConnectorPrincipalInfo

ServiceAccounts This property is required. List<GetAppConnectorPrincipalInfoServiceAccount>
ServiceAccount represents a GCP service account.
ServiceAccounts This property is required. []GetAppConnectorPrincipalInfoServiceAccount
ServiceAccount represents a GCP service account.
serviceAccounts This property is required. List<GetAppConnectorPrincipalInfoServiceAccount>
ServiceAccount represents a GCP service account.
serviceAccounts This property is required. GetAppConnectorPrincipalInfoServiceAccount[]
ServiceAccount represents a GCP service account.
service_accounts This property is required. Sequence[GetAppConnectorPrincipalInfoServiceAccount]
ServiceAccount represents a GCP service account.
serviceAccounts This property is required. List<Property Map>
ServiceAccount represents a GCP service account.

GetAppConnectorPrincipalInfoServiceAccount

Email This property is required. string
Email address of the service account.
Email This property is required. string
Email address of the service account.
email This property is required. String
Email address of the service account.
email This property is required. string
Email address of the service account.
email This property is required. str
Email address of the service account.
email This property is required. String
Email address of the service account.

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.
Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi