gcp.beyondcorp.SecurityGateway
Deployment of Security Gateway.
Example Usage
Beyondcorp Security Gateway Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const example = new gcp.beyondcorp.SecurityGateway("example", {
securityGatewayId: "default",
displayName: "My Security Gateway resource",
hubs: [{
region: "us-central1",
}],
});
import pulumi
import pulumi_gcp as gcp
example = gcp.beyondcorp.SecurityGateway("example",
security_gateway_id="default",
display_name="My Security Gateway resource",
hubs=[{
"region": "us-central1",
}])
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/beyondcorp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := beyondcorp.NewSecurityGateway(ctx, "example", &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
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var example = new Gcp.Beyondcorp.SecurityGateway("example", new()
{
SecurityGatewayId = "default",
DisplayName = "My Security Gateway resource",
Hubs = new[]
{
new Gcp.Beyondcorp.Inputs.SecurityGatewayHubArgs
{
Region = "us-central1",
},
},
});
});
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 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 example = new SecurityGateway("example", SecurityGatewayArgs.builder()
.securityGatewayId("default")
.displayName("My Security Gateway resource")
.hubs(SecurityGatewayHubArgs.builder()
.region("us-central1")
.build())
.build());
}
}
resources:
example:
type: gcp:beyondcorp:SecurityGateway
properties:
securityGatewayId: default
displayName: My Security Gateway resource
hubs:
- region: us-central1
Beyondcorp Security Gateway Spa
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const example_spa = new gcp.beyondcorp.SecurityGateway("example-spa", {
securityGatewayId: "default-spa",
displayName: "My SPA Security Gateway resource",
proxyProtocolConfig: {
allowedClientHeaders: [
"header1",
"header2",
],
contextualHeaders: {
userInfo: {
outputType: "PROTOBUF",
},
groupInfo: {
outputType: "JSON",
},
deviceInfo: {
outputType: "NONE",
},
outputType: "NONE",
},
metadataHeaders: {
"metadata-header1": "value1",
"metadata-header2": "value2",
},
gatewayIdentity: "RESOURCE_NAME",
clientIp: true,
},
serviceDiscovery: {
apiGateway: {
resourceOverride: {
path: "/api/v1/routes",
},
},
},
});
import pulumi
import pulumi_gcp as gcp
example_spa = gcp.beyondcorp.SecurityGateway("example-spa",
security_gateway_id="default-spa",
display_name="My SPA Security Gateway resource",
proxy_protocol_config={
"allowed_client_headers": [
"header1",
"header2",
],
"contextual_headers": {
"user_info": {
"output_type": "PROTOBUF",
},
"group_info": {
"output_type": "JSON",
},
"device_info": {
"output_type": "NONE",
},
"output_type": "NONE",
},
"metadata_headers": {
"metadata-header1": "value1",
"metadata-header2": "value2",
},
"gateway_identity": "RESOURCE_NAME",
"client_ip": True,
},
service_discovery={
"api_gateway": {
"resource_override": {
"path": "/api/v1/routes",
},
},
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/beyondcorp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := beyondcorp.NewSecurityGateway(ctx, "example-spa", &beyondcorp.SecurityGatewayArgs{
SecurityGatewayId: pulumi.String("default-spa"),
DisplayName: pulumi.String("My SPA Security Gateway resource"),
ProxyProtocolConfig: &beyondcorp.SecurityGatewayProxyProtocolConfigArgs{
AllowedClientHeaders: pulumi.StringArray{
pulumi.String("header1"),
pulumi.String("header2"),
},
ContextualHeaders: &beyondcorp.SecurityGatewayProxyProtocolConfigContextualHeadersArgs{
UserInfo: &beyondcorp.SecurityGatewayProxyProtocolConfigContextualHeadersUserInfoArgs{
OutputType: pulumi.String("PROTOBUF"),
},
GroupInfo: &beyondcorp.SecurityGatewayProxyProtocolConfigContextualHeadersGroupInfoArgs{
OutputType: pulumi.String("JSON"),
},
DeviceInfo: &beyondcorp.SecurityGatewayProxyProtocolConfigContextualHeadersDeviceInfoArgs{
OutputType: pulumi.String("NONE"),
},
OutputType: pulumi.String("NONE"),
},
MetadataHeaders: pulumi.StringMap{
"metadata-header1": pulumi.String("value1"),
"metadata-header2": pulumi.String("value2"),
},
GatewayIdentity: pulumi.String("RESOURCE_NAME"),
ClientIp: pulumi.Bool(true),
},
ServiceDiscovery: &beyondcorp.SecurityGatewayServiceDiscoveryArgs{
ApiGateway: &beyondcorp.SecurityGatewayServiceDiscoveryApiGatewayArgs{
ResourceOverride: &beyondcorp.SecurityGatewayServiceDiscoveryApiGatewayResourceOverrideArgs{
Path: pulumi.String("/api/v1/routes"),
},
},
},
})
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 example_spa = new Gcp.Beyondcorp.SecurityGateway("example-spa", new()
{
SecurityGatewayId = "default-spa",
DisplayName = "My SPA Security Gateway resource",
ProxyProtocolConfig = new Gcp.Beyondcorp.Inputs.SecurityGatewayProxyProtocolConfigArgs
{
AllowedClientHeaders = new[]
{
"header1",
"header2",
},
ContextualHeaders = new Gcp.Beyondcorp.Inputs.SecurityGatewayProxyProtocolConfigContextualHeadersArgs
{
UserInfo = new Gcp.Beyondcorp.Inputs.SecurityGatewayProxyProtocolConfigContextualHeadersUserInfoArgs
{
OutputType = "PROTOBUF",
},
GroupInfo = new Gcp.Beyondcorp.Inputs.SecurityGatewayProxyProtocolConfigContextualHeadersGroupInfoArgs
{
OutputType = "JSON",
},
DeviceInfo = new Gcp.Beyondcorp.Inputs.SecurityGatewayProxyProtocolConfigContextualHeadersDeviceInfoArgs
{
OutputType = "NONE",
},
OutputType = "NONE",
},
MetadataHeaders =
{
{ "metadata-header1", "value1" },
{ "metadata-header2", "value2" },
},
GatewayIdentity = "RESOURCE_NAME",
ClientIp = true,
},
ServiceDiscovery = new Gcp.Beyondcorp.Inputs.SecurityGatewayServiceDiscoveryArgs
{
ApiGateway = new Gcp.Beyondcorp.Inputs.SecurityGatewayServiceDiscoveryApiGatewayArgs
{
ResourceOverride = new Gcp.Beyondcorp.Inputs.SecurityGatewayServiceDiscoveryApiGatewayResourceOverrideArgs
{
Path = "/api/v1/routes",
},
},
},
});
});
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.SecurityGatewayProxyProtocolConfigArgs;
import com.pulumi.gcp.beyondcorp.inputs.SecurityGatewayProxyProtocolConfigContextualHeadersArgs;
import com.pulumi.gcp.beyondcorp.inputs.SecurityGatewayProxyProtocolConfigContextualHeadersUserInfoArgs;
import com.pulumi.gcp.beyondcorp.inputs.SecurityGatewayProxyProtocolConfigContextualHeadersGroupInfoArgs;
import com.pulumi.gcp.beyondcorp.inputs.SecurityGatewayProxyProtocolConfigContextualHeadersDeviceInfoArgs;
import com.pulumi.gcp.beyondcorp.inputs.SecurityGatewayServiceDiscoveryArgs;
import com.pulumi.gcp.beyondcorp.inputs.SecurityGatewayServiceDiscoveryApiGatewayArgs;
import com.pulumi.gcp.beyondcorp.inputs.SecurityGatewayServiceDiscoveryApiGatewayResourceOverrideArgs;
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 example_spa = new SecurityGateway("example-spa", SecurityGatewayArgs.builder()
.securityGatewayId("default-spa")
.displayName("My SPA Security Gateway resource")
.proxyProtocolConfig(SecurityGatewayProxyProtocolConfigArgs.builder()
.allowedClientHeaders(
"header1",
"header2")
.contextualHeaders(SecurityGatewayProxyProtocolConfigContextualHeadersArgs.builder()
.userInfo(SecurityGatewayProxyProtocolConfigContextualHeadersUserInfoArgs.builder()
.outputType("PROTOBUF")
.build())
.groupInfo(SecurityGatewayProxyProtocolConfigContextualHeadersGroupInfoArgs.builder()
.outputType("JSON")
.build())
.deviceInfo(SecurityGatewayProxyProtocolConfigContextualHeadersDeviceInfoArgs.builder()
.outputType("NONE")
.build())
.outputType("NONE")
.build())
.metadataHeaders(Map.ofEntries(
Map.entry("metadata-header1", "value1"),
Map.entry("metadata-header2", "value2")
))
.gatewayIdentity("RESOURCE_NAME")
.clientIp(true)
.build())
.serviceDiscovery(SecurityGatewayServiceDiscoveryArgs.builder()
.apiGateway(SecurityGatewayServiceDiscoveryApiGatewayArgs.builder()
.resourceOverride(SecurityGatewayServiceDiscoveryApiGatewayResourceOverrideArgs.builder()
.path("/api/v1/routes")
.build())
.build())
.build())
.build());
}
}
resources:
example-spa:
type: gcp:beyondcorp:SecurityGateway
properties:
securityGatewayId: default-spa
displayName: My SPA Security Gateway resource
proxyProtocolConfig:
allowedClientHeaders:
- header1
- header2
contextualHeaders:
userInfo:
outputType: PROTOBUF
groupInfo:
outputType: JSON
deviceInfo:
outputType: NONE
outputType: NONE
metadataHeaders:
metadata-header1: value1
metadata-header2: value2
gatewayIdentity: RESOURCE_NAME
clientIp: true
serviceDiscovery:
apiGateway:
resourceOverride:
path: /api/v1/routes
Create SecurityGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecurityGateway(name: string, args: SecurityGatewayArgs, opts?: CustomResourceOptions);@overload
def SecurityGateway(resource_name: str,
args: SecurityGatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecurityGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
security_gateway_id: Optional[str] = None,
display_name: Optional[str] = None,
hubs: Optional[Sequence[SecurityGatewayHubArgs]] = None,
location: Optional[str] = None,
project: Optional[str] = None,
proxy_protocol_config: Optional[SecurityGatewayProxyProtocolConfigArgs] = None,
service_discovery: Optional[SecurityGatewayServiceDiscoveryArgs] = None)func NewSecurityGateway(ctx *Context, name string, args SecurityGatewayArgs, opts ...ResourceOption) (*SecurityGateway, error)public SecurityGateway(string name, SecurityGatewayArgs args, CustomResourceOptions? opts = null)
public SecurityGateway(String name, SecurityGatewayArgs args)
public SecurityGateway(String name, SecurityGatewayArgs args, CustomResourceOptions options)
type: gcp:beyondcorp:SecurityGateway
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 SecurityGatewayArgs
- 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 SecurityGatewayArgs
- 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 SecurityGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecurityGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecurityGatewayArgs
- 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 securityGatewayResource = new Gcp.Beyondcorp.SecurityGateway("securityGatewayResource", new()
{
SecurityGatewayId = "string",
DisplayName = "string",
Hubs = new[]
{
new Gcp.Beyondcorp.Inputs.SecurityGatewayHubArgs
{
Region = "string",
InternetGateway = new Gcp.Beyondcorp.Inputs.SecurityGatewayHubInternetGatewayArgs
{
AssignedIps = new[]
{
"string",
},
},
},
},
Project = "string",
ProxyProtocolConfig = new Gcp.Beyondcorp.Inputs.SecurityGatewayProxyProtocolConfigArgs
{
AllowedClientHeaders = new[]
{
"string",
},
ClientIp = false,
ContextualHeaders = new Gcp.Beyondcorp.Inputs.SecurityGatewayProxyProtocolConfigContextualHeadersArgs
{
DeviceInfo = new Gcp.Beyondcorp.Inputs.SecurityGatewayProxyProtocolConfigContextualHeadersDeviceInfoArgs
{
OutputType = "string",
},
GroupInfo = new Gcp.Beyondcorp.Inputs.SecurityGatewayProxyProtocolConfigContextualHeadersGroupInfoArgs
{
OutputType = "string",
},
OutputType = "string",
UserInfo = new Gcp.Beyondcorp.Inputs.SecurityGatewayProxyProtocolConfigContextualHeadersUserInfoArgs
{
OutputType = "string",
},
},
GatewayIdentity = "string",
MetadataHeaders =
{
{ "string", "string" },
},
},
ServiceDiscovery = new Gcp.Beyondcorp.Inputs.SecurityGatewayServiceDiscoveryArgs
{
ApiGateway = new Gcp.Beyondcorp.Inputs.SecurityGatewayServiceDiscoveryApiGatewayArgs
{
ResourceOverride = new Gcp.Beyondcorp.Inputs.SecurityGatewayServiceDiscoveryApiGatewayResourceOverrideArgs
{
Path = "string",
},
},
},
});
example, err := beyondcorp.NewSecurityGateway(ctx, "securityGatewayResource", &beyondcorp.SecurityGatewayArgs{
SecurityGatewayId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Hubs: beyondcorp.SecurityGatewayHubArray{
&beyondcorp.SecurityGatewayHubArgs{
Region: pulumi.String("string"),
InternetGateway: &beyondcorp.SecurityGatewayHubInternetGatewayArgs{
AssignedIps: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
Project: pulumi.String("string"),
ProxyProtocolConfig: &beyondcorp.SecurityGatewayProxyProtocolConfigArgs{
AllowedClientHeaders: pulumi.StringArray{
pulumi.String("string"),
},
ClientIp: pulumi.Bool(false),
ContextualHeaders: &beyondcorp.SecurityGatewayProxyProtocolConfigContextualHeadersArgs{
DeviceInfo: &beyondcorp.SecurityGatewayProxyProtocolConfigContextualHeadersDeviceInfoArgs{
OutputType: pulumi.String("string"),
},
GroupInfo: &beyondcorp.SecurityGatewayProxyProtocolConfigContextualHeadersGroupInfoArgs{
OutputType: pulumi.String("string"),
},
OutputType: pulumi.String("string"),
UserInfo: &beyondcorp.SecurityGatewayProxyProtocolConfigContextualHeadersUserInfoArgs{
OutputType: pulumi.String("string"),
},
},
GatewayIdentity: pulumi.String("string"),
MetadataHeaders: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
ServiceDiscovery: &beyondcorp.SecurityGatewayServiceDiscoveryArgs{
ApiGateway: &beyondcorp.SecurityGatewayServiceDiscoveryApiGatewayArgs{
ResourceOverride: &beyondcorp.SecurityGatewayServiceDiscoveryApiGatewayResourceOverrideArgs{
Path: pulumi.String("string"),
},
},
},
})
var securityGatewayResource = new SecurityGateway("securityGatewayResource", SecurityGatewayArgs.builder()
.securityGatewayId("string")
.displayName("string")
.hubs(SecurityGatewayHubArgs.builder()
.region("string")
.internetGateway(SecurityGatewayHubInternetGatewayArgs.builder()
.assignedIps("string")
.build())
.build())
.project("string")
.proxyProtocolConfig(SecurityGatewayProxyProtocolConfigArgs.builder()
.allowedClientHeaders("string")
.clientIp(false)
.contextualHeaders(SecurityGatewayProxyProtocolConfigContextualHeadersArgs.builder()
.deviceInfo(SecurityGatewayProxyProtocolConfigContextualHeadersDeviceInfoArgs.builder()
.outputType("string")
.build())
.groupInfo(SecurityGatewayProxyProtocolConfigContextualHeadersGroupInfoArgs.builder()
.outputType("string")
.build())
.outputType("string")
.userInfo(SecurityGatewayProxyProtocolConfigContextualHeadersUserInfoArgs.builder()
.outputType("string")
.build())
.build())
.gatewayIdentity("string")
.metadataHeaders(Map.of("string", "string"))
.build())
.serviceDiscovery(SecurityGatewayServiceDiscoveryArgs.builder()
.apiGateway(SecurityGatewayServiceDiscoveryApiGatewayArgs.builder()
.resourceOverride(SecurityGatewayServiceDiscoveryApiGatewayResourceOverrideArgs.builder()
.path("string")
.build())
.build())
.build())
.build());
security_gateway_resource = gcp.beyondcorp.SecurityGateway("securityGatewayResource",
security_gateway_id="string",
display_name="string",
hubs=[{
"region": "string",
"internet_gateway": {
"assigned_ips": ["string"],
},
}],
project="string",
proxy_protocol_config={
"allowed_client_headers": ["string"],
"client_ip": False,
"contextual_headers": {
"device_info": {
"output_type": "string",
},
"group_info": {
"output_type": "string",
},
"output_type": "string",
"user_info": {
"output_type": "string",
},
},
"gateway_identity": "string",
"metadata_headers": {
"string": "string",
},
},
service_discovery={
"api_gateway": {
"resource_override": {
"path": "string",
},
},
})
const securityGatewayResource = new gcp.beyondcorp.SecurityGateway("securityGatewayResource", {
securityGatewayId: "string",
displayName: "string",
hubs: [{
region: "string",
internetGateway: {
assignedIps: ["string"],
},
}],
project: "string",
proxyProtocolConfig: {
allowedClientHeaders: ["string"],
clientIp: false,
contextualHeaders: {
deviceInfo: {
outputType: "string",
},
groupInfo: {
outputType: "string",
},
outputType: "string",
userInfo: {
outputType: "string",
},
},
gatewayIdentity: "string",
metadataHeaders: {
string: "string",
},
},
serviceDiscovery: {
apiGateway: {
resourceOverride: {
path: "string",
},
},
},
});
type: gcp:beyondcorp:SecurityGateway
properties:
displayName: string
hubs:
- internetGateway:
assignedIps:
- string
region: string
project: string
proxyProtocolConfig:
allowedClientHeaders:
- string
clientIp: false
contextualHeaders:
deviceInfo:
outputType: string
groupInfo:
outputType: string
outputType: string
userInfo:
outputType: string
gatewayIdentity: string
metadataHeaders:
string: string
securityGatewayId: string
serviceDiscovery:
apiGateway:
resourceOverride:
path: string
SecurityGateway 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 SecurityGateway resource accepts the following input properties:
- Security
Gateway stringId - Optional. User-settable SecurityGateway resource ID.
- Must start with a letter.
- Must contain between 4-63 characters from
/a-z-/. - Must end with a number or letter.
- Display
Name string - Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.
- Hubs
List<Security
Gateway Hub> - Optional. Map of Hubs that represents regional data path deployment with GCP region as a key. Structure is documented below.
- Location string
(Optional, Deprecated) Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. Must be omitted or set toglobal.Warning:
locationis deprecated and will be removed in a future major release.- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Proxy
Protocol SecurityConfig Gateway Proxy Protocol Config - Shared proxy configuration for all apps. Structure is documented below.
- Service
Discovery SecurityGateway Service Discovery - Settings related to the Service Discovery. Structure is documented below.
- Security
Gateway stringId - Optional. User-settable SecurityGateway resource ID.
- Must start with a letter.
- Must contain between 4-63 characters from
/a-z-/. - Must end with a number or letter.
- Display
Name string - Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.
- Hubs
[]Security
Gateway Hub Args - Optional. Map of Hubs that represents regional data path deployment with GCP region as a key. Structure is documented below.
- Location string
(Optional, Deprecated) Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. Must be omitted or set toglobal.Warning:
locationis deprecated and will be removed in a future major release.- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Proxy
Protocol SecurityConfig Gateway Proxy Protocol Config Args - Shared proxy configuration for all apps. Structure is documented below.
- Service
Discovery SecurityGateway Service Discovery Args - Settings related to the Service Discovery. Structure is documented below.
- security
Gateway StringId - Optional. User-settable SecurityGateway resource ID.
- Must start with a letter.
- Must contain between 4-63 characters from
/a-z-/. - Must end with a number or letter.
- display
Name String - Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.
- hubs
List<Security
Gateway Hub> - Optional. Map of Hubs that represents regional data path deployment with GCP region as a key. Structure is documented below.
- location String
(Optional, Deprecated) Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. Must be omitted or set toglobal.Warning:
locationis deprecated and will be removed in a future major release.- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- proxy
Protocol SecurityConfig Gateway Proxy Protocol Config - Shared proxy configuration for all apps. Structure is documented below.
- service
Discovery SecurityGateway Service Discovery - Settings related to the Service Discovery. Structure is documented below.
- security
Gateway stringId - Optional. User-settable SecurityGateway resource ID.
- Must start with a letter.
- Must contain between 4-63 characters from
/a-z-/. - Must end with a number or letter.
- display
Name string - Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.
- hubs
Security
Gateway Hub[] - Optional. Map of Hubs that represents regional data path deployment with GCP region as a key. Structure is documented below.
- location string
(Optional, Deprecated) Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. Must be omitted or set toglobal.Warning:
locationis deprecated and will be removed in a future major release.- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- proxy
Protocol SecurityConfig Gateway Proxy Protocol Config - Shared proxy configuration for all apps. Structure is documented below.
- service
Discovery SecurityGateway Service Discovery - Settings related to the Service Discovery. Structure is documented below.
- security_
gateway_ strid - Optional. User-settable SecurityGateway resource ID.
- Must start with a letter.
- Must contain between 4-63 characters from
/a-z-/. - Must end with a number or letter.
- display_
name str - Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.
- hubs
Sequence[Security
Gateway Hub Args] - Optional. Map of Hubs that represents regional data path deployment with GCP region as a key. Structure is documented below.
- location str
(Optional, Deprecated) Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. Must be omitted or set toglobal.Warning:
locationis deprecated and will be removed in a future major release.- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- proxy_
protocol_ Securityconfig Gateway Proxy Protocol Config Args - Shared proxy configuration for all apps. Structure is documented below.
- service_
discovery SecurityGateway Service Discovery Args - Settings related to the Service Discovery. Structure is documented below.
- security
Gateway StringId - Optional. User-settable SecurityGateway resource ID.
- Must start with a letter.
- Must contain between 4-63 characters from
/a-z-/. - Must end with a number or letter.
- display
Name String - Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.
- hubs List<Property Map>
- Optional. Map of Hubs that represents regional data path deployment with GCP region as a key. Structure is documented below.
- location String
(Optional, Deprecated) Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. Must be omitted or set toglobal.Warning:
locationis deprecated and will be removed in a future major release.- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- proxy
Protocol Property MapConfig - Shared proxy configuration for all apps. Structure is documented below.
- service
Discovery Property Map - Settings related to the Service Discovery. Structure is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the SecurityGateway resource produces the following output properties:
- Create
Time string - Output only. Timestamp when the resource was created.
- Delegating
Service stringAccount - Service account used for operations that involve resources in consumer projects.
- External
Ips List<string> - Output only. IP addresses that will be used for establishing connection to the endpoints.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. Name of the resource.
- State string
- Output only. The operational state of the SecurityGateway. Possible values: STATE_UNSPECIFIED CREATING UPDATING DELETING RUNNING DOWN ERROR
- Update
Time string - Output only. Timestamp when the resource was last modified.
- Create
Time string - Output only. Timestamp when the resource was created.
- Delegating
Service stringAccount - Service account used for operations that involve resources in consumer projects.
- External
Ips []string - Output only. IP addresses that will be used for establishing connection to the endpoints.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. Name of the resource.
- State string
- Output only. The operational state of the SecurityGateway. Possible values: STATE_UNSPECIFIED CREATING UPDATING DELETING RUNNING DOWN ERROR
- Update
Time string - Output only. Timestamp when the resource was last modified.
- create
Time String - Output only. Timestamp when the resource was created.
- delegating
Service StringAccount - Service account used for operations that involve resources in consumer projects.
- external
Ips List<String> - Output only. IP addresses that will be used for establishing connection to the endpoints.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. Name of the resource.
- state String
- Output only. The operational state of the SecurityGateway. Possible values: STATE_UNSPECIFIED CREATING UPDATING DELETING RUNNING DOWN ERROR
- update
Time String - Output only. Timestamp when the resource was last modified.
- create
Time string - Output only. Timestamp when the resource was created.
- delegating
Service stringAccount - Service account used for operations that involve resources in consumer projects.
- external
Ips string[] - Output only. IP addresses that will be used for establishing connection to the endpoints.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Identifier. Name of the resource.
- state string
- Output only. The operational state of the SecurityGateway. Possible values: STATE_UNSPECIFIED CREATING UPDATING DELETING RUNNING DOWN ERROR
- update
Time string - Output only. Timestamp when the resource was last modified.
- create_
time str - Output only. Timestamp when the resource was created.
- delegating_
service_ straccount - Service account used for operations that involve resources in consumer projects.
- external_
ips Sequence[str] - Output only. IP addresses that will be used for establishing connection to the endpoints.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Identifier. Name of the resource.
- state str
- Output only. The operational state of the SecurityGateway. Possible values: STATE_UNSPECIFIED CREATING UPDATING DELETING RUNNING DOWN ERROR
- update_
time str - Output only. Timestamp when the resource was last modified.
- create
Time String - Output only. Timestamp when the resource was created.
- delegating
Service StringAccount - Service account used for operations that involve resources in consumer projects.
- external
Ips List<String> - Output only. IP addresses that will be used for establishing connection to the endpoints.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. Name of the resource.
- state String
- Output only. The operational state of the SecurityGateway. Possible values: STATE_UNSPECIFIED CREATING UPDATING DELETING RUNNING DOWN ERROR
- update
Time String - Output only. Timestamp when the resource was last modified.
Look up Existing SecurityGateway Resource
Get an existing SecurityGateway 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?: SecurityGatewayState, opts?: CustomResourceOptions): SecurityGateway@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
delegating_service_account: Optional[str] = None,
display_name: Optional[str] = None,
external_ips: Optional[Sequence[str]] = None,
hubs: Optional[Sequence[SecurityGatewayHubArgs]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
proxy_protocol_config: Optional[SecurityGatewayProxyProtocolConfigArgs] = None,
security_gateway_id: Optional[str] = None,
service_discovery: Optional[SecurityGatewayServiceDiscoveryArgs] = None,
state: Optional[str] = None,
update_time: Optional[str] = None) -> SecurityGatewayfunc GetSecurityGateway(ctx *Context, name string, id IDInput, state *SecurityGatewayState, opts ...ResourceOption) (*SecurityGateway, error)public static SecurityGateway Get(string name, Input<string> id, SecurityGatewayState? state, CustomResourceOptions? opts = null)public static SecurityGateway get(String name, Output<String> id, SecurityGatewayState state, CustomResourceOptions options)resources: _: type: gcp:beyondcorp:SecurityGateway get: id: ${id}- 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.
- Create
Time string - Output only. Timestamp when the resource was created.
- Delegating
Service stringAccount - Service account used for operations that involve resources in consumer projects.
- Display
Name string - Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.
- External
Ips List<string> - Output only. IP addresses that will be used for establishing connection to the endpoints.
- Hubs
List<Security
Gateway Hub> - Optional. Map of Hubs that represents regional data path deployment with GCP region as a key. Structure is documented below.
- Location string
(Optional, Deprecated) Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. Must be omitted or set toglobal.Warning:
locationis deprecated and will be removed in a future major release.- Name string
- Identifier. Name of the resource.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Proxy
Protocol SecurityConfig Gateway Proxy Protocol Config - Shared proxy configuration for all apps. Structure is documented below.
- Security
Gateway stringId - Optional. User-settable SecurityGateway resource ID.
- Must start with a letter.
- Must contain between 4-63 characters from
/a-z-/. - Must end with a number or letter.
- Service
Discovery SecurityGateway Service Discovery - Settings related to the Service Discovery. Structure is documented below.
- State string
- Output only. The operational state of the SecurityGateway. Possible values: STATE_UNSPECIFIED CREATING UPDATING DELETING RUNNING DOWN ERROR
- Update
Time string - Output only. Timestamp when the resource was last modified.
- Create
Time string - Output only. Timestamp when the resource was created.
- Delegating
Service stringAccount - Service account used for operations that involve resources in consumer projects.
- Display
Name string - Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.
- External
Ips []string - Output only. IP addresses that will be used for establishing connection to the endpoints.
- Hubs
[]Security
Gateway Hub Args - Optional. Map of Hubs that represents regional data path deployment with GCP region as a key. Structure is documented below.
- Location string
(Optional, Deprecated) Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. Must be omitted or set toglobal.Warning:
locationis deprecated and will be removed in a future major release.- Name string
- Identifier. Name of the resource.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Proxy
Protocol SecurityConfig Gateway Proxy Protocol Config Args - Shared proxy configuration for all apps. Structure is documented below.
- Security
Gateway stringId - Optional. User-settable SecurityGateway resource ID.
- Must start with a letter.
- Must contain between 4-63 characters from
/a-z-/. - Must end with a number or letter.
- Service
Discovery SecurityGateway Service Discovery Args - Settings related to the Service Discovery. Structure is documented below.
- State string
- Output only. The operational state of the SecurityGateway. Possible values: STATE_UNSPECIFIED CREATING UPDATING DELETING RUNNING DOWN ERROR
- Update
Time string - Output only. Timestamp when the resource was last modified.
- create
Time String - Output only. Timestamp when the resource was created.
- delegating
Service StringAccount - Service account used for operations that involve resources in consumer projects.
- display
Name String - Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.
- external
Ips List<String> - Output only. IP addresses that will be used for establishing connection to the endpoints.
- hubs
List<Security
Gateway Hub> - Optional. Map of Hubs that represents regional data path deployment with GCP region as a key. Structure is documented below.
- location String
(Optional, Deprecated) Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. Must be omitted or set toglobal.Warning:
locationis deprecated and will be removed in a future major release.- name String
- Identifier. Name of the resource.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- proxy
Protocol SecurityConfig Gateway Proxy Protocol Config - Shared proxy configuration for all apps. Structure is documented below.
- security
Gateway StringId - Optional. User-settable SecurityGateway resource ID.
- Must start with a letter.
- Must contain between 4-63 characters from
/a-z-/. - Must end with a number or letter.
- service
Discovery SecurityGateway Service Discovery - Settings related to the Service Discovery. Structure is documented below.
- state String
- Output only. The operational state of the SecurityGateway. Possible values: STATE_UNSPECIFIED CREATING UPDATING DELETING RUNNING DOWN ERROR
- update
Time String - Output only. Timestamp when the resource was last modified.
- create
Time string - Output only. Timestamp when the resource was created.
- delegating
Service stringAccount - Service account used for operations that involve resources in consumer projects.
- display
Name string - Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.
- external
Ips string[] - Output only. IP addresses that will be used for establishing connection to the endpoints.
- hubs
Security
Gateway Hub[] - Optional. Map of Hubs that represents regional data path deployment with GCP region as a key. Structure is documented below.
- location string
(Optional, Deprecated) Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. Must be omitted or set toglobal.Warning:
locationis deprecated and will be removed in a future major release.- name string
- Identifier. Name of the resource.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- proxy
Protocol SecurityConfig Gateway Proxy Protocol Config - Shared proxy configuration for all apps. Structure is documented below.
- security
Gateway stringId - Optional. User-settable SecurityGateway resource ID.
- Must start with a letter.
- Must contain between 4-63 characters from
/a-z-/. - Must end with a number or letter.
- service
Discovery SecurityGateway Service Discovery - Settings related to the Service Discovery. Structure is documented below.
- state string
- Output only. The operational state of the SecurityGateway. Possible values: STATE_UNSPECIFIED CREATING UPDATING DELETING RUNNING DOWN ERROR
- update
Time string - Output only. Timestamp when the resource was last modified.
- create_
time str - Output only. Timestamp when the resource was created.
- delegating_
service_ straccount - Service account used for operations that involve resources in consumer projects.
- display_
name str - Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.
- external_
ips Sequence[str] - Output only. IP addresses that will be used for establishing connection to the endpoints.
- hubs
Sequence[Security
Gateway Hub Args] - Optional. Map of Hubs that represents regional data path deployment with GCP region as a key. Structure is documented below.
- location str
(Optional, Deprecated) Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. Must be omitted or set toglobal.Warning:
locationis deprecated and will be removed in a future major release.- name str
- Identifier. Name of the resource.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- proxy_
protocol_ Securityconfig Gateway Proxy Protocol Config Args - Shared proxy configuration for all apps. Structure is documented below.
- security_
gateway_ strid - Optional. User-settable SecurityGateway resource ID.
- Must start with a letter.
- Must contain between 4-63 characters from
/a-z-/. - Must end with a number or letter.
- service_
discovery SecurityGateway Service Discovery Args - Settings related to the Service Discovery. Structure is documented below.
- state str
- Output only. The operational state of the SecurityGateway. Possible values: STATE_UNSPECIFIED CREATING UPDATING DELETING RUNNING DOWN ERROR
- update_
time str - Output only. Timestamp when the resource was last modified.
- create
Time String - Output only. Timestamp when the resource was created.
- delegating
Service StringAccount - Service account used for operations that involve resources in consumer projects.
- display
Name String - Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.
- external
Ips List<String> - Output only. IP addresses that will be used for establishing connection to the endpoints.
- hubs List<Property Map>
- Optional. Map of Hubs that represents regional data path deployment with GCP region as a key. Structure is documented below.
- location String
(Optional, Deprecated) Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. Must be omitted or set toglobal.Warning:
locationis deprecated and will be removed in a future major release.- name String
- Identifier. Name of the resource.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- proxy
Protocol Property MapConfig - Shared proxy configuration for all apps. Structure is documented below.
- security
Gateway StringId - Optional. User-settable SecurityGateway resource ID.
- Must start with a letter.
- Must contain between 4-63 characters from
/a-z-/. - Must end with a number or letter.
- service
Discovery Property Map - Settings related to the Service Discovery. Structure is documented below.
- state String
- Output only. The operational state of the SecurityGateway. Possible values: STATE_UNSPECIFIED CREATING UPDATING DELETING RUNNING DOWN ERROR
- update
Time String - Output only. Timestamp when the resource was last modified.
Supporting Types
SecurityGatewayHub, SecurityGatewayHubArgs
- Region string
- The identifier for this object. Format specified above.
- Internet
Gateway SecurityGateway Hub Internet Gateway - Internet Gateway configuration. Structure is documented below.
- Region string
- The identifier for this object. Format specified above.
- Internet
Gateway SecurityGateway Hub Internet Gateway - Internet Gateway configuration. Structure is documented below.
- region String
- The identifier for this object. Format specified above.
- internet
Gateway SecurityGateway Hub Internet Gateway - Internet Gateway configuration. Structure is documented below.
- region string
- The identifier for this object. Format specified above.
- internet
Gateway SecurityGateway Hub Internet Gateway - Internet Gateway configuration. Structure is documented below.
- region str
- The identifier for this object. Format specified above.
- internet_
gateway SecurityGateway Hub Internet Gateway - Internet Gateway configuration. Structure is documented below.
- region String
- The identifier for this object. Format specified above.
- internet
Gateway Property Map - Internet Gateway configuration. Structure is documented below.
SecurityGatewayHubInternetGateway, SecurityGatewayHubInternetGatewayArgs
- Assigned
Ips List<string> - (Output) Output only. List of IP addresses assigned to the Cloud NAT.
- Assigned
Ips []string - (Output) Output only. List of IP addresses assigned to the Cloud NAT.
- assigned
Ips List<String> - (Output) Output only. List of IP addresses assigned to the Cloud NAT.
- assigned
Ips string[] - (Output) Output only. List of IP addresses assigned to the Cloud NAT.
- assigned_
ips Sequence[str] - (Output) Output only. List of IP addresses assigned to the Cloud NAT.
- assigned
Ips List<String> - (Output) Output only. List of IP addresses assigned to the Cloud NAT.
SecurityGatewayProxyProtocolConfig, SecurityGatewayProxyProtocolConfigArgs
- Allowed
Client List<string>Headers - The configuration for the proxy.
- Client
Ip bool - Client IP configuration. The client IP address is included if true.
- Contextual
Headers SecurityGateway Proxy Protocol Config Contextual Headers - Configuration for the contextual headers. Structure is documented below.
- Gateway
Identity string - Gateway identity configuration.
Possible values are:
RESOURCE_NAME. - Metadata
Headers Dictionary<string, string> Custom resource specific headers along with the values. The names should conform to RFC 9110:
Field names SHOULD constrain themselves to alphanumeric characters, "-", and ".", and SHOULD begin with a letter. Field values SHOULD contain only ASCII printable characters and tab.
- Allowed
Client []stringHeaders - The configuration for the proxy.
- Client
Ip bool - Client IP configuration. The client IP address is included if true.
- Contextual
Headers SecurityGateway Proxy Protocol Config Contextual Headers - Configuration for the contextual headers. Structure is documented below.
- Gateway
Identity string - Gateway identity configuration.
Possible values are:
RESOURCE_NAME. - Metadata
Headers map[string]string Custom resource specific headers along with the values. The names should conform to RFC 9110:
Field names SHOULD constrain themselves to alphanumeric characters, "-", and ".", and SHOULD begin with a letter. Field values SHOULD contain only ASCII printable characters and tab.
- allowed
Client List<String>Headers - The configuration for the proxy.
- client
Ip Boolean - Client IP configuration. The client IP address is included if true.
- contextual
Headers SecurityGateway Proxy Protocol Config Contextual Headers - Configuration for the contextual headers. Structure is documented below.
- gateway
Identity String - Gateway identity configuration.
Possible values are:
RESOURCE_NAME. - metadata
Headers Map<String,String> Custom resource specific headers along with the values. The names should conform to RFC 9110:
Field names SHOULD constrain themselves to alphanumeric characters, "-", and ".", and SHOULD begin with a letter. Field values SHOULD contain only ASCII printable characters and tab.
- allowed
Client string[]Headers - The configuration for the proxy.
- client
Ip boolean - Client IP configuration. The client IP address is included if true.
- contextual
Headers SecurityGateway Proxy Protocol Config Contextual Headers - Configuration for the contextual headers. Structure is documented below.
- gateway
Identity string - Gateway identity configuration.
Possible values are:
RESOURCE_NAME. - metadata
Headers {[key: string]: string} Custom resource specific headers along with the values. The names should conform to RFC 9110:
Field names SHOULD constrain themselves to alphanumeric characters, "-", and ".", and SHOULD begin with a letter. Field values SHOULD contain only ASCII printable characters and tab.
- allowed_
client_ Sequence[str]headers - The configuration for the proxy.
- client_
ip bool - Client IP configuration. The client IP address is included if true.
- contextual_
headers SecurityGateway Proxy Protocol Config Contextual Headers - Configuration for the contextual headers. Structure is documented below.
- gateway_
identity str - Gateway identity configuration.
Possible values are:
RESOURCE_NAME. - metadata_
headers Mapping[str, str] Custom resource specific headers along with the values. The names should conform to RFC 9110:
Field names SHOULD constrain themselves to alphanumeric characters, "-", and ".", and SHOULD begin with a letter. Field values SHOULD contain only ASCII printable characters and tab.
- allowed
Client List<String>Headers - The configuration for the proxy.
- client
Ip Boolean - Client IP configuration. The client IP address is included if true.
- contextual
Headers Property Map - Configuration for the contextual headers. Structure is documented below.
- gateway
Identity String - Gateway identity configuration.
Possible values are:
RESOURCE_NAME. - metadata
Headers Map<String> Custom resource specific headers along with the values. The names should conform to RFC 9110:
Field names SHOULD constrain themselves to alphanumeric characters, "-", and ".", and SHOULD begin with a letter. Field values SHOULD contain only ASCII printable characters and tab.
SecurityGatewayProxyProtocolConfigContextualHeaders, SecurityGatewayProxyProtocolConfigContextualHeadersArgs
- Device
Info SecurityGateway Proxy Protocol Config Contextual Headers Device Info - Device info configuration. Structure is documented below.
- Group
Info SecurityGateway Proxy Protocol Config Contextual Headers Group Info - Group info configuration. Structure is documented below.
- Output
Type string - Default output type for all enabled headers.
Possible values are:
PROTOBUF,JSON,NONE. - User
Info SecurityGateway Proxy Protocol Config Contextual Headers User Info - User info configuration. Structure is documented below.
- Device
Info SecurityGateway Proxy Protocol Config Contextual Headers Device Info - Device info configuration. Structure is documented below.
- Group
Info SecurityGateway Proxy Protocol Config Contextual Headers Group Info - Group info configuration. Structure is documented below.
- Output
Type string - Default output type for all enabled headers.
Possible values are:
PROTOBUF,JSON,NONE. - User
Info SecurityGateway Proxy Protocol Config Contextual Headers User Info - User info configuration. Structure is documented below.
- device
Info SecurityGateway Proxy Protocol Config Contextual Headers Device Info - Device info configuration. Structure is documented below.
- group
Info SecurityGateway Proxy Protocol Config Contextual Headers Group Info - Group info configuration. Structure is documented below.
- output
Type String - Default output type for all enabled headers.
Possible values are:
PROTOBUF,JSON,NONE. - user
Info SecurityGateway Proxy Protocol Config Contextual Headers User Info - User info configuration. Structure is documented below.
- device
Info SecurityGateway Proxy Protocol Config Contextual Headers Device Info - Device info configuration. Structure is documented below.
- group
Info SecurityGateway Proxy Protocol Config Contextual Headers Group Info - Group info configuration. Structure is documented below.
- output
Type string - Default output type for all enabled headers.
Possible values are:
PROTOBUF,JSON,NONE. - user
Info SecurityGateway Proxy Protocol Config Contextual Headers User Info - User info configuration. Structure is documented below.
- device_
info SecurityGateway Proxy Protocol Config Contextual Headers Device Info - Device info configuration. Structure is documented below.
- group_
info SecurityGateway Proxy Protocol Config Contextual Headers Group Info - Group info configuration. Structure is documented below.
- output_
type str - Default output type for all enabled headers.
Possible values are:
PROTOBUF,JSON,NONE. - user_
info SecurityGateway Proxy Protocol Config Contextual Headers User Info - User info configuration. Structure is documented below.
- device
Info Property Map - Device info configuration. Structure is documented below.
- group
Info Property Map - Group info configuration. Structure is documented below.
- output
Type String - Default output type for all enabled headers.
Possible values are:
PROTOBUF,JSON,NONE. - user
Info Property Map - User info configuration. Structure is documented below.
SecurityGatewayProxyProtocolConfigContextualHeadersDeviceInfo, SecurityGatewayProxyProtocolConfigContextualHeadersDeviceInfoArgs
- Output
Type string - The output type of the delegated device info.
Possible values are:
PROTOBUF,JSON,NONE.
- Output
Type string - The output type of the delegated device info.
Possible values are:
PROTOBUF,JSON,NONE.
- output
Type String - The output type of the delegated device info.
Possible values are:
PROTOBUF,JSON,NONE.
- output
Type string - The output type of the delegated device info.
Possible values are:
PROTOBUF,JSON,NONE.
- output_
type str - The output type of the delegated device info.
Possible values are:
PROTOBUF,JSON,NONE.
- output
Type String - The output type of the delegated device info.
Possible values are:
PROTOBUF,JSON,NONE.
SecurityGatewayProxyProtocolConfigContextualHeadersGroupInfo, SecurityGatewayProxyProtocolConfigContextualHeadersGroupInfoArgs
- Output
Type string - The output type of the delegated group info.
Possible values are:
PROTOBUF,JSON,NONE.
- Output
Type string - The output type of the delegated group info.
Possible values are:
PROTOBUF,JSON,NONE.
- output
Type String - The output type of the delegated group info.
Possible values are:
PROTOBUF,JSON,NONE.
- output
Type string - The output type of the delegated group info.
Possible values are:
PROTOBUF,JSON,NONE.
- output_
type str - The output type of the delegated group info.
Possible values are:
PROTOBUF,JSON,NONE.
- output
Type String - The output type of the delegated group info.
Possible values are:
PROTOBUF,JSON,NONE.
SecurityGatewayProxyProtocolConfigContextualHeadersUserInfo, SecurityGatewayProxyProtocolConfigContextualHeadersUserInfoArgs
- Output
Type string - The output type of the delegated user info.
Possible values are:
PROTOBUF,JSON,NONE.
- Output
Type string - The output type of the delegated user info.
Possible values are:
PROTOBUF,JSON,NONE.
- output
Type String - The output type of the delegated user info.
Possible values are:
PROTOBUF,JSON,NONE.
- output
Type string - The output type of the delegated user info.
Possible values are:
PROTOBUF,JSON,NONE.
- output_
type str - The output type of the delegated user info.
Possible values are:
PROTOBUF,JSON,NONE.
- output
Type String - The output type of the delegated user info.
Possible values are:
PROTOBUF,JSON,NONE.
SecurityGatewayServiceDiscovery, SecurityGatewayServiceDiscoveryArgs
- Api
Gateway SecurityGateway Service Discovery Api Gateway - External API configuration. Structure is documented below.
- Api
Gateway SecurityGateway Service Discovery Api Gateway - External API configuration. Structure is documented below.
- api
Gateway SecurityGateway Service Discovery Api Gateway - External API configuration. Structure is documented below.
- api
Gateway SecurityGateway Service Discovery Api Gateway - External API configuration. Structure is documented below.
- api_
gateway SecurityGateway Service Discovery Api Gateway - External API configuration. Structure is documented below.
- api
Gateway Property Map - External API configuration. Structure is documented below.
SecurityGatewayServiceDiscoveryApiGateway, SecurityGatewayServiceDiscoveryApiGatewayArgs
- Resource
Override SecurityGateway Service Discovery Api Gateway Resource Override - Enables fetching resource model updates to alter service behavior per Chrome profile. Structure is documented below.
- Resource
Override SecurityGateway Service Discovery Api Gateway Resource Override - Enables fetching resource model updates to alter service behavior per Chrome profile. Structure is documented below.
- resource
Override SecurityGateway Service Discovery Api Gateway Resource Override - Enables fetching resource model updates to alter service behavior per Chrome profile. Structure is documented below.
- resource
Override SecurityGateway Service Discovery Api Gateway Resource Override - Enables fetching resource model updates to alter service behavior per Chrome profile. Structure is documented below.
- resource_
override SecurityGateway Service Discovery Api Gateway Resource Override - Enables fetching resource model updates to alter service behavior per Chrome profile. Structure is documented below.
- resource
Override Property Map - Enables fetching resource model updates to alter service behavior per Chrome profile. Structure is documented below.
SecurityGatewayServiceDiscoveryApiGatewayResourceOverride, SecurityGatewayServiceDiscoveryApiGatewayResourceOverrideArgs
- Path string
- Contains uri path fragment where HTTP request is sent.
- Path string
- Contains uri path fragment where HTTP request is sent.
- path String
- Contains uri path fragment where HTTP request is sent.
- path string
- Contains uri path fragment where HTTP request is sent.
- path str
- Contains uri path fragment where HTTP request is sent.
- path String
- Contains uri path fragment where HTTP request is sent.
Import
SecurityGateway can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/securityGateways/{{security_gateway_id}}{{project}}/{{location}}/{{security_gateway_id}}{{location}}/{{security_gateway_id}}
When using the pulumi import command, SecurityGateway can be imported using one of the formats above. For example:
$ pulumi import gcp:beyondcorp/securityGateway:SecurityGateway default projects/{{project}}/locations/{{location}}/securityGateways/{{security_gateway_id}}
$ pulumi import gcp:beyondcorp/securityGateway:SecurityGateway default {{project}}/{{location}}/{{security_gateway_id}}
$ pulumi import gcp:beyondcorp/securityGateway:SecurityGateway default {{location}}/{{security_gateway_id}}
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-betaTerraform Provider.
