gcp.beyondcorp.getSecurityGateway
Get information about a Google BeyondCorp Security Gateway.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const my_beyondcorp_security_gateway = gcp.beyondcorp.getSecurityGateway({
securityGatewayId: "my-beyondcorp-security-gateway",
});
import pulumi
import pulumi_gcp as gcp
my_beyondcorp_security_gateway = gcp.beyondcorp.get_security_gateway(security_gateway_id="my-beyondcorp-security-gateway")
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.LookupSecurityGateway(ctx, &beyondcorp.LookupSecurityGatewayArgs{
SecurityGatewayId: "my-beyondcorp-security-gateway",
}, nil)
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 my_beyondcorp_security_gateway = Gcp.Beyondcorp.GetSecurityGateway.Invoke(new()
{
SecurityGatewayId = "my-beyondcorp-security-gateway",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.beyondcorp.BeyondcorpFunctions;
import com.pulumi.gcp.beyondcorp.inputs.GetSecurityGatewayArgs;
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) {
final var my-beyondcorp-security-gateway = BeyondcorpFunctions.getSecurityGateway(GetSecurityGatewayArgs.builder()
.securityGatewayId("my-beyondcorp-security-gateway")
.build());
}
}
variables:
my-beyondcorp-security-gateway:
fn::invoke:
function: gcp:beyondcorp:getSecurityGateway
arguments:
securityGatewayId: my-beyondcorp-security-gateway
Using getSecurityGateway
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSecurityGateway(args: GetSecurityGatewayArgs, opts?: InvokeOptions): Promise<GetSecurityGatewayResult>
function getSecurityGatewayOutput(args: GetSecurityGatewayOutputArgs, opts?: InvokeOptions): Output<GetSecurityGatewayResult>def get_security_gateway(project: Optional[str] = None,
security_gateway_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSecurityGatewayResult
def get_security_gateway_output(project: Optional[pulumi.Input[str]] = None,
security_gateway_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecurityGatewayResult]func LookupSecurityGateway(ctx *Context, args *LookupSecurityGatewayArgs, opts ...InvokeOption) (*LookupSecurityGatewayResult, error)
func LookupSecurityGatewayOutput(ctx *Context, args *LookupSecurityGatewayOutputArgs, opts ...InvokeOption) LookupSecurityGatewayResultOutput> Note: This function is named LookupSecurityGateway in the Go SDK.
public static class GetSecurityGateway
{
public static Task<GetSecurityGatewayResult> InvokeAsync(GetSecurityGatewayArgs args, InvokeOptions? opts = null)
public static Output<GetSecurityGatewayResult> Invoke(GetSecurityGatewayInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSecurityGatewayResult> getSecurityGateway(GetSecurityGatewayArgs args, InvokeOptions options)
public static Output<GetSecurityGatewayResult> getSecurityGateway(GetSecurityGatewayArgs args, InvokeOptions options)
fn::invoke:
function: gcp:beyondcorp/getSecurityGateway:getSecurityGateway
arguments:
# arguments dictionaryThe following arguments are supported:
- Security
Gateway stringId - The name of the Security Gateway resource.
- Project string
- The project in which the resource belongs. If it is not provided, the provider project is used.
- Security
Gateway stringId - The name of the Security Gateway resource.
- Project string
- The project in which the resource belongs. If it is not provided, the provider project is used.
- security
Gateway StringId - The name of the Security Gateway resource.
- project String
- The project in which the resource belongs. If it is not provided, the provider project is used.
- security
Gateway stringId - The name of the Security Gateway resource.
- project string
- The project in which the resource belongs. If it is not provided, the provider project is used.
- security_
gateway_ strid - The name of the Security Gateway resource.
- project str
- The project in which the resource belongs. If it is not provided, the provider project is used.
- security
Gateway StringId - The name of the Security Gateway resource.
- project String
- The project in which the resource belongs. If it is not provided, the provider project is used.
getSecurityGateway Result
The following output properties are available:
- Create
Time string - Delegating
Service stringAccount - Display
Name string - External
Ips List<string> - Hubs
List<Get
Security Gateway Hub> - Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Name string
- Proxy
Protocol List<GetConfigs Security Gateway Proxy Protocol Config> - Security
Gateway stringId - Service
Discoveries List<GetSecurity Gateway Service Discovery> - State string
- Update
Time string - Project string
- Create
Time string - Delegating
Service stringAccount - Display
Name string - External
Ips []string - Hubs
[]Get
Security Gateway Hub - Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Name string
- Proxy
Protocol []GetConfigs Security Gateway Proxy Protocol Config - Security
Gateway stringId - Service
Discoveries []GetSecurity Gateway Service Discovery - State string
- Update
Time string - Project string
- create
Time String - delegating
Service StringAccount - display
Name String - external
Ips List<String> - hubs
List<Get
Security Gateway Hub> - id String
- The provider-assigned unique ID for this managed resource.
- location String
- name String
- proxy
Protocol List<GetConfigs Security Gateway Proxy Protocol Config> - security
Gateway StringId - service
Discoveries List<GetSecurity Gateway Service Discovery> - state String
- update
Time String - project String
- create
Time string - delegating
Service stringAccount - display
Name string - external
Ips string[] - hubs
Get
Security Gateway Hub[] - id string
- The provider-assigned unique ID for this managed resource.
- location string
- name string
- proxy
Protocol GetConfigs Security Gateway Proxy Protocol Config[] - security
Gateway stringId - service
Discoveries GetSecurity Gateway Service Discovery[] - state string
- update
Time string - project string
- create_
time str - delegating_
service_ straccount - display_
name str - external_
ips Sequence[str] - hubs
Sequence[Get
Security Gateway Hub] - id str
- The provider-assigned unique ID for this managed resource.
- location str
- name str
- proxy_
protocol_ Sequence[Getconfigs Security Gateway Proxy Protocol Config] - security_
gateway_ strid - service_
discoveries Sequence[GetSecurity Gateway Service Discovery] - state str
- update_
time str - project str
- create
Time String - delegating
Service StringAccount - display
Name String - external
Ips List<String> - hubs List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- name String
- proxy
Protocol List<Property Map>Configs - security
Gateway StringId - service
Discoveries List<Property Map> - state String
- update
Time String - project String
Supporting Types
GetSecurityGatewayHub
- Internet
Gateways List<GetSecurity Gateway Hub Internet Gateway> - Internet Gateway configuration.
- Region string
- Internet
Gateways []GetSecurity Gateway Hub Internet Gateway - Internet Gateway configuration.
- Region string
- internet
Gateways List<GetSecurity Gateway Hub Internet Gateway> - Internet Gateway configuration.
- region String
- internet
Gateways GetSecurity Gateway Hub Internet Gateway[] - Internet Gateway configuration.
- region string
- internet_
gateways Sequence[GetSecurity Gateway Hub Internet Gateway] - Internet Gateway configuration.
- region str
- internet
Gateways List<Property Map> - Internet Gateway configuration.
- region String
GetSecurityGatewayHubInternetGateway
- Assigned
Ips List<string> - Output only. List of IP addresses assigned to the Cloud NAT.
- Assigned
Ips []string - Output only. List of IP addresses assigned to the Cloud NAT.
- assigned
Ips List<String> - Output only. List of IP addresses assigned to the Cloud NAT.
- assigned
Ips string[] - Output only. List of IP addresses assigned to the Cloud NAT.
- assigned_
ips Sequence[str] - Output only. List of IP addresses assigned to the Cloud NAT.
- assigned
Ips List<String> - Output only. List of IP addresses assigned to the Cloud NAT.
GetSecurityGatewayProxyProtocolConfig
- 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 List<GetSecurity Gateway Proxy Protocol Config Contextual Header> - Configuration for the contextual headers.
- Gateway
Identity string - Gateway identity configuration. Possible values: ["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 []GetSecurity Gateway Proxy Protocol Config Contextual Header - Configuration for the contextual headers.
- Gateway
Identity string - Gateway identity configuration. Possible values: ["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 List<GetSecurity Gateway Proxy Protocol Config Contextual Header> - Configuration for the contextual headers.
- gateway
Identity String - Gateway identity configuration. Possible values: ["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 GetSecurity Gateway Proxy Protocol Config Contextual Header[] - Configuration for the contextual headers.
- gateway
Identity string - Gateway identity configuration. Possible values: ["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 Sequence[GetSecurity Gateway Proxy Protocol Config Contextual Header] - Configuration for the contextual headers.
- gateway_
identity str - Gateway identity configuration. Possible values: ["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 List<Property Map> - Configuration for the contextual headers.
- gateway
Identity String - Gateway identity configuration. Possible values: ["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.
GetSecurityGatewayProxyProtocolConfigContextualHeader
- Device
Infos List<GetSecurity Gateway Proxy Protocol Config Contextual Header Device Info> - Device info configuration.
- Group
Infos List<GetSecurity Gateway Proxy Protocol Config Contextual Header Group Info> - Group info configuration.
- Output
Type string - Default output type for all enabled headers. Possible values: ["PROTOBUF", "JSON", "NONE"]
- User
Infos List<GetSecurity Gateway Proxy Protocol Config Contextual Header User Info> - User info configuration.
- Device
Infos []GetSecurity Gateway Proxy Protocol Config Contextual Header Device Info - Device info configuration.
- Group
Infos []GetSecurity Gateway Proxy Protocol Config Contextual Header Group Info - Group info configuration.
- Output
Type string - Default output type for all enabled headers. Possible values: ["PROTOBUF", "JSON", "NONE"]
- User
Infos []GetSecurity Gateway Proxy Protocol Config Contextual Header User Info - User info configuration.
- device
Infos List<GetSecurity Gateway Proxy Protocol Config Contextual Header Device Info> - Device info configuration.
- group
Infos List<GetSecurity Gateway Proxy Protocol Config Contextual Header Group Info> - Group info configuration.
- output
Type String - Default output type for all enabled headers. Possible values: ["PROTOBUF", "JSON", "NONE"]
- user
Infos List<GetSecurity Gateway Proxy Protocol Config Contextual Header User Info> - User info configuration.
- device
Infos GetSecurity Gateway Proxy Protocol Config Contextual Header Device Info[] - Device info configuration.
- group
Infos GetSecurity Gateway Proxy Protocol Config Contextual Header Group Info[] - Group info configuration.
- output
Type string - Default output type for all enabled headers. Possible values: ["PROTOBUF", "JSON", "NONE"]
- user
Infos GetSecurity Gateway Proxy Protocol Config Contextual Header User Info[] - User info configuration.
- device_
infos Sequence[GetSecurity Gateway Proxy Protocol Config Contextual Header Device Info] - Device info configuration.
- group_
infos Sequence[GetSecurity Gateway Proxy Protocol Config Contextual Header Group Info] - Group info configuration.
- output_
type str - Default output type for all enabled headers. Possible values: ["PROTOBUF", "JSON", "NONE"]
- user_
infos Sequence[GetSecurity Gateway Proxy Protocol Config Contextual Header User Info] - User info configuration.
- device
Infos List<Property Map> - Device info configuration.
- group
Infos List<Property Map> - Group info configuration.
- output
Type String - Default output type for all enabled headers. Possible values: ["PROTOBUF", "JSON", "NONE"]
- user
Infos List<Property Map> - User info configuration.
GetSecurityGatewayProxyProtocolConfigContextualHeaderDeviceInfo
- Output
Type string - The output type of the delegated device info. Possible values: ["PROTOBUF", "JSON", "NONE"]
- Output
Type string - The output type of the delegated device info. Possible values: ["PROTOBUF", "JSON", "NONE"]
- output
Type String - The output type of the delegated device info. Possible values: ["PROTOBUF", "JSON", "NONE"]
- output
Type string - The output type of the delegated device info. Possible values: ["PROTOBUF", "JSON", "NONE"]
- output_
type str - The output type of the delegated device info. Possible values: ["PROTOBUF", "JSON", "NONE"]
- output
Type String - The output type of the delegated device info. Possible values: ["PROTOBUF", "JSON", "NONE"]
GetSecurityGatewayProxyProtocolConfigContextualHeaderGroupInfo
- Output
Type string - The output type of the delegated group info. Possible values: ["PROTOBUF", "JSON", "NONE"]
- Output
Type string - The output type of the delegated group info. Possible values: ["PROTOBUF", "JSON", "NONE"]
- output
Type String - The output type of the delegated group info. Possible values: ["PROTOBUF", "JSON", "NONE"]
- output
Type string - The output type of the delegated group info. Possible values: ["PROTOBUF", "JSON", "NONE"]
- output_
type str - The output type of the delegated group info. Possible values: ["PROTOBUF", "JSON", "NONE"]
- output
Type String - The output type of the delegated group info. Possible values: ["PROTOBUF", "JSON", "NONE"]
GetSecurityGatewayProxyProtocolConfigContextualHeaderUserInfo
- Output
Type string - The output type of the delegated user info. Possible values: ["PROTOBUF", "JSON", "NONE"]
- Output
Type string - The output type of the delegated user info. Possible values: ["PROTOBUF", "JSON", "NONE"]
- output
Type String - The output type of the delegated user info. Possible values: ["PROTOBUF", "JSON", "NONE"]
- output
Type string - The output type of the delegated user info. Possible values: ["PROTOBUF", "JSON", "NONE"]
- output_
type str - The output type of the delegated user info. Possible values: ["PROTOBUF", "JSON", "NONE"]
- output
Type String - The output type of the delegated user info. Possible values: ["PROTOBUF", "JSON", "NONE"]
GetSecurityGatewayServiceDiscovery
- Api
Gateways List<GetSecurity Gateway Service Discovery Api Gateway> - External API configuration.
- Api
Gateways []GetSecurity Gateway Service Discovery Api Gateway - External API configuration.
- api
Gateways List<GetSecurity Gateway Service Discovery Api Gateway> - External API configuration.
- api
Gateways GetSecurity Gateway Service Discovery Api Gateway[] - External API configuration.
- api_
gateways Sequence[GetSecurity Gateway Service Discovery Api Gateway] - External API configuration.
- api
Gateways List<Property Map> - External API configuration.
GetSecurityGatewayServiceDiscoveryApiGateway
- Resource
Overrides List<GetSecurity Gateway Service Discovery Api Gateway Resource Override> - Enables fetching resource model updates to alter service behavior per Chrome profile.
- Resource
Overrides []GetSecurity Gateway Service Discovery Api Gateway Resource Override - Enables fetching resource model updates to alter service behavior per Chrome profile.
- resource
Overrides List<GetSecurity Gateway Service Discovery Api Gateway Resource Override> - Enables fetching resource model updates to alter service behavior per Chrome profile.
- resource
Overrides GetSecurity Gateway Service Discovery Api Gateway Resource Override[] - Enables fetching resource model updates to alter service behavior per Chrome profile.
- resource_
overrides Sequence[GetSecurity Gateway Service Discovery Api Gateway Resource Override] - Enables fetching resource model updates to alter service behavior per Chrome profile.
- resource
Overrides List<Property Map> - Enables fetching resource model updates to alter service behavior per Chrome profile.
GetSecurityGatewayServiceDiscoveryApiGatewayResourceOverride
- 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.
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.
