1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. beyondcorp
  5. AppGateway
Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi

gcp.beyondcorp.AppGateway

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi

    A BeyondCorp AppGateway resource represents a BeyondCorp protected AppGateway to a remote application. It creates all the necessary GCP components needed for creating a BeyondCorp protected AppGateway. Multiple connectors can be authorised for a single AppGateway.

    To get more information about AppGateway, see:

    Example Usage

    Beyondcorp App Gateway Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const appGateway = new gcp.beyondcorp.AppGateway("app_gateway", {
        name: "my-app-gateway",
        type: "TCP_PROXY",
        region: "us-central1",
        hostType: "GCP_REGIONAL_MIG",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    app_gateway = gcp.beyondcorp.AppGateway("app_gateway",
        name="my-app-gateway",
        type="TCP_PROXY",
        region="us-central1",
        host_type="GCP_REGIONAL_MIG")
    
    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.NewAppGateway(ctx, "app_gateway", &beyondcorp.AppGatewayArgs{
    			Name:     pulumi.String("my-app-gateway"),
    			Type:     pulumi.String("TCP_PROXY"),
    			Region:   pulumi.String("us-central1"),
    			HostType: pulumi.String("GCP_REGIONAL_MIG"),
    		})
    		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 appGateway = new Gcp.Beyondcorp.AppGateway("app_gateway", new()
        {
            Name = "my-app-gateway",
            Type = "TCP_PROXY",
            Region = "us-central1",
            HostType = "GCP_REGIONAL_MIG",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.beyondcorp.AppGateway;
    import com.pulumi.gcp.beyondcorp.AppGatewayArgs;
    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) {
            var appGateway = new AppGateway("appGateway", AppGatewayArgs.builder()
                .name("my-app-gateway")
                .type("TCP_PROXY")
                .region("us-central1")
                .hostType("GCP_REGIONAL_MIG")
                .build());
    
        }
    }
    
    resources:
      appGateway:
        type: gcp:beyondcorp:AppGateway
        name: app_gateway
        properties:
          name: my-app-gateway
          type: TCP_PROXY
          region: us-central1
          hostType: GCP_REGIONAL_MIG
    

    Beyondcorp App Gateway Full

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const appGateway = new gcp.beyondcorp.AppGateway("app_gateway", {
        name: "my-app-gateway",
        type: "TCP_PROXY",
        region: "us-central1",
        displayName: "some display name",
        labels: {
            foo: "bar",
            bar: "baz",
        },
        hostType: "GCP_REGIONAL_MIG",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    app_gateway = gcp.beyondcorp.AppGateway("app_gateway",
        name="my-app-gateway",
        type="TCP_PROXY",
        region="us-central1",
        display_name="some display name",
        labels={
            "foo": "bar",
            "bar": "baz",
        },
        host_type="GCP_REGIONAL_MIG")
    
    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.NewAppGateway(ctx, "app_gateway", &beyondcorp.AppGatewayArgs{
    			Name:        pulumi.String("my-app-gateway"),
    			Type:        pulumi.String("TCP_PROXY"),
    			Region:      pulumi.String("us-central1"),
    			DisplayName: pulumi.String("some display name"),
    			Labels: pulumi.StringMap{
    				"foo": pulumi.String("bar"),
    				"bar": pulumi.String("baz"),
    			},
    			HostType: pulumi.String("GCP_REGIONAL_MIG"),
    		})
    		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 appGateway = new Gcp.Beyondcorp.AppGateway("app_gateway", new()
        {
            Name = "my-app-gateway",
            Type = "TCP_PROXY",
            Region = "us-central1",
            DisplayName = "some display name",
            Labels = 
            {
                { "foo", "bar" },
                { "bar", "baz" },
            },
            HostType = "GCP_REGIONAL_MIG",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.beyondcorp.AppGateway;
    import com.pulumi.gcp.beyondcorp.AppGatewayArgs;
    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) {
            var appGateway = new AppGateway("appGateway", AppGatewayArgs.builder()
                .name("my-app-gateway")
                .type("TCP_PROXY")
                .region("us-central1")
                .displayName("some display name")
                .labels(Map.ofEntries(
                    Map.entry("foo", "bar"),
                    Map.entry("bar", "baz")
                ))
                .hostType("GCP_REGIONAL_MIG")
                .build());
    
        }
    }
    
    resources:
      appGateway:
        type: gcp:beyondcorp:AppGateway
        name: app_gateway
        properties:
          name: my-app-gateway
          type: TCP_PROXY
          region: us-central1
          displayName: some display name
          labels:
            foo: bar
            bar: baz
          hostType: GCP_REGIONAL_MIG
    

    Create AppGateway Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AppGateway(name: string, args?: AppGatewayArgs, opts?: CustomResourceOptions);
    @overload
    def AppGateway(resource_name: str,
                   args: Optional[AppGatewayArgs] = None,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def AppGateway(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   display_name: Optional[str] = None,
                   host_type: Optional[str] = None,
                   labels: Optional[Mapping[str, str]] = None,
                   name: Optional[str] = None,
                   project: Optional[str] = None,
                   region: Optional[str] = None,
                   type: Optional[str] = None)
    func NewAppGateway(ctx *Context, name string, args *AppGatewayArgs, opts ...ResourceOption) (*AppGateway, error)
    public AppGateway(string name, AppGatewayArgs? args = null, CustomResourceOptions? opts = null)
    public AppGateway(String name, AppGatewayArgs args)
    public AppGateway(String name, AppGatewayArgs args, CustomResourceOptions options)
    
    type: gcp:beyondcorp:AppGateway
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AppGatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AppGatewayArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AppGatewayArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppGatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppGatewayArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var appGatewayResource = new Gcp.Beyondcorp.AppGateway("appGatewayResource", new()
    {
        DisplayName = "string",
        HostType = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Name = "string",
        Project = "string",
        Region = "string",
        Type = "string",
    });
    
    example, err := beyondcorp.NewAppGateway(ctx, "appGatewayResource", &beyondcorp.AppGatewayArgs{
    	DisplayName: pulumi.String("string"),
    	HostType:    pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name:    pulumi.String("string"),
    	Project: pulumi.String("string"),
    	Region:  pulumi.String("string"),
    	Type:    pulumi.String("string"),
    })
    
    var appGatewayResource = new AppGateway("appGatewayResource", AppGatewayArgs.builder()
        .displayName("string")
        .hostType("string")
        .labels(Map.of("string", "string"))
        .name("string")
        .project("string")
        .region("string")
        .type("string")
        .build());
    
    app_gateway_resource = gcp.beyondcorp.AppGateway("appGatewayResource",
        display_name="string",
        host_type="string",
        labels={
            "string": "string",
        },
        name="string",
        project="string",
        region="string",
        type="string")
    
    const appGatewayResource = new gcp.beyondcorp.AppGateway("appGatewayResource", {
        displayName: "string",
        hostType: "string",
        labels: {
            string: "string",
        },
        name: "string",
        project: "string",
        region: "string",
        type: "string",
    });
    
    type: gcp:beyondcorp:AppGateway
    properties:
        displayName: string
        hostType: string
        labels:
            string: string
        name: string
        project: string
        region: string
        type: string
    

    AppGateway Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AppGateway resource accepts the following input properties:

    DisplayName string
    An arbitrary user-provided name for the AppGateway.
    HostType string
    The type of hosting used by the AppGateway. Default value is HOST_TYPE_UNSPECIFIED. Possible values are: HOST_TYPE_UNSPECIFIED, GCP_REGIONAL_MIG.
    Labels Dictionary<string, string>

    Resource labels to represent user provided metadata.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    Name string
    ID of the AppGateway.


    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    Region string
    The region of the AppGateway.
    Type string
    The type of network connectivity used by the AppGateway. Default value is TYPE_UNSPECIFIED. Possible values are: TYPE_UNSPECIFIED, TCP_PROXY.
    DisplayName string
    An arbitrary user-provided name for the AppGateway.
    HostType string
    The type of hosting used by the AppGateway. Default value is HOST_TYPE_UNSPECIFIED. Possible values are: HOST_TYPE_UNSPECIFIED, GCP_REGIONAL_MIG.
    Labels map[string]string

    Resource labels to represent user provided metadata.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    Name string
    ID of the AppGateway.


    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    Region string
    The region of the AppGateway.
    Type string
    The type of network connectivity used by the AppGateway. Default value is TYPE_UNSPECIFIED. Possible values are: TYPE_UNSPECIFIED, TCP_PROXY.
    displayName String
    An arbitrary user-provided name for the AppGateway.
    hostType String
    The type of hosting used by the AppGateway. Default value is HOST_TYPE_UNSPECIFIED. Possible values are: HOST_TYPE_UNSPECIFIED, GCP_REGIONAL_MIG.
    labels Map<String,String>

    Resource labels to represent user provided metadata.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    name String
    ID of the AppGateway.


    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    region String
    The region of the AppGateway.
    type String
    The type of network connectivity used by the AppGateway. Default value is TYPE_UNSPECIFIED. Possible values are: TYPE_UNSPECIFIED, TCP_PROXY.
    displayName string
    An arbitrary user-provided name for the AppGateway.
    hostType string
    The type of hosting used by the AppGateway. Default value is HOST_TYPE_UNSPECIFIED. Possible values are: HOST_TYPE_UNSPECIFIED, GCP_REGIONAL_MIG.
    labels {[key: string]: string}

    Resource labels to represent user provided metadata.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    name string
    ID of the AppGateway.


    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    region string
    The region of the AppGateway.
    type string
    The type of network connectivity used by the AppGateway. Default value is TYPE_UNSPECIFIED. Possible values are: TYPE_UNSPECIFIED, TCP_PROXY.
    display_name str
    An arbitrary user-provided name for the AppGateway.
    host_type str
    The type of hosting used by the AppGateway. Default value is HOST_TYPE_UNSPECIFIED. Possible values are: HOST_TYPE_UNSPECIFIED, GCP_REGIONAL_MIG.
    labels Mapping[str, str]

    Resource labels to represent user provided metadata.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    name str
    ID of the AppGateway.


    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    region str
    The region of the AppGateway.
    type str
    The type of network connectivity used by the AppGateway. Default value is TYPE_UNSPECIFIED. Possible values are: TYPE_UNSPECIFIED, TCP_PROXY.
    displayName String
    An arbitrary user-provided name for the AppGateway.
    hostType String
    The type of hosting used by the AppGateway. Default value is HOST_TYPE_UNSPECIFIED. Possible values are: HOST_TYPE_UNSPECIFIED, GCP_REGIONAL_MIG.
    labels Map<String>

    Resource labels to represent user provided metadata.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    name String
    ID of the AppGateway.


    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    region String
    The region of the AppGateway.
    type String
    The type of network connectivity used by the AppGateway. Default value is TYPE_UNSPECIFIED. Possible values are: TYPE_UNSPECIFIED, TCP_PROXY.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AppGateway resource produces the following output properties:

    AllocatedConnections List<AppGatewayAllocatedConnection>
    A list of connections allocated for the Gateway. Structure is documented below.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    State string
    Represents the different states of a AppGateway.
    Uri string
    Server-defined URI for this resource.
    AllocatedConnections []AppGatewayAllocatedConnection
    A list of connections allocated for the Gateway. Structure is documented below.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    State string
    Represents the different states of a AppGateway.
    Uri string
    Server-defined URI for this resource.
    allocatedConnections List<AppGatewayAllocatedConnection>
    A list of connections allocated for the Gateway. Structure is documented below.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state String
    Represents the different states of a AppGateway.
    uri String
    Server-defined URI for this resource.
    allocatedConnections AppGatewayAllocatedConnection[]
    A list of connections allocated for the Gateway. Structure is documented below.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id string
    The provider-assigned unique ID for this managed resource.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state string
    Represents the different states of a AppGateway.
    uri string
    Server-defined URI for this resource.
    allocated_connections Sequence[AppGatewayAllocatedConnection]
    A list of connections allocated for the Gateway. Structure is documented below.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id str
    The provider-assigned unique ID for this managed resource.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state str
    Represents the different states of a AppGateway.
    uri str
    Server-defined URI for this resource.
    allocatedConnections List<Property Map>
    A list of connections allocated for the Gateway. Structure is documented below.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state String
    Represents the different states of a AppGateway.
    uri String
    Server-defined URI for this resource.

    Look up Existing AppGateway Resource

    Get an existing AppGateway resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AppGatewayState, opts?: CustomResourceOptions): AppGateway
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allocated_connections: Optional[Sequence[AppGatewayAllocatedConnectionArgs]] = None,
            display_name: Optional[str] = None,
            effective_labels: Optional[Mapping[str, str]] = None,
            host_type: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            pulumi_labels: Optional[Mapping[str, str]] = None,
            region: Optional[str] = None,
            state: Optional[str] = None,
            type: Optional[str] = None,
            uri: Optional[str] = None) -> AppGateway
    func GetAppGateway(ctx *Context, name string, id IDInput, state *AppGatewayState, opts ...ResourceOption) (*AppGateway, error)
    public static AppGateway Get(string name, Input<string> id, AppGatewayState? state, CustomResourceOptions? opts = null)
    public static AppGateway get(String name, Output<String> id, AppGatewayState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AllocatedConnections List<AppGatewayAllocatedConnection>
    A list of connections allocated for the Gateway. Structure is documented below.
    DisplayName string
    An arbitrary user-provided name for the AppGateway.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    HostType string
    The type of hosting used by the AppGateway. Default value is HOST_TYPE_UNSPECIFIED. Possible values are: HOST_TYPE_UNSPECIFIED, GCP_REGIONAL_MIG.
    Labels Dictionary<string, string>

    Resource labels to represent user provided metadata.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    Name string
    ID of the AppGateway.


    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    Region string
    The region of the AppGateway.
    State string
    Represents the different states of a AppGateway.
    Type string
    The type of network connectivity used by the AppGateway. Default value is TYPE_UNSPECIFIED. Possible values are: TYPE_UNSPECIFIED, TCP_PROXY.
    Uri string
    Server-defined URI for this resource.
    AllocatedConnections []AppGatewayAllocatedConnectionArgs
    A list of connections allocated for the Gateway. Structure is documented below.
    DisplayName string
    An arbitrary user-provided name for the AppGateway.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    HostType string
    The type of hosting used by the AppGateway. Default value is HOST_TYPE_UNSPECIFIED. Possible values are: HOST_TYPE_UNSPECIFIED, GCP_REGIONAL_MIG.
    Labels map[string]string

    Resource labels to represent user provided metadata.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    Name string
    ID of the AppGateway.


    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    Region string
    The region of the AppGateway.
    State string
    Represents the different states of a AppGateway.
    Type string
    The type of network connectivity used by the AppGateway. Default value is TYPE_UNSPECIFIED. Possible values are: TYPE_UNSPECIFIED, TCP_PROXY.
    Uri string
    Server-defined URI for this resource.
    allocatedConnections List<AppGatewayAllocatedConnection>
    A list of connections allocated for the Gateway. Structure is documented below.
    displayName String
    An arbitrary user-provided name for the AppGateway.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    hostType String
    The type of hosting used by the AppGateway. Default value is HOST_TYPE_UNSPECIFIED. Possible values are: HOST_TYPE_UNSPECIFIED, GCP_REGIONAL_MIG.
    labels Map<String,String>

    Resource labels to represent user provided metadata.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    name String
    ID of the AppGateway.


    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    region String
    The region of the AppGateway.
    state String
    Represents the different states of a AppGateway.
    type String
    The type of network connectivity used by the AppGateway. Default value is TYPE_UNSPECIFIED. Possible values are: TYPE_UNSPECIFIED, TCP_PROXY.
    uri String
    Server-defined URI for this resource.
    allocatedConnections AppGatewayAllocatedConnection[]
    A list of connections allocated for the Gateway. Structure is documented below.
    displayName string
    An arbitrary user-provided name for the AppGateway.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    hostType string
    The type of hosting used by the AppGateway. Default value is HOST_TYPE_UNSPECIFIED. Possible values are: HOST_TYPE_UNSPECIFIED, GCP_REGIONAL_MIG.
    labels {[key: string]: string}

    Resource labels to represent user provided metadata.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    name string
    ID of the AppGateway.


    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    region string
    The region of the AppGateway.
    state string
    Represents the different states of a AppGateway.
    type string
    The type of network connectivity used by the AppGateway. Default value is TYPE_UNSPECIFIED. Possible values are: TYPE_UNSPECIFIED, TCP_PROXY.
    uri string
    Server-defined URI for this resource.
    allocated_connections Sequence[AppGatewayAllocatedConnectionArgs]
    A list of connections allocated for the Gateway. Structure is documented below.
    display_name str
    An arbitrary user-provided name for the AppGateway.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    host_type str
    The type of hosting used by the AppGateway. Default value is HOST_TYPE_UNSPECIFIED. Possible values are: HOST_TYPE_UNSPECIFIED, GCP_REGIONAL_MIG.
    labels Mapping[str, str]

    Resource labels to represent user provided metadata.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    name str
    ID of the AppGateway.


    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    region str
    The region of the AppGateway.
    state str
    Represents the different states of a AppGateway.
    type str
    The type of network connectivity used by the AppGateway. Default value is TYPE_UNSPECIFIED. Possible values are: TYPE_UNSPECIFIED, TCP_PROXY.
    uri str
    Server-defined URI for this resource.
    allocatedConnections List<Property Map>
    A list of connections allocated for the Gateway. Structure is documented below.
    displayName String
    An arbitrary user-provided name for the AppGateway.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    hostType String
    The type of hosting used by the AppGateway. Default value is HOST_TYPE_UNSPECIFIED. Possible values are: HOST_TYPE_UNSPECIFIED, GCP_REGIONAL_MIG.
    labels Map<String>

    Resource labels to represent user provided metadata.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    name String
    ID of the AppGateway.


    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    region String
    The region of the AppGateway.
    state String
    Represents the different states of a AppGateway.
    type String
    The type of network connectivity used by the AppGateway. Default value is TYPE_UNSPECIFIED. Possible values are: TYPE_UNSPECIFIED, TCP_PROXY.
    uri String
    Server-defined URI for this resource.

    Supporting Types

    AppGatewayAllocatedConnection, AppGatewayAllocatedConnectionArgs

    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.

    Import

    AppGateway can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{region}}/appGateways/{{name}}

    • {{project}}/{{region}}/{{name}}

    • {{region}}/{{name}}

    • {{name}}

    When using the pulumi import command, AppGateway can be imported using one of the formats above. For example:

    $ pulumi import gcp:beyondcorp/appGateway:AppGateway default projects/{{project}}/locations/{{region}}/appGateways/{{name}}
    
    $ pulumi import gcp:beyondcorp/appGateway:AppGateway default {{project}}/{{region}}/{{name}}
    
    $ pulumi import gcp:beyondcorp/appGateway:AppGateway default {{region}}/{{name}}
    
    $ pulumi import gcp:beyondcorp/appGateway:AppGateway default {{name}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.3.1 published on Wednesday, Sep 25, 2024 by Pulumi