Google Cloud Classic v6.57.0, May 30 23
Google Cloud Classic v6.57.0, May 30 23
gcp.beyondcorp.AppConnection
Explore with Pulumi AI
A BeyondCorp AppConnection resource represents a BeyondCorp protected AppConnection to a remote application. It creates all the necessary GCP components needed for creating a BeyondCorp protected AppConnection. Multiple connectors can be authorised for a single AppConnection.
To get more information about AppConnection, see:
- API documentation
- How-to Guides
Example Usage
Beyondcorp App Connection Basic
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var serviceAccount = new Gcp.ServiceAccount.Account("serviceAccount", new()
{
AccountId = "my-account",
DisplayName = "Test Service Account",
});
var appConnector = new Gcp.Beyondcorp.AppConnector("appConnector", new()
{
PrincipalInfo = new Gcp.Beyondcorp.Inputs.AppConnectorPrincipalInfoArgs
{
ServiceAccount = new Gcp.Beyondcorp.Inputs.AppConnectorPrincipalInfoServiceAccountArgs
{
Email = serviceAccount.Email,
},
},
});
var appConnection = new Gcp.Beyondcorp.AppConnection("appConnection", new()
{
Type = "TCP_PROXY",
ApplicationEndpoint = new Gcp.Beyondcorp.Inputs.AppConnectionApplicationEndpointArgs
{
Host = "foo-host",
Port = 8080,
},
Connectors = new[]
{
appConnector.Id,
},
});
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/beyondcorp"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/serviceAccount"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
serviceAccount, err := serviceAccount.NewAccount(ctx, "serviceAccount", &serviceAccount.AccountArgs{
AccountId: pulumi.String("my-account"),
DisplayName: pulumi.String("Test Service Account"),
})
if err != nil {
return err
}
appConnector, err := beyondcorp.NewAppConnector(ctx, "appConnector", &beyondcorp.AppConnectorArgs{
PrincipalInfo: &beyondcorp.AppConnectorPrincipalInfoArgs{
ServiceAccount: &beyondcorp.AppConnectorPrincipalInfoServiceAccountArgs{
Email: serviceAccount.Email,
},
},
})
if err != nil {
return err
}
_, err = beyondcorp.NewAppConnection(ctx, "appConnection", &beyondcorp.AppConnectionArgs{
Type: pulumi.String("TCP_PROXY"),
ApplicationEndpoint: &beyondcorp.AppConnectionApplicationEndpointArgs{
Host: pulumi.String("foo-host"),
Port: pulumi.Int(8080),
},
Connectors: pulumi.StringArray{
appConnector.ID(),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.serviceAccount.Account;
import com.pulumi.gcp.serviceAccount.AccountArgs;
import com.pulumi.gcp.beyondcorp.AppConnector;
import com.pulumi.gcp.beyondcorp.AppConnectorArgs;
import com.pulumi.gcp.beyondcorp.inputs.AppConnectorPrincipalInfoArgs;
import com.pulumi.gcp.beyondcorp.inputs.AppConnectorPrincipalInfoServiceAccountArgs;
import com.pulumi.gcp.beyondcorp.AppConnection;
import com.pulumi.gcp.beyondcorp.AppConnectionArgs;
import com.pulumi.gcp.beyondcorp.inputs.AppConnectionApplicationEndpointArgs;
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 serviceAccount = new Account("serviceAccount", AccountArgs.builder()
.accountId("my-account")
.displayName("Test Service Account")
.build());
var appConnector = new AppConnector("appConnector", AppConnectorArgs.builder()
.principalInfo(AppConnectorPrincipalInfoArgs.builder()
.serviceAccount(AppConnectorPrincipalInfoServiceAccountArgs.builder()
.email(serviceAccount.email())
.build())
.build())
.build());
var appConnection = new AppConnection("appConnection", AppConnectionArgs.builder()
.type("TCP_PROXY")
.applicationEndpoint(AppConnectionApplicationEndpointArgs.builder()
.host("foo-host")
.port(8080)
.build())
.connectors(appConnector.id())
.build());
}
}
import pulumi
import pulumi_gcp as gcp
service_account = gcp.service_account.Account("serviceAccount",
account_id="my-account",
display_name="Test Service Account")
app_connector = gcp.beyondcorp.AppConnector("appConnector", principal_info=gcp.beyondcorp.AppConnectorPrincipalInfoArgs(
service_account=gcp.beyondcorp.AppConnectorPrincipalInfoServiceAccountArgs(
email=service_account.email,
),
))
app_connection = gcp.beyondcorp.AppConnection("appConnection",
type="TCP_PROXY",
application_endpoint=gcp.beyondcorp.AppConnectionApplicationEndpointArgs(
host="foo-host",
port=8080,
),
connectors=[app_connector.id])
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const serviceAccount = new gcp.serviceaccount.Account("serviceAccount", {
accountId: "my-account",
displayName: "Test Service Account",
});
const appConnector = new gcp.beyondcorp.AppConnector("appConnector", {principalInfo: {
serviceAccount: {
email: serviceAccount.email,
},
}});
const appConnection = new gcp.beyondcorp.AppConnection("appConnection", {
type: "TCP_PROXY",
applicationEndpoint: {
host: "foo-host",
port: 8080,
},
connectors: [appConnector.id],
});
resources:
serviceAccount:
type: gcp:serviceAccount:Account
properties:
accountId: my-account
displayName: Test Service Account
appConnector:
type: gcp:beyondcorp:AppConnector
properties:
principalInfo:
serviceAccount:
email: ${serviceAccount.email}
appConnection:
type: gcp:beyondcorp:AppConnection
properties:
type: TCP_PROXY
applicationEndpoint:
host: foo-host
port: 8080
connectors:
- ${appConnector.id}
Beyondcorp App Connection Full
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var serviceAccount = new Gcp.ServiceAccount.Account("serviceAccount", new()
{
AccountId = "my-account",
DisplayName = "Test Service Account",
});
var appGateway = new Gcp.Beyondcorp.AppGateway("appGateway", new()
{
Type = "TCP_PROXY",
HostType = "GCP_REGIONAL_MIG",
});
var appConnector = new Gcp.Beyondcorp.AppConnector("appConnector", new()
{
PrincipalInfo = new Gcp.Beyondcorp.Inputs.AppConnectorPrincipalInfoArgs
{
ServiceAccount = new Gcp.Beyondcorp.Inputs.AppConnectorPrincipalInfoServiceAccountArgs
{
Email = serviceAccount.Email,
},
},
});
var appConnection = new Gcp.Beyondcorp.AppConnection("appConnection", new()
{
Type = "TCP_PROXY",
DisplayName = "some display name",
ApplicationEndpoint = new Gcp.Beyondcorp.Inputs.AppConnectionApplicationEndpointArgs
{
Host = "foo-host",
Port = 8080,
},
Connectors = new[]
{
appConnector.Id,
},
Gateway = new Gcp.Beyondcorp.Inputs.AppConnectionGatewayArgs
{
AppGateway = appGateway.Id,
},
Labels =
{
{ "foo", "bar" },
{ "bar", "baz" },
},
});
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/beyondcorp"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/serviceAccount"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
serviceAccount, err := serviceAccount.NewAccount(ctx, "serviceAccount", &serviceAccount.AccountArgs{
AccountId: pulumi.String("my-account"),
DisplayName: pulumi.String("Test Service Account"),
})
if err != nil {
return err
}
appGateway, err := beyondcorp.NewAppGateway(ctx, "appGateway", &beyondcorp.AppGatewayArgs{
Type: pulumi.String("TCP_PROXY"),
HostType: pulumi.String("GCP_REGIONAL_MIG"),
})
if err != nil {
return err
}
appConnector, err := beyondcorp.NewAppConnector(ctx, "appConnector", &beyondcorp.AppConnectorArgs{
PrincipalInfo: &beyondcorp.AppConnectorPrincipalInfoArgs{
ServiceAccount: &beyondcorp.AppConnectorPrincipalInfoServiceAccountArgs{
Email: serviceAccount.Email,
},
},
})
if err != nil {
return err
}
_, err = beyondcorp.NewAppConnection(ctx, "appConnection", &beyondcorp.AppConnectionArgs{
Type: pulumi.String("TCP_PROXY"),
DisplayName: pulumi.String("some display name"),
ApplicationEndpoint: &beyondcorp.AppConnectionApplicationEndpointArgs{
Host: pulumi.String("foo-host"),
Port: pulumi.Int(8080),
},
Connectors: pulumi.StringArray{
appConnector.ID(),
},
Gateway: &beyondcorp.AppConnectionGatewayArgs{
AppGateway: appGateway.ID(),
},
Labels: pulumi.StringMap{
"foo": pulumi.String("bar"),
"bar": pulumi.String("baz"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.serviceAccount.Account;
import com.pulumi.gcp.serviceAccount.AccountArgs;
import com.pulumi.gcp.beyondcorp.AppGateway;
import com.pulumi.gcp.beyondcorp.AppGatewayArgs;
import com.pulumi.gcp.beyondcorp.AppConnector;
import com.pulumi.gcp.beyondcorp.AppConnectorArgs;
import com.pulumi.gcp.beyondcorp.inputs.AppConnectorPrincipalInfoArgs;
import com.pulumi.gcp.beyondcorp.inputs.AppConnectorPrincipalInfoServiceAccountArgs;
import com.pulumi.gcp.beyondcorp.AppConnection;
import com.pulumi.gcp.beyondcorp.AppConnectionArgs;
import com.pulumi.gcp.beyondcorp.inputs.AppConnectionApplicationEndpointArgs;
import com.pulumi.gcp.beyondcorp.inputs.AppConnectionGatewayArgs;
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 serviceAccount = new Account("serviceAccount", AccountArgs.builder()
.accountId("my-account")
.displayName("Test Service Account")
.build());
var appGateway = new AppGateway("appGateway", AppGatewayArgs.builder()
.type("TCP_PROXY")
.hostType("GCP_REGIONAL_MIG")
.build());
var appConnector = new AppConnector("appConnector", AppConnectorArgs.builder()
.principalInfo(AppConnectorPrincipalInfoArgs.builder()
.serviceAccount(AppConnectorPrincipalInfoServiceAccountArgs.builder()
.email(serviceAccount.email())
.build())
.build())
.build());
var appConnection = new AppConnection("appConnection", AppConnectionArgs.builder()
.type("TCP_PROXY")
.displayName("some display name")
.applicationEndpoint(AppConnectionApplicationEndpointArgs.builder()
.host("foo-host")
.port(8080)
.build())
.connectors(appConnector.id())
.gateway(AppConnectionGatewayArgs.builder()
.appGateway(appGateway.id())
.build())
.labels(Map.ofEntries(
Map.entry("foo", "bar"),
Map.entry("bar", "baz")
))
.build());
}
}
import pulumi
import pulumi_gcp as gcp
service_account = gcp.service_account.Account("serviceAccount",
account_id="my-account",
display_name="Test Service Account")
app_gateway = gcp.beyondcorp.AppGateway("appGateway",
type="TCP_PROXY",
host_type="GCP_REGIONAL_MIG")
app_connector = gcp.beyondcorp.AppConnector("appConnector", principal_info=gcp.beyondcorp.AppConnectorPrincipalInfoArgs(
service_account=gcp.beyondcorp.AppConnectorPrincipalInfoServiceAccountArgs(
email=service_account.email,
),
))
app_connection = gcp.beyondcorp.AppConnection("appConnection",
type="TCP_PROXY",
display_name="some display name",
application_endpoint=gcp.beyondcorp.AppConnectionApplicationEndpointArgs(
host="foo-host",
port=8080,
),
connectors=[app_connector.id],
gateway=gcp.beyondcorp.AppConnectionGatewayArgs(
app_gateway=app_gateway.id,
),
labels={
"foo": "bar",
"bar": "baz",
})
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const serviceAccount = new gcp.serviceaccount.Account("serviceAccount", {
accountId: "my-account",
displayName: "Test Service Account",
});
const appGateway = new gcp.beyondcorp.AppGateway("appGateway", {
type: "TCP_PROXY",
hostType: "GCP_REGIONAL_MIG",
});
const appConnector = new gcp.beyondcorp.AppConnector("appConnector", {principalInfo: {
serviceAccount: {
email: serviceAccount.email,
},
}});
const appConnection = new gcp.beyondcorp.AppConnection("appConnection", {
type: "TCP_PROXY",
displayName: "some display name",
applicationEndpoint: {
host: "foo-host",
port: 8080,
},
connectors: [appConnector.id],
gateway: {
appGateway: appGateway.id,
},
labels: {
foo: "bar",
bar: "baz",
},
});
resources:
serviceAccount:
type: gcp:serviceAccount:Account
properties:
accountId: my-account
displayName: Test Service Account
appGateway:
type: gcp:beyondcorp:AppGateway
properties:
type: TCP_PROXY
hostType: GCP_REGIONAL_MIG
appConnector:
type: gcp:beyondcorp:AppConnector
properties:
principalInfo:
serviceAccount:
email: ${serviceAccount.email}
appConnection:
type: gcp:beyondcorp:AppConnection
properties:
type: TCP_PROXY
displayName: some display name
applicationEndpoint:
host: foo-host
port: 8080
connectors:
- ${appConnector.id}
gateway:
appGateway: ${appGateway.id}
labels:
foo: bar
bar: baz
Create AppConnection Resource
new AppConnection(name: string, args: AppConnectionArgs, opts?: CustomResourceOptions);
@overload
def AppConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
application_endpoint: Optional[AppConnectionApplicationEndpointArgs] = None,
connectors: Optional[Sequence[str]] = None,
display_name: Optional[str] = None,
gateway: Optional[AppConnectionGatewayArgs] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
project: Optional[str] = None,
region: Optional[str] = None,
type: Optional[str] = None)
@overload
def AppConnection(resource_name: str,
args: AppConnectionArgs,
opts: Optional[ResourceOptions] = None)
func NewAppConnection(ctx *Context, name string, args AppConnectionArgs, opts ...ResourceOption) (*AppConnection, error)
public AppConnection(string name, AppConnectionArgs args, CustomResourceOptions? opts = null)
public AppConnection(String name, AppConnectionArgs args)
public AppConnection(String name, AppConnectionArgs args, CustomResourceOptions options)
type: gcp:beyondcorp:AppConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppConnectionArgs
- 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 AppConnectionArgs
- 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 AppConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppConnectionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AppConnection 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 AppConnection resource accepts the following input properties:
- Application
Endpoint AppConnection Application Endpoint Args Address of the remote application endpoint for the BeyondCorp AppConnection. Structure is documented below.
- Connectors List<string>
List of AppConnectors that are authorised to be associated with this AppConnection
- Display
Name string An arbitrary user-provided name for the AppConnection.
- Gateway
App
Connection Gateway Args Gateway used by the AppConnection. Structure is documented below.
- Labels Dictionary<string, string>
Resource labels to represent user provided metadata.
- Name string
ID of the AppConnection.
- 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 AppConnection.
- Type string
The type of network connectivity used by the AppConnection. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#type for a list of possible values.
(Optional) 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.
- Application
Endpoint AppConnection Application Endpoint Args Address of the remote application endpoint for the BeyondCorp AppConnection. Structure is documented below.
- Connectors []string
List of AppConnectors that are authorised to be associated with this AppConnection
- Display
Name string An arbitrary user-provided name for the AppConnection.
- Gateway
App
Connection Gateway Args Gateway used by the AppConnection. Structure is documented below.
- Labels map[string]string
Resource labels to represent user provided metadata.
- Name string
ID of the AppConnection.
- 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 AppConnection.
- Type string
The type of network connectivity used by the AppConnection. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#type for a list of possible values.
(Optional) 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.
- application
Endpoint AppConnection Application Endpoint Args Address of the remote application endpoint for the BeyondCorp AppConnection. Structure is documented below.
- connectors List<String>
List of AppConnectors that are authorised to be associated with this AppConnection
- display
Name String An arbitrary user-provided name for the AppConnection.
- gateway
App
Connection Gateway Args Gateway used by the AppConnection. Structure is documented below.
- labels Map<String,String>
Resource labels to represent user provided metadata.
- name String
ID of the AppConnection.
- 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 AppConnection.
- type String
The type of network connectivity used by the AppConnection. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#type for a list of possible values.
(Optional) 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.
- application
Endpoint AppConnection Application Endpoint Args Address of the remote application endpoint for the BeyondCorp AppConnection. Structure is documented below.
- connectors string[]
List of AppConnectors that are authorised to be associated with this AppConnection
- display
Name string An arbitrary user-provided name for the AppConnection.
- gateway
App
Connection Gateway Args Gateway used by the AppConnection. Structure is documented below.
- labels {[key: string]: string}
Resource labels to represent user provided metadata.
- name string
ID of the AppConnection.
- 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 AppConnection.
- type string
The type of network connectivity used by the AppConnection. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#type for a list of possible values.
(Optional) 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.
- application_
endpoint AppConnection Application Endpoint Args Address of the remote application endpoint for the BeyondCorp AppConnection. Structure is documented below.
- connectors Sequence[str]
List of AppConnectors that are authorised to be associated with this AppConnection
- display_
name str An arbitrary user-provided name for the AppConnection.
- gateway
App
Connection Gateway Args Gateway used by the AppConnection. Structure is documented below.
- labels Mapping[str, str]
Resource labels to represent user provided metadata.
- name str
ID of the AppConnection.
- 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 AppConnection.
- type str
The type of network connectivity used by the AppConnection. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#type for a list of possible values.
(Optional) 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.
- application
Endpoint Property Map Address of the remote application endpoint for the BeyondCorp AppConnection. Structure is documented below.
- connectors List<String>
List of AppConnectors that are authorised to be associated with this AppConnection
- display
Name String An arbitrary user-provided name for the AppConnection.
- gateway Property Map
Gateway used by the AppConnection. Structure is documented below.
- labels Map<String>
Resource labels to represent user provided metadata.
- name String
ID of the AppConnection.
- 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 AppConnection.
- type String
The type of network connectivity used by the AppConnection. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#type for a list of possible values.
(Optional) 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the AppConnection resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing AppConnection Resource
Get an existing AppConnection 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?: AppConnectionState, opts?: CustomResourceOptions): AppConnection
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
application_endpoint: Optional[AppConnectionApplicationEndpointArgs] = None,
connectors: Optional[Sequence[str]] = None,
display_name: Optional[str] = None,
gateway: Optional[AppConnectionGatewayArgs] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
project: Optional[str] = None,
region: Optional[str] = None,
type: Optional[str] = None) -> AppConnection
func GetAppConnection(ctx *Context, name string, id IDInput, state *AppConnectionState, opts ...ResourceOption) (*AppConnection, error)
public static AppConnection Get(string name, Input<string> id, AppConnectionState? state, CustomResourceOptions? opts = null)
public static AppConnection get(String name, Output<String> id, AppConnectionState 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.
- Application
Endpoint AppConnection Application Endpoint Args Address of the remote application endpoint for the BeyondCorp AppConnection. Structure is documented below.
- Connectors List<string>
List of AppConnectors that are authorised to be associated with this AppConnection
- Display
Name string An arbitrary user-provided name for the AppConnection.
- Gateway
App
Connection Gateway Args Gateway used by the AppConnection. Structure is documented below.
- Labels Dictionary<string, string>
Resource labels to represent user provided metadata.
- Name string
ID of the AppConnection.
- 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 AppConnection.
- Type string
The type of network connectivity used by the AppConnection. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#type for a list of possible values.
(Optional) 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.
- Application
Endpoint AppConnection Application Endpoint Args Address of the remote application endpoint for the BeyondCorp AppConnection. Structure is documented below.
- Connectors []string
List of AppConnectors that are authorised to be associated with this AppConnection
- Display
Name string An arbitrary user-provided name for the AppConnection.
- Gateway
App
Connection Gateway Args Gateway used by the AppConnection. Structure is documented below.
- Labels map[string]string
Resource labels to represent user provided metadata.
- Name string
ID of the AppConnection.
- 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 AppConnection.
- Type string
The type of network connectivity used by the AppConnection. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#type for a list of possible values.
(Optional) 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.
- application
Endpoint AppConnection Application Endpoint Args Address of the remote application endpoint for the BeyondCorp AppConnection. Structure is documented below.
- connectors List<String>
List of AppConnectors that are authorised to be associated with this AppConnection
- display
Name String An arbitrary user-provided name for the AppConnection.
- gateway
App
Connection Gateway Args Gateway used by the AppConnection. Structure is documented below.
- labels Map<String,String>
Resource labels to represent user provided metadata.
- name String
ID of the AppConnection.
- 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 AppConnection.
- type String
The type of network connectivity used by the AppConnection. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#type for a list of possible values.
(Optional) 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.
- application
Endpoint AppConnection Application Endpoint Args Address of the remote application endpoint for the BeyondCorp AppConnection. Structure is documented below.
- connectors string[]
List of AppConnectors that are authorised to be associated with this AppConnection
- display
Name string An arbitrary user-provided name for the AppConnection.
- gateway
App
Connection Gateway Args Gateway used by the AppConnection. Structure is documented below.
- labels {[key: string]: string}
Resource labels to represent user provided metadata.
- name string
ID of the AppConnection.
- 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 AppConnection.
- type string
The type of network connectivity used by the AppConnection. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#type for a list of possible values.
(Optional) 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.
- application_
endpoint AppConnection Application Endpoint Args Address of the remote application endpoint for the BeyondCorp AppConnection. Structure is documented below.
- connectors Sequence[str]
List of AppConnectors that are authorised to be associated with this AppConnection
- display_
name str An arbitrary user-provided name for the AppConnection.
- gateway
App
Connection Gateway Args Gateway used by the AppConnection. Structure is documented below.
- labels Mapping[str, str]
Resource labels to represent user provided metadata.
- name str
ID of the AppConnection.
- 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 AppConnection.
- type str
The type of network connectivity used by the AppConnection. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#type for a list of possible values.
(Optional) 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.
- application
Endpoint Property Map Address of the remote application endpoint for the BeyondCorp AppConnection. Structure is documented below.
- connectors List<String>
List of AppConnectors that are authorised to be associated with this AppConnection
- display
Name String An arbitrary user-provided name for the AppConnection.
- gateway Property Map
Gateway used by the AppConnection. Structure is documented below.
- labels Map<String>
Resource labels to represent user provided metadata.
- name String
ID of the AppConnection.
- 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 AppConnection.
- type String
The type of network connectivity used by the AppConnection. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#type for a list of possible values.
(Optional) 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.
Supporting Types
AppConnectionApplicationEndpoint
AppConnectionGateway
- App
Gateway string AppGateway name in following format: projects/{project_id}/locations/{locationId}/appgateways/{gateway_id}.
- Ingress
Port int (Output) 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
(Output) 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 (Output) 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
(Output) 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 (Output) 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
(Output) 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 (Output) 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
(Output) 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 (Output) 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
(Output) 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 (Output) 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
(Output) Server-defined URI for this resource.
Import
AppConnection can be imported using any of these accepted formats
$ pulumi import gcp:beyondcorp/appConnection:AppConnection default projects/{{project}}/locations/{{region}}/appConnections/{{name}}
$ pulumi import gcp:beyondcorp/appConnection:AppConnection default {{project}}/{{region}}/{{name}}
$ pulumi import gcp:beyondcorp/appConnection:AppConnection default {{region}}/{{name}}
$ pulumi import gcp:beyondcorp/appConnection:AppConnection default {{name}}
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.