1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. beyondcorp
  5. getAppGateway
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

gcp.beyondcorp.getAppGateway

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

    Get information about a Google BeyondCorp App Gateway.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const my-beyondcorp-app-gateway = gcp.beyondcorp.getAppGateway({
        name: "my-beyondcorp-app-gateway",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    my_beyondcorp_app_gateway = gcp.beyondcorp.get_app_gateway(name="my-beyondcorp-app-gateway")
    
    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.LookupAppGateway(ctx, &beyondcorp.LookupAppGatewayArgs{
    			Name: "my-beyondcorp-app-gateway",
    		}, 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_gateway = Gcp.Beyondcorp.GetAppGateway.Invoke(new()
        {
            Name = "my-beyondcorp-app-gateway",
        });
    
    });
    
    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.GetAppGatewayArgs;
    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-gateway = BeyondcorpFunctions.getAppGateway(GetAppGatewayArgs.builder()
                .name("my-beyondcorp-app-gateway")
                .build());
    
        }
    }
    
    variables:
      my-beyondcorp-app-gateway:
        fn::invoke:
          Function: gcp:beyondcorp:getAppGateway
          Arguments:
            name: my-beyondcorp-app-gateway
    

    Using getAppGateway

    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 getAppGateway(args: GetAppGatewayArgs, opts?: InvokeOptions): Promise<GetAppGatewayResult>
    function getAppGatewayOutput(args: GetAppGatewayOutputArgs, opts?: InvokeOptions): Output<GetAppGatewayResult>
    def get_app_gateway(name: Optional[str] = None,
                        project: Optional[str] = None,
                        region: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetAppGatewayResult
    def get_app_gateway_output(name: Optional[pulumi.Input[str]] = None,
                        project: Optional[pulumi.Input[str]] = None,
                        region: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetAppGatewayResult]
    func LookupAppGateway(ctx *Context, args *LookupAppGatewayArgs, opts ...InvokeOption) (*LookupAppGatewayResult, error)
    func LookupAppGatewayOutput(ctx *Context, args *LookupAppGatewayOutputArgs, opts ...InvokeOption) LookupAppGatewayResultOutput

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

    public static class GetAppGateway 
    {
        public static Task<GetAppGatewayResult> InvokeAsync(GetAppGatewayArgs args, InvokeOptions? opts = null)
        public static Output<GetAppGatewayResult> Invoke(GetAppGatewayInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAppGatewayResult> getAppGateway(GetAppGatewayArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: gcp:beyondcorp/getAppGateway:getAppGateway
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the App Gateway.


    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 Gateway.


    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 Gateway.


    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 Gateway.


    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 Gateway.


    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 Gateway.


    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.

    getAppGateway Result

    The following output properties are available:

    AllocatedConnections List<GetAppGatewayAllocatedConnection>
    DisplayName string
    EffectiveLabels Dictionary<string, string>
    HostType string
    Id string
    The provider-assigned unique ID for this managed resource.
    Labels Dictionary<string, string>
    Name string
    PulumiLabels Dictionary<string, string>
    State string
    Type string
    Uri string
    Project string
    Region string
    AllocatedConnections []GetAppGatewayAllocatedConnection
    DisplayName string
    EffectiveLabels map[string]string
    HostType string
    Id string
    The provider-assigned unique ID for this managed resource.
    Labels map[string]string
    Name string
    PulumiLabels map[string]string
    State string
    Type string
    Uri string
    Project string
    Region string
    allocatedConnections List<GetAppGatewayAllocatedConnection>
    displayName String
    effectiveLabels Map<String,String>
    hostType String
    id String
    The provider-assigned unique ID for this managed resource.
    labels Map<String,String>
    name String
    pulumiLabels Map<String,String>
    state String
    type String
    uri String
    project String
    region String
    allocatedConnections GetAppGatewayAllocatedConnection[]
    displayName string
    effectiveLabels {[key: string]: string}
    hostType string
    id string
    The provider-assigned unique ID for this managed resource.
    labels {[key: string]: string}
    name string
    pulumiLabels {[key: string]: string}
    state string
    type string
    uri string
    project string
    region string
    allocated_connections Sequence[GetAppGatewayAllocatedConnection]
    display_name str
    effective_labels Mapping[str, str]
    host_type str
    id str
    The provider-assigned unique ID for this managed resource.
    labels Mapping[str, str]
    name str
    pulumi_labels Mapping[str, str]
    state str
    type str
    uri str
    project str
    region str
    allocatedConnections List<Property Map>
    displayName String
    effectiveLabels Map<String>
    hostType String
    id String
    The provider-assigned unique ID for this managed resource.
    labels Map<String>
    name String
    pulumiLabels Map<String>
    state String
    type String
    uri String
    project String
    region String

    Supporting Types

    GetAppGatewayAllocatedConnection

    IngressPort int
    The ingress port of an allocated connection.
    PscUri string
    The PSC uri of an allocated connection.
    IngressPort int
    The ingress port of an allocated connection.
    PscUri string
    The PSC uri of an allocated connection.
    ingressPort Integer
    The ingress port of an allocated connection.
    pscUri String
    The PSC uri of an allocated connection.
    ingressPort number
    The ingress port of an allocated connection.
    pscUri string
    The PSC uri of an allocated connection.
    ingress_port int
    The ingress port of an allocated connection.
    psc_uri str
    The PSC uri of an allocated connection.
    ingressPort Number
    The ingress port of an allocated connection.
    pscUri String
    The PSC uri of an allocated connection.

    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.
    gcp logo
    Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi