Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: gcp:beyondcorp/getAppConnection:getAppConnection
arguments:
# arguments dictionary
The following arguments are supported:
getAppConnection Result
The following output properties are available:
- Application
Endpoints List<GetApp Connection Application Endpoint> - Connectors List<string>
- Display
Name string - Effective
Labels Dictionary<string, string> - Gateways
List<Get
App Connection Gateway> - Id string
- The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, string>
- Name string
- Pulumi
Labels Dictionary<string, string> - Type string
- Project string
- Region string
- Application
Endpoints []GetApp Connection Application Endpoint - Connectors []string
- Display
Name string - Effective
Labels map[string]string - Gateways
[]Get
App Connection Gateway - Id string
- The provider-assigned unique ID for this managed resource.
- Labels map[string]string
- Name string
- Pulumi
Labels map[string]string - Type string
- Project string
- Region string
- application
Endpoints List<GetApp Connection Application Endpoint> - connectors List<String>
- display
Name String - effective
Labels Map<String,String> - gateways
List<Get
App Connection Gateway> - id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String,String>
- name String
- pulumi
Labels Map<String,String> - type String
- project String
- region String
- application
Endpoints GetApp Connection Application Endpoint[] - connectors string[]
- display
Name string - effective
Labels {[key: string]: string} - gateways
Get
App Connection Gateway[] - id string
- The provider-assigned unique ID for this managed resource.
- labels {[key: string]: string}
- name string
- pulumi
Labels {[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[Get
App 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
- application
Endpoints List<Property Map> - connectors List<String>
- display
Name String - effective
Labels Map<String> - gateways List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String>
- name String
- pulumi
Labels Map<String> - type String
- project String
- region String
Supporting Types
GetAppConnectionApplicationEndpoint
GetAppConnectionGateway
- App
Gateway string - 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 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 string - 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 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 String - AppGateway name in following format: projects/{project_id}/locations/{locationId}/appgateways/{gateway_id}.
- ingress
Port 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.
- app
Gateway string - AppGateway name in following format: projects/{project_id}/locations/{locationId}/appgateways/{gateway_id}.
- ingress
Port 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.
- app
Gateway String - AppGateway name in following format: projects/{project_id}/locations/{locationId}/appgateways/{gateway_id}.
- ingress
Port 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-beta
Terraform Provider.