AppGatewayArgs

data class AppGatewayArgs(val displayName: Output<String>? = null, val hostType: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val region: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<AppGatewayArgs>

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

Constructors

Link copied to clipboard
constructor(displayName: Output<String>? = null, hostType: Output<String>? = null, labels: Output<Map<String, String>>? = null, name: Output<String>? = null, project: Output<String>? = null, region: Output<String>? = null, type: Output<String>? = null)

Properties

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

An arbitrary user-provided name for the AppGateway.

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

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

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

Resource labels to represent user provided metadata.

Link copied to clipboard
val name: Output<String>? = null

ID of the AppGateway.

Link copied to clipboard
val project: Output<String>? = null

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

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

The region of the AppGateway.

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

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

Functions

Link copied to clipboard
open override fun toJava(): AppGatewayArgs