1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/alpha
  6. VpnGateway

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.compute/alpha.VpnGateway

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Creates a VPN gateway in the specified project and region using the data included in the request.

Create VpnGateway Resource

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

Constructor syntax

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

@overload
def VpnGateway(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               region: Optional[str] = None,
               description: Optional[str] = None,
               gateway_ip_version: Optional[VpnGatewayGatewayIpVersion] = None,
               labels: Optional[Mapping[str, str]] = None,
               name: Optional[str] = None,
               network: Optional[str] = None,
               project: Optional[str] = None,
               request_id: Optional[str] = None,
               stack_type: Optional[VpnGatewayStackType] = None,
               vpn_interfaces: Optional[Sequence[VpnGatewayVpnGatewayInterfaceArgs]] = None)
func NewVpnGateway(ctx *Context, name string, args VpnGatewayArgs, opts ...ResourceOption) (*VpnGateway, error)
public VpnGateway(string name, VpnGatewayArgs args, CustomResourceOptions? opts = null)
public VpnGateway(String name, VpnGatewayArgs args)
public VpnGateway(String name, VpnGatewayArgs args, CustomResourceOptions options)
type: google-native:compute/alpha:VpnGateway
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. VpnGatewayArgs
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. VpnGatewayArgs
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. VpnGatewayArgs
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. VpnGatewayArgs
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. VpnGatewayArgs
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 vpnGatewayResource = new GoogleNative.Compute.Alpha.VpnGateway("vpnGatewayResource", new()
{
    Region = "string",
    Description = "string",
    GatewayIpVersion = GoogleNative.Compute.Alpha.VpnGatewayGatewayIpVersion.Ipv4,
    Labels = 
    {
        { "string", "string" },
    },
    Name = "string",
    Network = "string",
    Project = "string",
    RequestId = "string",
    StackType = GoogleNative.Compute.Alpha.VpnGatewayStackType.Ipv4Ipv6,
    VpnInterfaces = new[]
    {
        new GoogleNative.Compute.Alpha.Inputs.VpnGatewayVpnGatewayInterfaceArgs
        {
            InterconnectAttachment = "string",
        },
    },
});
Copy
example, err := compute.NewVpnGateway(ctx, "vpnGatewayResource", &compute.VpnGatewayArgs{
	Region:           pulumi.String("string"),
	Description:      pulumi.String("string"),
	GatewayIpVersion: compute.VpnGatewayGatewayIpVersionIpv4,
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Name:      pulumi.String("string"),
	Network:   pulumi.String("string"),
	Project:   pulumi.String("string"),
	RequestId: pulumi.String("string"),
	StackType: compute.VpnGatewayStackTypeIpv4Ipv6,
	VpnInterfaces: compute.VpnGatewayVpnGatewayInterfaceArray{
		&compute.VpnGatewayVpnGatewayInterfaceArgs{
			InterconnectAttachment: pulumi.String("string"),
		},
	},
})
Copy
var vpnGatewayResource = new VpnGateway("vpnGatewayResource", VpnGatewayArgs.builder()
    .region("string")
    .description("string")
    .gatewayIpVersion("IPV4")
    .labels(Map.of("string", "string"))
    .name("string")
    .network("string")
    .project("string")
    .requestId("string")
    .stackType("IPV4_IPV6")
    .vpnInterfaces(VpnGatewayVpnGatewayInterfaceArgs.builder()
        .interconnectAttachment("string")
        .build())
    .build());
Copy
vpn_gateway_resource = google_native.compute.alpha.VpnGateway("vpnGatewayResource",
    region="string",
    description="string",
    gateway_ip_version=google_native.compute.alpha.VpnGatewayGatewayIpVersion.IPV4,
    labels={
        "string": "string",
    },
    name="string",
    network="string",
    project="string",
    request_id="string",
    stack_type=google_native.compute.alpha.VpnGatewayStackType.IPV4_IPV6,
    vpn_interfaces=[{
        "interconnect_attachment": "string",
    }])
Copy
const vpnGatewayResource = new google_native.compute.alpha.VpnGateway("vpnGatewayResource", {
    region: "string",
    description: "string",
    gatewayIpVersion: google_native.compute.alpha.VpnGatewayGatewayIpVersion.Ipv4,
    labels: {
        string: "string",
    },
    name: "string",
    network: "string",
    project: "string",
    requestId: "string",
    stackType: google_native.compute.alpha.VpnGatewayStackType.Ipv4Ipv6,
    vpnInterfaces: [{
        interconnectAttachment: "string",
    }],
});
Copy
type: google-native:compute/alpha:VpnGateway
properties:
    description: string
    gatewayIpVersion: IPV4
    labels:
        string: string
    name: string
    network: string
    project: string
    region: string
    requestId: string
    stackType: IPV4_IPV6
    vpnInterfaces:
        - interconnectAttachment: string
Copy

VpnGateway 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 VpnGateway resource accepts the following input properties:

Region
This property is required.
Changes to this property will trigger replacement.
string
Description string
An optional description of this resource. Provide this property when you create the resource.
GatewayIpVersion Pulumi.GoogleNative.Compute.Alpha.VpnGatewayGatewayIpVersion
The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not specified, IPV4 will be used.
Labels Dictionary<string, string>
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
Name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Network string
URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
Project Changes to this property will trigger replacement. string
RequestId string
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
StackType Pulumi.GoogleNative.Compute.Alpha.VpnGatewayStackType
The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.
VpnInterfaces List<Pulumi.GoogleNative.Compute.Alpha.Inputs.VpnGatewayVpnGatewayInterface>
The list of VPN interfaces associated with this VPN gateway.
Region
This property is required.
Changes to this property will trigger replacement.
string
Description string
An optional description of this resource. Provide this property when you create the resource.
GatewayIpVersion VpnGatewayGatewayIpVersion
The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not specified, IPV4 will be used.
Labels map[string]string
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
Name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Network string
URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
Project Changes to this property will trigger replacement. string
RequestId string
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
StackType VpnGatewayStackType
The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.
VpnInterfaces []VpnGatewayVpnGatewayInterfaceArgs
The list of VPN interfaces associated with this VPN gateway.
region
This property is required.
Changes to this property will trigger replacement.
String
description String
An optional description of this resource. Provide this property when you create the resource.
gatewayIpVersion VpnGatewayGatewayIpVersion
The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not specified, IPV4 will be used.
labels Map<String,String>
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
name String
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
network String
URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
project Changes to this property will trigger replacement. String
requestId String
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
stackType VpnGatewayStackType
The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.
vpnInterfaces List<VpnGatewayVpnGatewayInterface>
The list of VPN interfaces associated with this VPN gateway.
region
This property is required.
Changes to this property will trigger replacement.
string
description string
An optional description of this resource. Provide this property when you create the resource.
gatewayIpVersion VpnGatewayGatewayIpVersion
The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not specified, IPV4 will be used.
labels {[key: string]: string}
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
network string
URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
project Changes to this property will trigger replacement. string
requestId string
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
stackType VpnGatewayStackType
The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.
vpnInterfaces VpnGatewayVpnGatewayInterface[]
The list of VPN interfaces associated with this VPN gateway.
region
This property is required.
Changes to this property will trigger replacement.
str
description str
An optional description of this resource. Provide this property when you create the resource.
gateway_ip_version VpnGatewayGatewayIpVersion
The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not specified, IPV4 will be used.
labels Mapping[str, str]
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
name str
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
network str
URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
project Changes to this property will trigger replacement. str
request_id str
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
stack_type VpnGatewayStackType
The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.
vpn_interfaces Sequence[VpnGatewayVpnGatewayInterfaceArgs]
The list of VPN interfaces associated with this VPN gateway.
region
This property is required.
Changes to this property will trigger replacement.
String
description String
An optional description of this resource. Provide this property when you create the resource.
gatewayIpVersion "IPV4" | "IPV6"
The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not specified, IPV4 will be used.
labels Map<String>
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
name String
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
network String
URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
project Changes to this property will trigger replacement. String
requestId String
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
stackType "IPV4_IPV6" | "IPV4_ONLY" | "IPV6_ONLY"
The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.
vpnInterfaces List<Property Map>
The list of VPN interfaces associated with this VPN gateway.

Outputs

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

CreationTimestamp string
Creation timestamp in RFC3339 text format.
Id string
The provider-assigned unique ID for this managed resource.
Kind string
Type of resource. Always compute#vpnGateway for VPN gateways.
LabelFingerprint string
A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnGateway.
SelfLink string
Server-defined URL for the resource.
CreationTimestamp string
Creation timestamp in RFC3339 text format.
Id string
The provider-assigned unique ID for this managed resource.
Kind string
Type of resource. Always compute#vpnGateway for VPN gateways.
LabelFingerprint string
A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnGateway.
SelfLink string
Server-defined URL for the resource.
creationTimestamp String
Creation timestamp in RFC3339 text format.
id String
The provider-assigned unique ID for this managed resource.
kind String
Type of resource. Always compute#vpnGateway for VPN gateways.
labelFingerprint String
A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnGateway.
selfLink String
Server-defined URL for the resource.
creationTimestamp string
Creation timestamp in RFC3339 text format.
id string
The provider-assigned unique ID for this managed resource.
kind string
Type of resource. Always compute#vpnGateway for VPN gateways.
labelFingerprint string
A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnGateway.
selfLink string
Server-defined URL for the resource.
creation_timestamp str
Creation timestamp in RFC3339 text format.
id str
The provider-assigned unique ID for this managed resource.
kind str
Type of resource. Always compute#vpnGateway for VPN gateways.
label_fingerprint str
A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnGateway.
self_link str
Server-defined URL for the resource.
creationTimestamp String
Creation timestamp in RFC3339 text format.
id String
The provider-assigned unique ID for this managed resource.
kind String
Type of resource. Always compute#vpnGateway for VPN gateways.
labelFingerprint String
A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnGateway.
selfLink String
Server-defined URL for the resource.

Supporting Types

VpnGatewayGatewayIpVersion
, VpnGatewayGatewayIpVersionArgs

Ipv4
IPV4Every HA-VPN gateway interface is configured with an IPv4 address.
Ipv6
IPV6Every HA-VPN gateway interface is configured with an IPv6 address.
VpnGatewayGatewayIpVersionIpv4
IPV4Every HA-VPN gateway interface is configured with an IPv4 address.
VpnGatewayGatewayIpVersionIpv6
IPV6Every HA-VPN gateway interface is configured with an IPv6 address.
Ipv4
IPV4Every HA-VPN gateway interface is configured with an IPv4 address.
Ipv6
IPV6Every HA-VPN gateway interface is configured with an IPv6 address.
Ipv4
IPV4Every HA-VPN gateway interface is configured with an IPv4 address.
Ipv6
IPV6Every HA-VPN gateway interface is configured with an IPv6 address.
IPV4
IPV4Every HA-VPN gateway interface is configured with an IPv4 address.
IPV6
IPV6Every HA-VPN gateway interface is configured with an IPv6 address.
"IPV4"
IPV4Every HA-VPN gateway interface is configured with an IPv4 address.
"IPV6"
IPV6Every HA-VPN gateway interface is configured with an IPv6 address.

VpnGatewayStackType
, VpnGatewayStackTypeArgs

Ipv4Ipv6
IPV4_IPV6Enable VPN gateway with both IPv4 and IPv6 protocols.
Ipv4Only
IPV4_ONLYEnable VPN gateway with only IPv4 protocol.
Ipv6Only
IPV6_ONLYEnable VPN gateway with only IPv6 protocol.
VpnGatewayStackTypeIpv4Ipv6
IPV4_IPV6Enable VPN gateway with both IPv4 and IPv6 protocols.
VpnGatewayStackTypeIpv4Only
IPV4_ONLYEnable VPN gateway with only IPv4 protocol.
VpnGatewayStackTypeIpv6Only
IPV6_ONLYEnable VPN gateway with only IPv6 protocol.
Ipv4Ipv6
IPV4_IPV6Enable VPN gateway with both IPv4 and IPv6 protocols.
Ipv4Only
IPV4_ONLYEnable VPN gateway with only IPv4 protocol.
Ipv6Only
IPV6_ONLYEnable VPN gateway with only IPv6 protocol.
Ipv4Ipv6
IPV4_IPV6Enable VPN gateway with both IPv4 and IPv6 protocols.
Ipv4Only
IPV4_ONLYEnable VPN gateway with only IPv4 protocol.
Ipv6Only
IPV6_ONLYEnable VPN gateway with only IPv6 protocol.
IPV4_IPV6
IPV4_IPV6Enable VPN gateway with both IPv4 and IPv6 protocols.
IPV4_ONLY
IPV4_ONLYEnable VPN gateway with only IPv4 protocol.
IPV6_ONLY
IPV6_ONLYEnable VPN gateway with only IPv6 protocol.
"IPV4_IPV6"
IPV4_IPV6Enable VPN gateway with both IPv4 and IPv6 protocols.
"IPV4_ONLY"
IPV4_ONLYEnable VPN gateway with only IPv4 protocol.
"IPV6_ONLY"
IPV6_ONLYEnable VPN gateway with only IPv6 protocol.

VpnGatewayVpnGatewayInterface
, VpnGatewayVpnGatewayInterfaceArgs

InterconnectAttachment string
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
InterconnectAttachment string
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
interconnectAttachment String
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
interconnectAttachment string
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
interconnect_attachment str
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
interconnectAttachment String
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.

VpnGatewayVpnGatewayInterfaceResponse
, VpnGatewayVpnGatewayInterfaceResponseArgs

InterconnectAttachment This property is required. string
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
IpAddress This property is required. string
IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
Ipv6Address This property is required. string
IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
InterconnectAttachment This property is required. string
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
IpAddress This property is required. string
IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
Ipv6Address This property is required. string
IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
interconnectAttachment This property is required. String
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
ipAddress This property is required. String
IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
ipv6Address This property is required. String
IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
interconnectAttachment This property is required. string
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
ipAddress This property is required. string
IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
ipv6Address This property is required. string
IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
interconnect_attachment This property is required. str
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
ip_address This property is required. str
IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
ipv6_address This property is required. str
IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
interconnectAttachment This property is required. String
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
ipAddress This property is required. String
IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
ipv6Address This property is required. String
IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi