AppGateway

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

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()
.hostType("GCP_REGIONAL_MIG")
.region("us-central1")
.type("TCP_PROXY")
.build());
}
}

Beyondcorp App Gateway Full

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()
.displayName("some display name")
.hostType("GCP_REGIONAL_MIG")
.labels(Map.ofEntries(
Map.entry("bar", "baz"),
Map.entry("foo", "bar")
))
.region("us-central1")
.type("TCP_PROXY")
.build());
}
}

Import

AppGateway can be imported using any of these accepted formats

$ 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}}

Properties

Link copied to clipboard

A list of connections allocated for the Gateway. Structure is documented below.

Link copied to clipboard
val displayName: Output<String>?

An arbitrary user-provided name for the AppGateway.

Link copied to clipboard
val hostType: Output<String>?

The type of hosting used by the AppGateway. Default value is HOST_TYPE_UNSPECIFIED. Possible values are HOST_TYPE_UNSPECIFIED and GCP_REGIONAL_MIG.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val labels: Output<Map<String, String>>?

Resource labels to represent user provided metadata.

Link copied to clipboard
val name: Output<String>

ID of the AppGateway.

Link copied to clipboard
val project: Output<String>

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val region: Output<String>?

The region of the AppGateway.

Link copied to clipboard
val state: Output<String>

Represents the different states of a AppGateway.

Link copied to clipboard
val type: Output<String>?

The type of network connectivity used by the AppGateway. Default value is TYPE_UNSPECIFIED. Possible values are TYPE_UNSPECIFIED and TCP_PROXY.

Link copied to clipboard
val uri: Output<String>

Server-defined URI for this resource.

Link copied to clipboard
val urn: Output<String>