1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. beyondcorp
  5. Application
Google Cloud v8.26.0 published on Thursday, Apr 10, 2025 by Pulumi

gcp.beyondcorp.Application

Explore with Pulumi AI

Specifies application endpoint(s) to protect behind a Security Gateway.

Example Usage

Beyondcorp Security Gateway Application Basic

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const _default = new gcp.beyondcorp.SecurityGateway("default", {
    securityGatewayId: "default",
    displayName: "My Security Gateway resource",
    hubs: [{
        region: "us-central1",
    }],
});
const example = new gcp.beyondcorp.Application("example", {
    securityGatewaysId: _default.securityGatewayId,
    applicationId: "google",
    endpointMatchers: [{
        hostname: "google.com",
    }],
});
Copy
import pulumi
import pulumi_gcp as gcp

default = gcp.beyondcorp.SecurityGateway("default",
    security_gateway_id="default",
    display_name="My Security Gateway resource",
    hubs=[{
        "region": "us-central1",
    }])
example = gcp.beyondcorp.Application("example",
    security_gateways_id=default.security_gateway_id,
    application_id="google",
    endpoint_matchers=[{
        "hostname": "google.com",
    }])
Copy
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 {
		_default, err := beyondcorp.NewSecurityGateway(ctx, "default", &beyondcorp.SecurityGatewayArgs{
			SecurityGatewayId: pulumi.String("default"),
			DisplayName:       pulumi.String("My Security Gateway resource"),
			Hubs: beyondcorp.SecurityGatewayHubArray{
				&beyondcorp.SecurityGatewayHubArgs{
					Region: pulumi.String("us-central1"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = beyondcorp.NewApplication(ctx, "example", &beyondcorp.ApplicationArgs{
			SecurityGatewaysId: _default.SecurityGatewayId,
			ApplicationId:      pulumi.String("google"),
			EndpointMatchers: beyondcorp.ApplicationEndpointMatcherArray{
				&beyondcorp.ApplicationEndpointMatcherArgs{
					Hostname: pulumi.String("google.com"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var @default = new Gcp.Beyondcorp.SecurityGateway("default", new()
    {
        SecurityGatewayId = "default",
        DisplayName = "My Security Gateway resource",
        Hubs = new[]
        {
            new Gcp.Beyondcorp.Inputs.SecurityGatewayHubArgs
            {
                Region = "us-central1",
            },
        },
    });

    var example = new Gcp.Beyondcorp.Application("example", new()
    {
        SecurityGatewaysId = @default.SecurityGatewayId,
        ApplicationId = "google",
        EndpointMatchers = new[]
        {
            new Gcp.Beyondcorp.Inputs.ApplicationEndpointMatcherArgs
            {
                Hostname = "google.com",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.beyondcorp.SecurityGateway;
import com.pulumi.gcp.beyondcorp.SecurityGatewayArgs;
import com.pulumi.gcp.beyondcorp.inputs.SecurityGatewayHubArgs;
import com.pulumi.gcp.beyondcorp.Application;
import com.pulumi.gcp.beyondcorp.ApplicationArgs;
import com.pulumi.gcp.beyondcorp.inputs.ApplicationEndpointMatcherArgs;
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 default_ = new SecurityGateway("default", SecurityGatewayArgs.builder()
            .securityGatewayId("default")
            .displayName("My Security Gateway resource")
            .hubs(SecurityGatewayHubArgs.builder()
                .region("us-central1")
                .build())
            .build());

        var example = new Application("example", ApplicationArgs.builder()
            .securityGatewaysId(default_.securityGatewayId())
            .applicationId("google")
            .endpointMatchers(ApplicationEndpointMatcherArgs.builder()
                .hostname("google.com")
                .build())
            .build());

    }
}
Copy
resources:
  default:
    type: gcp:beyondcorp:SecurityGateway
    properties:
      securityGatewayId: default
      displayName: My Security Gateway resource
      hubs:
        - region: us-central1
  example:
    type: gcp:beyondcorp:Application
    properties:
      securityGatewaysId: ${default.securityGatewayId}
      applicationId: google
      endpointMatchers:
        - hostname: google.com
Copy

Create Application Resource

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

Constructor syntax

new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);
@overload
def Application(resource_name: str,
                args: ApplicationArgs,
                opts: Optional[ResourceOptions] = None)

@overload
def Application(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                application_id: Optional[str] = None,
                endpoint_matchers: Optional[Sequence[ApplicationEndpointMatcherArgs]] = None,
                security_gateways_id: Optional[str] = None,
                display_name: Optional[str] = None,
                project: Optional[str] = None)
func NewApplication(ctx *Context, name string, args ApplicationArgs, opts ...ResourceOption) (*Application, error)
public Application(string name, ApplicationArgs args, CustomResourceOptions? opts = null)
public Application(String name, ApplicationArgs args)
public Application(String name, ApplicationArgs args, CustomResourceOptions options)
type: gcp:beyondcorp:Application
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ApplicationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ApplicationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ApplicationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ApplicationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ApplicationArgs
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 exampleapplicationResourceResourceFromBeyondcorpapplication = new Gcp.Beyondcorp.Application("exampleapplicationResourceResourceFromBeyondcorpapplication", new()
{
    ApplicationId = "string",
    EndpointMatchers = new[]
    {
        new Gcp.Beyondcorp.Inputs.ApplicationEndpointMatcherArgs
        {
            Hostname = "string",
            Ports = new[]
            {
                0,
            },
        },
    },
    SecurityGatewaysId = "string",
    DisplayName = "string",
    Project = "string",
});
Copy
example, err := beyondcorp.NewApplication(ctx, "exampleapplicationResourceResourceFromBeyondcorpapplication", &beyondcorp.ApplicationArgs{
	ApplicationId: pulumi.String("string"),
	EndpointMatchers: beyondcorp.ApplicationEndpointMatcherArray{
		&beyondcorp.ApplicationEndpointMatcherArgs{
			Hostname: pulumi.String("string"),
			Ports: pulumi.IntArray{
				pulumi.Int(0),
			},
		},
	},
	SecurityGatewaysId: pulumi.String("string"),
	DisplayName:        pulumi.String("string"),
	Project:            pulumi.String("string"),
})
Copy
var exampleapplicationResourceResourceFromBeyondcorpapplication = new Application("exampleapplicationResourceResourceFromBeyondcorpapplication", ApplicationArgs.builder()
    .applicationId("string")
    .endpointMatchers(ApplicationEndpointMatcherArgs.builder()
        .hostname("string")
        .ports(0)
        .build())
    .securityGatewaysId("string")
    .displayName("string")
    .project("string")
    .build());
Copy
exampleapplication_resource_resource_from_beyondcorpapplication = gcp.beyondcorp.Application("exampleapplicationResourceResourceFromBeyondcorpapplication",
    application_id="string",
    endpoint_matchers=[{
        "hostname": "string",
        "ports": [0],
    }],
    security_gateways_id="string",
    display_name="string",
    project="string")
Copy
const exampleapplicationResourceResourceFromBeyondcorpapplication = new gcp.beyondcorp.Application("exampleapplicationResourceResourceFromBeyondcorpapplication", {
    applicationId: "string",
    endpointMatchers: [{
        hostname: "string",
        ports: [0],
    }],
    securityGatewaysId: "string",
    displayName: "string",
    project: "string",
});
Copy
type: gcp:beyondcorp:Application
properties:
    applicationId: string
    displayName: string
    endpointMatchers:
        - hostname: string
          ports:
            - 0
    project: string
    securityGatewaysId: string
Copy

Application Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Application resource accepts the following input properties:

ApplicationId
This property is required.
Changes to this property will trigger replacement.
string
Optional. User-settable Application resource ID.

  • Must start with a letter.
  • Must contain between 4-63 characters from /a-z-/.
  • Must end with a number or letter.
EndpointMatchers This property is required. List<ApplicationEndpointMatcher>
Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint matcher is used to match the application. Match conditions for OR logic. An array of match conditions to allow for multiple matching criteria. The rule is considered a match if one the conditions are met. The conditions can be one of the following combination (Hostname), (Hostname & Ports) EXAMPLES: Hostname - ("*.abc.com"), ("xyz.abc.com") Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc Structure is documented below.
SecurityGatewaysId
This property is required.
Changes to this property will trigger replacement.
string
Part of parent. See documentation of projectsId.
DisplayName string
Optional. An arbitrary user-provided name for the Application resource. Cannot exceed 64 characters.
Project Changes to this property will trigger replacement. string
ApplicationId
This property is required.
Changes to this property will trigger replacement.
string
Optional. User-settable Application resource ID.

  • Must start with a letter.
  • Must contain between 4-63 characters from /a-z-/.
  • Must end with a number or letter.
EndpointMatchers This property is required. []ApplicationEndpointMatcherArgs
Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint matcher is used to match the application. Match conditions for OR logic. An array of match conditions to allow for multiple matching criteria. The rule is considered a match if one the conditions are met. The conditions can be one of the following combination (Hostname), (Hostname & Ports) EXAMPLES: Hostname - ("*.abc.com"), ("xyz.abc.com") Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc Structure is documented below.
SecurityGatewaysId
This property is required.
Changes to this property will trigger replacement.
string
Part of parent. See documentation of projectsId.
DisplayName string
Optional. An arbitrary user-provided name for the Application resource. Cannot exceed 64 characters.
Project Changes to this property will trigger replacement. string
applicationId
This property is required.
Changes to this property will trigger replacement.
String
Optional. User-settable Application resource ID.

  • Must start with a letter.
  • Must contain between 4-63 characters from /a-z-/.
  • Must end with a number or letter.
endpointMatchers This property is required. List<ApplicationEndpointMatcher>
Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint matcher is used to match the application. Match conditions for OR logic. An array of match conditions to allow for multiple matching criteria. The rule is considered a match if one the conditions are met. The conditions can be one of the following combination (Hostname), (Hostname & Ports) EXAMPLES: Hostname - ("*.abc.com"), ("xyz.abc.com") Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc Structure is documented below.
securityGatewaysId
This property is required.
Changes to this property will trigger replacement.
String
Part of parent. See documentation of projectsId.
displayName String
Optional. An arbitrary user-provided name for the Application resource. Cannot exceed 64 characters.
project Changes to this property will trigger replacement. String
applicationId
This property is required.
Changes to this property will trigger replacement.
string
Optional. User-settable Application resource ID.

  • Must start with a letter.
  • Must contain between 4-63 characters from /a-z-/.
  • Must end with a number or letter.
endpointMatchers This property is required. ApplicationEndpointMatcher[]
Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint matcher is used to match the application. Match conditions for OR logic. An array of match conditions to allow for multiple matching criteria. The rule is considered a match if one the conditions are met. The conditions can be one of the following combination (Hostname), (Hostname & Ports) EXAMPLES: Hostname - ("*.abc.com"), ("xyz.abc.com") Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc Structure is documented below.
securityGatewaysId
This property is required.
Changes to this property will trigger replacement.
string
Part of parent. See documentation of projectsId.
displayName string
Optional. An arbitrary user-provided name for the Application resource. Cannot exceed 64 characters.
project Changes to this property will trigger replacement. string
application_id
This property is required.
Changes to this property will trigger replacement.
str
Optional. User-settable Application resource ID.

  • Must start with a letter.
  • Must contain between 4-63 characters from /a-z-/.
  • Must end with a number or letter.
endpoint_matchers This property is required. Sequence[ApplicationEndpointMatcherArgs]
Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint matcher is used to match the application. Match conditions for OR logic. An array of match conditions to allow for multiple matching criteria. The rule is considered a match if one the conditions are met. The conditions can be one of the following combination (Hostname), (Hostname & Ports) EXAMPLES: Hostname - ("*.abc.com"), ("xyz.abc.com") Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc Structure is documented below.
security_gateways_id
This property is required.
Changes to this property will trigger replacement.
str
Part of parent. See documentation of projectsId.
display_name str
Optional. An arbitrary user-provided name for the Application resource. Cannot exceed 64 characters.
project Changes to this property will trigger replacement. str
applicationId
This property is required.
Changes to this property will trigger replacement.
String
Optional. User-settable Application resource ID.

  • Must start with a letter.
  • Must contain between 4-63 characters from /a-z-/.
  • Must end with a number or letter.
endpointMatchers This property is required. List<Property Map>
Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint matcher is used to match the application. Match conditions for OR logic. An array of match conditions to allow for multiple matching criteria. The rule is considered a match if one the conditions are met. The conditions can be one of the following combination (Hostname), (Hostname & Ports) EXAMPLES: Hostname - ("*.abc.com"), ("xyz.abc.com") Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc Structure is documented below.
securityGatewaysId
This property is required.
Changes to this property will trigger replacement.
String
Part of parent. See documentation of projectsId.
displayName String
Optional. An arbitrary user-provided name for the Application resource. Cannot exceed 64 characters.
project Changes to this property will trigger replacement. String

Outputs

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

CreateTime string
Output only. Timestamp when the resource was created.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Identifier. Name of the resource.
UpdateTime string
Output only. Timestamp when the resource was last modified.
CreateTime string
Output only. Timestamp when the resource was created.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Identifier. Name of the resource.
UpdateTime string
Output only. Timestamp when the resource was last modified.
createTime String
Output only. Timestamp when the resource was created.
id String
The provider-assigned unique ID for this managed resource.
name String
Identifier. Name of the resource.
updateTime String
Output only. Timestamp when the resource was last modified.
createTime string
Output only. Timestamp when the resource was created.
id string
The provider-assigned unique ID for this managed resource.
name string
Identifier. Name of the resource.
updateTime string
Output only. Timestamp when the resource was last modified.
create_time str
Output only. Timestamp when the resource was created.
id str
The provider-assigned unique ID for this managed resource.
name str
Identifier. Name of the resource.
update_time str
Output only. Timestamp when the resource was last modified.
createTime String
Output only. Timestamp when the resource was created.
id String
The provider-assigned unique ID for this managed resource.
name String
Identifier. Name of the resource.
updateTime String
Output only. Timestamp when the resource was last modified.

Look up Existing Application Resource

Get an existing Application 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?: ApplicationState, opts?: CustomResourceOptions): Application
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        application_id: Optional[str] = None,
        create_time: Optional[str] = None,
        display_name: Optional[str] = None,
        endpoint_matchers: Optional[Sequence[ApplicationEndpointMatcherArgs]] = None,
        name: Optional[str] = None,
        project: Optional[str] = None,
        security_gateways_id: Optional[str] = None,
        update_time: Optional[str] = None) -> Application
func GetApplication(ctx *Context, name string, id IDInput, state *ApplicationState, opts ...ResourceOption) (*Application, error)
public static Application Get(string name, Input<string> id, ApplicationState? state, CustomResourceOptions? opts = null)
public static Application get(String name, Output<String> id, ApplicationState state, CustomResourceOptions options)
resources:  _:    type: gcp:beyondcorp:Application    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
ApplicationId Changes to this property will trigger replacement. string
Optional. User-settable Application resource ID.

  • Must start with a letter.
  • Must contain between 4-63 characters from /a-z-/.
  • Must end with a number or letter.
CreateTime string
Output only. Timestamp when the resource was created.
DisplayName string
Optional. An arbitrary user-provided name for the Application resource. Cannot exceed 64 characters.
EndpointMatchers List<ApplicationEndpointMatcher>
Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint matcher is used to match the application. Match conditions for OR logic. An array of match conditions to allow for multiple matching criteria. The rule is considered a match if one the conditions are met. The conditions can be one of the following combination (Hostname), (Hostname & Ports) EXAMPLES: Hostname - ("*.abc.com"), ("xyz.abc.com") Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc Structure is documented below.
Name string
Identifier. Name of the resource.
Project Changes to this property will trigger replacement. string
SecurityGatewaysId Changes to this property will trigger replacement. string
Part of parent. See documentation of projectsId.
UpdateTime string
Output only. Timestamp when the resource was last modified.
ApplicationId Changes to this property will trigger replacement. string
Optional. User-settable Application resource ID.

  • Must start with a letter.
  • Must contain between 4-63 characters from /a-z-/.
  • Must end with a number or letter.
CreateTime string
Output only. Timestamp when the resource was created.
DisplayName string
Optional. An arbitrary user-provided name for the Application resource. Cannot exceed 64 characters.
EndpointMatchers []ApplicationEndpointMatcherArgs
Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint matcher is used to match the application. Match conditions for OR logic. An array of match conditions to allow for multiple matching criteria. The rule is considered a match if one the conditions are met. The conditions can be one of the following combination (Hostname), (Hostname & Ports) EXAMPLES: Hostname - ("*.abc.com"), ("xyz.abc.com") Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc Structure is documented below.
Name string
Identifier. Name of the resource.
Project Changes to this property will trigger replacement. string
SecurityGatewaysId Changes to this property will trigger replacement. string
Part of parent. See documentation of projectsId.
UpdateTime string
Output only. Timestamp when the resource was last modified.
applicationId Changes to this property will trigger replacement. String
Optional. User-settable Application resource ID.

  • Must start with a letter.
  • Must contain between 4-63 characters from /a-z-/.
  • Must end with a number or letter.
createTime String
Output only. Timestamp when the resource was created.
displayName String
Optional. An arbitrary user-provided name for the Application resource. Cannot exceed 64 characters.
endpointMatchers List<ApplicationEndpointMatcher>
Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint matcher is used to match the application. Match conditions for OR logic. An array of match conditions to allow for multiple matching criteria. The rule is considered a match if one the conditions are met. The conditions can be one of the following combination (Hostname), (Hostname & Ports) EXAMPLES: Hostname - ("*.abc.com"), ("xyz.abc.com") Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc Structure is documented below.
name String
Identifier. Name of the resource.
project Changes to this property will trigger replacement. String
securityGatewaysId Changes to this property will trigger replacement. String
Part of parent. See documentation of projectsId.
updateTime String
Output only. Timestamp when the resource was last modified.
applicationId Changes to this property will trigger replacement. string
Optional. User-settable Application resource ID.

  • Must start with a letter.
  • Must contain between 4-63 characters from /a-z-/.
  • Must end with a number or letter.
createTime string
Output only. Timestamp when the resource was created.
displayName string
Optional. An arbitrary user-provided name for the Application resource. Cannot exceed 64 characters.
endpointMatchers ApplicationEndpointMatcher[]
Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint matcher is used to match the application. Match conditions for OR logic. An array of match conditions to allow for multiple matching criteria. The rule is considered a match if one the conditions are met. The conditions can be one of the following combination (Hostname), (Hostname & Ports) EXAMPLES: Hostname - ("*.abc.com"), ("xyz.abc.com") Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc Structure is documented below.
name string
Identifier. Name of the resource.
project Changes to this property will trigger replacement. string
securityGatewaysId Changes to this property will trigger replacement. string
Part of parent. See documentation of projectsId.
updateTime string
Output only. Timestamp when the resource was last modified.
application_id Changes to this property will trigger replacement. str
Optional. User-settable Application resource ID.

  • Must start with a letter.
  • Must contain between 4-63 characters from /a-z-/.
  • Must end with a number or letter.
create_time str
Output only. Timestamp when the resource was created.
display_name str
Optional. An arbitrary user-provided name for the Application resource. Cannot exceed 64 characters.
endpoint_matchers Sequence[ApplicationEndpointMatcherArgs]
Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint matcher is used to match the application. Match conditions for OR logic. An array of match conditions to allow for multiple matching criteria. The rule is considered a match if one the conditions are met. The conditions can be one of the following combination (Hostname), (Hostname & Ports) EXAMPLES: Hostname - ("*.abc.com"), ("xyz.abc.com") Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc Structure is documented below.
name str
Identifier. Name of the resource.
project Changes to this property will trigger replacement. str
security_gateways_id Changes to this property will trigger replacement. str
Part of parent. See documentation of projectsId.
update_time str
Output only. Timestamp when the resource was last modified.
applicationId Changes to this property will trigger replacement. String
Optional. User-settable Application resource ID.

  • Must start with a letter.
  • Must contain between 4-63 characters from /a-z-/.
  • Must end with a number or letter.
createTime String
Output only. Timestamp when the resource was created.
displayName String
Optional. An arbitrary user-provided name for the Application resource. Cannot exceed 64 characters.
endpointMatchers List<Property Map>
Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint matcher is used to match the application. Match conditions for OR logic. An array of match conditions to allow for multiple matching criteria. The rule is considered a match if one the conditions are met. The conditions can be one of the following combination (Hostname), (Hostname & Ports) EXAMPLES: Hostname - ("*.abc.com"), ("xyz.abc.com") Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc Structure is documented below.
name String
Identifier. Name of the resource.
project Changes to this property will trigger replacement. String
securityGatewaysId Changes to this property will trigger replacement. String
Part of parent. See documentation of projectsId.
updateTime String
Output only. Timestamp when the resource was last modified.

Supporting Types

ApplicationEndpointMatcher
, ApplicationEndpointMatcherArgs

Hostname This property is required. string
Required. Hostname of the application.
Ports List<int>
Optional. Ports of the application.


Hostname This property is required. string
Required. Hostname of the application.
Ports []int
Optional. Ports of the application.


hostname This property is required. String
Required. Hostname of the application.
ports List<Integer>
Optional. Ports of the application.


hostname This property is required. string
Required. Hostname of the application.
ports number[]
Optional. Ports of the application.


hostname This property is required. str
Required. Hostname of the application.
ports Sequence[int]
Optional. Ports of the application.


hostname This property is required. String
Required. Hostname of the application.
ports List<Number>
Optional. Ports of the application.


Import

Application can be imported using any of these accepted formats:

  • projects/{{project}}/locations/global/securityGateways/{{security_gateways_id}}/applications/{{application_id}}

  • {{project}}/{{security_gateways_id}}/{{application_id}}

  • {{security_gateways_id}}/{{application_id}}

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

$ pulumi import gcp:beyondcorp/application:Application default projects/{{project}}/locations/global/securityGateways/{{security_gateways_id}}/applications/{{application_id}}
Copy
$ pulumi import gcp:beyondcorp/application:Application default {{project}}/{{security_gateways_id}}/{{application_id}}
Copy
$ pulumi import gcp:beyondcorp/application:Application default {{security_gateways_id}}/{{application_id}}
Copy

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.