published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
The user gateway is a collection and abstraction of information on your local gateway side. With the user gateway, you can register local gateway information to the cloud VPC. One user gateway can connect to multiple VPN gateways
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const vpncustomergatewayDemo = new volcenginecc.vpn.CustomerGateway("vpncustomergatewayDemo", {
asn: 64513,
customerGatewayName: "ccapi-test",
description: "testdesc",
ipAddress: "115.***.151.5",
ipVersion: "ipv4",
projectName: "default",
});
import pulumi
import pulumi_volcenginecc as volcenginecc
vpncustomergateway_demo = volcenginecc.vpn.CustomerGateway("vpncustomergatewayDemo",
asn=64513,
customer_gateway_name="ccapi-test",
description="testdesc",
ip_address="115.***.151.5",
ip_version="ipv4",
project_name="default")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/vpn"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vpn.NewCustomerGateway(ctx, "vpncustomergatewayDemo", &vpn.CustomerGatewayArgs{
Asn: pulumi.Int(64513),
CustomerGatewayName: pulumi.String("ccapi-test"),
Description: pulumi.String("testdesc"),
IpAddress: pulumi.String("115.***.151.5"),
IpVersion: pulumi.String("ipv4"),
ProjectName: pulumi.String("default"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var vpncustomergatewayDemo = new Volcenginecc.Vpn.CustomerGateway("vpncustomergatewayDemo", new()
{
Asn = 64513,
CustomerGatewayName = "ccapi-test",
Description = "testdesc",
IpAddress = "115.***.151.5",
IpVersion = "ipv4",
ProjectName = "default",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.vpn.CustomerGateway;
import com.volcengine.volcenginecc.vpn.CustomerGatewayArgs;
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 vpncustomergatewayDemo = new CustomerGateway("vpncustomergatewayDemo", CustomerGatewayArgs.builder()
.asn(64513)
.customerGatewayName("ccapi-test")
.description("testdesc")
.ipAddress("115.***.151.5")
.ipVersion("ipv4")
.projectName("default")
.build());
}
}
resources:
vpncustomergatewayDemo:
type: volcenginecc:vpn:CustomerGateway
properties:
asn: 64513
customerGatewayName: ccapi-test
description: testdesc
ipAddress: 115.***.151.5
ipVersion: ipv4
projectName: default
Create CustomerGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CustomerGateway(name: string, args: CustomerGatewayArgs, opts?: CustomResourceOptions);@overload
def CustomerGateway(resource_name: str,
args: CustomerGatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CustomerGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
ip_address: Optional[str] = None,
asn: Optional[int] = None,
customer_gateway_name: Optional[str] = None,
description: Optional[str] = None,
ip_version: Optional[str] = None,
project_name: Optional[str] = None,
tags: Optional[Sequence[CustomerGatewayTagArgs]] = None)func NewCustomerGateway(ctx *Context, name string, args CustomerGatewayArgs, opts ...ResourceOption) (*CustomerGateway, error)public CustomerGateway(string name, CustomerGatewayArgs args, CustomResourceOptions? opts = null)
public CustomerGateway(String name, CustomerGatewayArgs args)
public CustomerGateway(String name, CustomerGatewayArgs args, CustomResourceOptions options)
type: volcenginecc:vpn:CustomerGateway
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 CustomerGatewayArgs
- 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 CustomerGatewayArgs
- 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 CustomerGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CustomerGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CustomerGatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CustomerGateway 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 CustomerGateway resource accepts the following input properties:
- Ip
Address string - Static public IP address of the peer local data center gateway or the VPN gateway egress IP address of another VPC. If the peer does not have a fixed static public IP, enter 0.0.0.0 here
- Asn int
- User gateway ASN (Autonomous System Number). This parameter is required if you need to use BGP functionality. Valid ASN range is 1–4294967295 (excluding 137718, 150436, and 65533)
- Customer
Gateway stringName - User gateway name. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the user gateway ID
- Description string
- Description of the user gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- Ip
Version string - IP address protocol type for the VPN gateway. Options: ipv4 (default), ipv6
- Project
Name string - Project to which the user gateway belongs. If not specified, defaults to 'default', meaning the created resource belongs to the default project
-
List<Volcengine.
Customer Gateway Tag>
- Ip
Address string - Static public IP address of the peer local data center gateway or the VPN gateway egress IP address of another VPC. If the peer does not have a fixed static public IP, enter 0.0.0.0 here
- Asn int
- User gateway ASN (Autonomous System Number). This parameter is required if you need to use BGP functionality. Valid ASN range is 1–4294967295 (excluding 137718, 150436, and 65533)
- Customer
Gateway stringName - User gateway name. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the user gateway ID
- Description string
- Description of the user gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- Ip
Version string - IP address protocol type for the VPN gateway. Options: ipv4 (default), ipv6
- Project
Name string - Project to which the user gateway belongs. If not specified, defaults to 'default', meaning the created resource belongs to the default project
-
[]Customer
Gateway Tag Args
- ip
Address String - Static public IP address of the peer local data center gateway or the VPN gateway egress IP address of another VPC. If the peer does not have a fixed static public IP, enter 0.0.0.0 here
- asn Integer
- User gateway ASN (Autonomous System Number). This parameter is required if you need to use BGP functionality. Valid ASN range is 1–4294967295 (excluding 137718, 150436, and 65533)
- customer
Gateway StringName - User gateway name. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the user gateway ID
- description String
- Description of the user gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- ip
Version String - IP address protocol type for the VPN gateway. Options: ipv4 (default), ipv6
- project
Name String - Project to which the user gateway belongs. If not specified, defaults to 'default', meaning the created resource belongs to the default project
-
List<Customer
Gateway Tag>
- ip
Address string - Static public IP address of the peer local data center gateway or the VPN gateway egress IP address of another VPC. If the peer does not have a fixed static public IP, enter 0.0.0.0 here
- asn number
- User gateway ASN (Autonomous System Number). This parameter is required if you need to use BGP functionality. Valid ASN range is 1–4294967295 (excluding 137718, 150436, and 65533)
- customer
Gateway stringName - User gateway name. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the user gateway ID
- description string
- Description of the user gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- ip
Version string - IP address protocol type for the VPN gateway. Options: ipv4 (default), ipv6
- project
Name string - Project to which the user gateway belongs. If not specified, defaults to 'default', meaning the created resource belongs to the default project
-
Customer
Gateway Tag[]
- ip_
address str - Static public IP address of the peer local data center gateway or the VPN gateway egress IP address of another VPC. If the peer does not have a fixed static public IP, enter 0.0.0.0 here
- asn int
- User gateway ASN (Autonomous System Number). This parameter is required if you need to use BGP functionality. Valid ASN range is 1–4294967295 (excluding 137718, 150436, and 65533)
- customer_
gateway_ strname - User gateway name. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the user gateway ID
- description str
- Description of the user gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- ip_
version str - IP address protocol type for the VPN gateway. Options: ipv4 (default), ipv6
- project_
name str - Project to which the user gateway belongs. If not specified, defaults to 'default', meaning the created resource belongs to the default project
-
Sequence[Customer
Gateway Tag Args]
- ip
Address String - Static public IP address of the peer local data center gateway or the VPN gateway egress IP address of another VPC. If the peer does not have a fixed static public IP, enter 0.0.0.0 here
- asn Number
- User gateway ASN (Autonomous System Number). This parameter is required if you need to use BGP functionality. Valid ASN range is 1–4294967295 (excluding 137718, 150436, and 65533)
- customer
Gateway StringName - User gateway name. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the user gateway ID
- description String
- Description of the user gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- ip
Version String - IP address protocol type for the VPN gateway. Options: ipv4 (default), ipv6
- project
Name String - Project to which the user gateway belongs. If not specified, defaults to 'default', meaning the created resource belongs to the default project
- List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the CustomerGateway resource produces the following output properties:
- Account
Id string - ID of the account to which the user gateway belongs
- Connection
Count int - Number of IPsec connections associated with the user gateway
- Created
Time string - Time when the user gateway was created
- Customer
Gateway stringId - Gateway ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Status of the user gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
- Updated
Time string - Time when the user gateway was updated
- Account
Id string - ID of the account to which the user gateway belongs
- Connection
Count int - Number of IPsec connections associated with the user gateway
- Created
Time string - Time when the user gateway was created
- Customer
Gateway stringId - Gateway ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Status of the user gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
- Updated
Time string - Time when the user gateway was updated
- account
Id String - ID of the account to which the user gateway belongs
- connection
Count Integer - Number of IPsec connections associated with the user gateway
- created
Time String - Time when the user gateway was created
- customer
Gateway StringId - Gateway ID
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Status of the user gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
- updated
Time String - Time when the user gateway was updated
- account
Id string - ID of the account to which the user gateway belongs
- connection
Count number - Number of IPsec connections associated with the user gateway
- created
Time string - Time when the user gateway was created
- customer
Gateway stringId - Gateway ID
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Status of the user gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
- updated
Time string - Time when the user gateway was updated
- account_
id str - ID of the account to which the user gateway belongs
- connection_
count int - Number of IPsec connections associated with the user gateway
- created_
time str - Time when the user gateway was created
- customer_
gateway_ strid - Gateway ID
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Status of the user gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
- updated_
time str - Time when the user gateway was updated
- account
Id String - ID of the account to which the user gateway belongs
- connection
Count Number - Number of IPsec connections associated with the user gateway
- created
Time String - Time when the user gateway was created
- customer
Gateway StringId - Gateway ID
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Status of the user gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
- updated
Time String - Time when the user gateway was updated
Look up Existing CustomerGateway Resource
Get an existing CustomerGateway 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?: CustomerGatewayState, opts?: CustomResourceOptions): CustomerGateway@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
asn: Optional[int] = None,
connection_count: Optional[int] = None,
created_time: Optional[str] = None,
customer_gateway_id: Optional[str] = None,
customer_gateway_name: Optional[str] = None,
description: Optional[str] = None,
ip_address: Optional[str] = None,
ip_version: Optional[str] = None,
project_name: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[CustomerGatewayTagArgs]] = None,
updated_time: Optional[str] = None) -> CustomerGatewayfunc GetCustomerGateway(ctx *Context, name string, id IDInput, state *CustomerGatewayState, opts ...ResourceOption) (*CustomerGateway, error)public static CustomerGateway Get(string name, Input<string> id, CustomerGatewayState? state, CustomResourceOptions? opts = null)public static CustomerGateway get(String name, Output<String> id, CustomerGatewayState state, CustomResourceOptions options)resources: _: type: volcenginecc:vpn:CustomerGateway 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.
- Account
Id string - ID of the account to which the user gateway belongs
- Asn int
- User gateway ASN (Autonomous System Number). This parameter is required if you need to use BGP functionality. Valid ASN range is 1–4294967295 (excluding 137718, 150436, and 65533)
- Connection
Count int - Number of IPsec connections associated with the user gateway
- Created
Time string - Time when the user gateway was created
- Customer
Gateway stringId - Gateway ID
- Customer
Gateway stringName - User gateway name. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the user gateway ID
- Description string
- Description of the user gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- Ip
Address string - Static public IP address of the peer local data center gateway or the VPN gateway egress IP address of another VPC. If the peer does not have a fixed static public IP, enter 0.0.0.0 here
- Ip
Version string - IP address protocol type for the VPN gateway. Options: ipv4 (default), ipv6
- Project
Name string - Project to which the user gateway belongs. If not specified, defaults to 'default', meaning the created resource belongs to the default project
- Status string
- Status of the user gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
-
List<Volcengine.
Customer Gateway Tag> - Updated
Time string - Time when the user gateway was updated
- Account
Id string - ID of the account to which the user gateway belongs
- Asn int
- User gateway ASN (Autonomous System Number). This parameter is required if you need to use BGP functionality. Valid ASN range is 1–4294967295 (excluding 137718, 150436, and 65533)
- Connection
Count int - Number of IPsec connections associated with the user gateway
- Created
Time string - Time when the user gateway was created
- Customer
Gateway stringId - Gateway ID
- Customer
Gateway stringName - User gateway name. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the user gateway ID
- Description string
- Description of the user gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- Ip
Address string - Static public IP address of the peer local data center gateway or the VPN gateway egress IP address of another VPC. If the peer does not have a fixed static public IP, enter 0.0.0.0 here
- Ip
Version string - IP address protocol type for the VPN gateway. Options: ipv4 (default), ipv6
- Project
Name string - Project to which the user gateway belongs. If not specified, defaults to 'default', meaning the created resource belongs to the default project
- Status string
- Status of the user gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
-
[]Customer
Gateway Tag Args - Updated
Time string - Time when the user gateway was updated
- account
Id String - ID of the account to which the user gateway belongs
- asn Integer
- User gateway ASN (Autonomous System Number). This parameter is required if you need to use BGP functionality. Valid ASN range is 1–4294967295 (excluding 137718, 150436, and 65533)
- connection
Count Integer - Number of IPsec connections associated with the user gateway
- created
Time String - Time when the user gateway was created
- customer
Gateway StringId - Gateway ID
- customer
Gateway StringName - User gateway name. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the user gateway ID
- description String
- Description of the user gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- ip
Address String - Static public IP address of the peer local data center gateway or the VPN gateway egress IP address of another VPC. If the peer does not have a fixed static public IP, enter 0.0.0.0 here
- ip
Version String - IP address protocol type for the VPN gateway. Options: ipv4 (default), ipv6
- project
Name String - Project to which the user gateway belongs. If not specified, defaults to 'default', meaning the created resource belongs to the default project
- status String
- Status of the user gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
-
List<Customer
Gateway Tag> - updated
Time String - Time when the user gateway was updated
- account
Id string - ID of the account to which the user gateway belongs
- asn number
- User gateway ASN (Autonomous System Number). This parameter is required if you need to use BGP functionality. Valid ASN range is 1–4294967295 (excluding 137718, 150436, and 65533)
- connection
Count number - Number of IPsec connections associated with the user gateway
- created
Time string - Time when the user gateway was created
- customer
Gateway stringId - Gateway ID
- customer
Gateway stringName - User gateway name. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the user gateway ID
- description string
- Description of the user gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- ip
Address string - Static public IP address of the peer local data center gateway or the VPN gateway egress IP address of another VPC. If the peer does not have a fixed static public IP, enter 0.0.0.0 here
- ip
Version string - IP address protocol type for the VPN gateway. Options: ipv4 (default), ipv6
- project
Name string - Project to which the user gateway belongs. If not specified, defaults to 'default', meaning the created resource belongs to the default project
- status string
- Status of the user gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
-
Customer
Gateway Tag[] - updated
Time string - Time when the user gateway was updated
- account_
id str - ID of the account to which the user gateway belongs
- asn int
- User gateway ASN (Autonomous System Number). This parameter is required if you need to use BGP functionality. Valid ASN range is 1–4294967295 (excluding 137718, 150436, and 65533)
- connection_
count int - Number of IPsec connections associated with the user gateway
- created_
time str - Time when the user gateway was created
- customer_
gateway_ strid - Gateway ID
- customer_
gateway_ strname - User gateway name. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the user gateway ID
- description str
- Description of the user gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- ip_
address str - Static public IP address of the peer local data center gateway or the VPN gateway egress IP address of another VPC. If the peer does not have a fixed static public IP, enter 0.0.0.0 here
- ip_
version str - IP address protocol type for the VPN gateway. Options: ipv4 (default), ipv6
- project_
name str - Project to which the user gateway belongs. If not specified, defaults to 'default', meaning the created resource belongs to the default project
- status str
- Status of the user gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
-
Sequence[Customer
Gateway Tag Args] - updated_
time str - Time when the user gateway was updated
- account
Id String - ID of the account to which the user gateway belongs
- asn Number
- User gateway ASN (Autonomous System Number). This parameter is required if you need to use BGP functionality. Valid ASN range is 1–4294967295 (excluding 137718, 150436, and 65533)
- connection
Count Number - Number of IPsec connections associated with the user gateway
- created
Time String - Time when the user gateway was created
- customer
Gateway StringId - Gateway ID
- customer
Gateway StringName - User gateway name. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, defaults to the user gateway ID
- description String
- Description of the user gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, defaults to an empty string
- ip
Address String - Static public IP address of the peer local data center gateway or the VPN gateway egress IP address of another VPC. If the peer does not have a fixed static public IP, enter 0.0.0.0 here
- ip
Version String - IP address protocol type for the VPN gateway. Options: ipv4 (default), ipv6
- project
Name String - Project to which the user gateway belongs. If not specified, defaults to 'default', meaning the created resource belongs to the default project
- status String
- Status of the user gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
- List<Property Map>
- updated
Time String - Time when the user gateway was updated
Supporting Types
CustomerGatewayTag, CustomerGatewayTagArgs
Import
$ pulumi import volcenginecc:vpn/customerGateway:CustomerGateway example "customer_gateway_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
