published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
The Direct Connect Gateway is the entry point for local data centers to access the cloud. It connects private networks (VPC) and physical dedicated connections, enabling mutual access between on-premises data centers (IDC) and cloud private networks (VPC).
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const directConnectDirectConnectGatewayDemo = new volcenginecc.directconnect.DirectConnectGateway("DirectConnectDirectConnectGatewayDemo", {
description: "DirectConnectDirectConnectGatewayDemo-Description",
directConnectGatewayName: "DirectConnectDirectConnectGatewayDemo",
enableIpv6: false,
projectName: "default",
tags: [{
key: "env",
value: "test",
}],
});
import pulumi
import pulumi_volcenginecc as volcenginecc
direct_connect_direct_connect_gateway_demo = volcenginecc.directconnect.DirectConnectGateway("DirectConnectDirectConnectGatewayDemo",
description="DirectConnectDirectConnectGatewayDemo-Description",
direct_connect_gateway_name="DirectConnectDirectConnectGatewayDemo",
enable_ipv6=False,
project_name="default",
tags=[{
"key": "env",
"value": "test",
}])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/directconnect"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := directconnect.NewDirectConnectGateway(ctx, "DirectConnectDirectConnectGatewayDemo", &directconnect.DirectConnectGatewayArgs{
Description: pulumi.String("DirectConnectDirectConnectGatewayDemo-Description"),
DirectConnectGatewayName: pulumi.String("DirectConnectDirectConnectGatewayDemo"),
EnableIpv6: pulumi.Bool(false),
ProjectName: pulumi.String("default"),
Tags: directconnect.DirectConnectGatewayTagArray{
&directconnect.DirectConnectGatewayTagArgs{
Key: pulumi.String("env"),
Value: pulumi.String("test"),
},
},
})
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 directConnectDirectConnectGatewayDemo = new Volcenginecc.Directconnect.DirectConnectGateway("DirectConnectDirectConnectGatewayDemo", new()
{
Description = "DirectConnectDirectConnectGatewayDemo-Description",
DirectConnectGatewayName = "DirectConnectDirectConnectGatewayDemo",
EnableIpv6 = false,
ProjectName = "default",
Tags = new[]
{
new Volcenginecc.Directconnect.Inputs.DirectConnectGatewayTagArgs
{
Key = "env",
Value = "test",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.directconnect.DirectConnectGateway;
import com.volcengine.volcenginecc.directconnect.DirectConnectGatewayArgs;
import com.pulumi.volcenginecc.directconnect.inputs.DirectConnectGatewayTagArgs;
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 directConnectDirectConnectGatewayDemo = new DirectConnectGateway("directConnectDirectConnectGatewayDemo", DirectConnectGatewayArgs.builder()
.description("DirectConnectDirectConnectGatewayDemo-Description")
.directConnectGatewayName("DirectConnectDirectConnectGatewayDemo")
.enableIpv6(false)
.projectName("default")
.tags(DirectConnectGatewayTagArgs.builder()
.key("env")
.value("test")
.build())
.build());
}
}
resources:
directConnectDirectConnectGatewayDemo:
type: volcenginecc:directconnect:DirectConnectGateway
name: DirectConnectDirectConnectGatewayDemo
properties:
description: DirectConnectDirectConnectGatewayDemo-Description
directConnectGatewayName: DirectConnectDirectConnectGatewayDemo
enableIpv6: false
projectName: default
tags:
- key: env
value: test
Create DirectConnectGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DirectConnectGateway(name: string, args?: DirectConnectGatewayArgs, opts?: CustomResourceOptions);@overload
def DirectConnectGateway(resource_name: str,
args: Optional[DirectConnectGatewayArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def DirectConnectGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
bgp_asn: Optional[int] = None,
description: Optional[str] = None,
direct_connect_gateway_name: Optional[str] = None,
enable_ipv6: Optional[bool] = None,
project_name: Optional[str] = None,
tags: Optional[Sequence[DirectConnectGatewayTagArgs]] = None)func NewDirectConnectGateway(ctx *Context, name string, args *DirectConnectGatewayArgs, opts ...ResourceOption) (*DirectConnectGateway, error)public DirectConnectGateway(string name, DirectConnectGatewayArgs? args = null, CustomResourceOptions? opts = null)
public DirectConnectGateway(String name, DirectConnectGatewayArgs args)
public DirectConnectGateway(String name, DirectConnectGatewayArgs args, CustomResourceOptions options)
type: volcenginecc:directconnect:DirectConnectGateway
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 DirectConnectGatewayArgs
- 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 DirectConnectGatewayArgs
- 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 DirectConnectGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DirectConnectGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DirectConnectGatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DirectConnectGateway 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 DirectConnectGateway resource accepts the following input properties:
- Bgp
Asn int - ASN (Autonomous System Number) of the Direct Connect Gateway. Valid ASN range: 137718, 64512–65534, 4200000000–4294967294, where 137718 is the ASN for Volcengine. If the Direct Connect Gateway is used in standard scenarios (such as a local IDC connecting to a single cloud VPC resource via dedicated connection), use the Volcengine ASN (137718). If used in special scenarios (such as a single IDC connecting to multiple Cloud Enterprise Networks via dedicated connection), each Direct Connect Gateway must use a custom ASN and avoid using the Volcengine ASN (137718), ensuring that ASNs are not duplicated across Direct Connect Gateways.
- Description string
- Description for the dedicated 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 is limited to 0 to 255 characters. If this parameter is not provided or no value is entered, the default is an empty string.
- Direct
Connect stringGateway Name - Name of the Direct Connect Gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the Direct Connect Gateway ID.
- Enable
Ipv6 bool - Whether IPv6 is supported. true: supported. false: not supported.
- Project
Name string - Project to which the Direct Connect Gateway belongs.
-
List<Volcengine.
Direct Connect Gateway Tag>
- Bgp
Asn int - ASN (Autonomous System Number) of the Direct Connect Gateway. Valid ASN range: 137718, 64512–65534, 4200000000–4294967294, where 137718 is the ASN for Volcengine. If the Direct Connect Gateway is used in standard scenarios (such as a local IDC connecting to a single cloud VPC resource via dedicated connection), use the Volcengine ASN (137718). If used in special scenarios (such as a single IDC connecting to multiple Cloud Enterprise Networks via dedicated connection), each Direct Connect Gateway must use a custom ASN and avoid using the Volcengine ASN (137718), ensuring that ASNs are not duplicated across Direct Connect Gateways.
- Description string
- Description for the dedicated 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 is limited to 0 to 255 characters. If this parameter is not provided or no value is entered, the default is an empty string.
- Direct
Connect stringGateway Name - Name of the Direct Connect Gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the Direct Connect Gateway ID.
- Enable
Ipv6 bool - Whether IPv6 is supported. true: supported. false: not supported.
- Project
Name string - Project to which the Direct Connect Gateway belongs.
-
[]Direct
Connect Gateway Tag Args
- bgp
Asn Integer - ASN (Autonomous System Number) of the Direct Connect Gateway. Valid ASN range: 137718, 64512–65534, 4200000000–4294967294, where 137718 is the ASN for Volcengine. If the Direct Connect Gateway is used in standard scenarios (such as a local IDC connecting to a single cloud VPC resource via dedicated connection), use the Volcengine ASN (137718). If used in special scenarios (such as a single IDC connecting to multiple Cloud Enterprise Networks via dedicated connection), each Direct Connect Gateway must use a custom ASN and avoid using the Volcengine ASN (137718), ensuring that ASNs are not duplicated across Direct Connect Gateways.
- description String
- Description for the dedicated 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 is limited to 0 to 255 characters. If this parameter is not provided or no value is entered, the default is an empty string.
- direct
Connect StringGateway Name - Name of the Direct Connect Gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the Direct Connect Gateway ID.
- enable
Ipv6 Boolean - Whether IPv6 is supported. true: supported. false: not supported.
- project
Name String - Project to which the Direct Connect Gateway belongs.
-
List<Direct
Connect Gateway Tag>
- bgp
Asn number - ASN (Autonomous System Number) of the Direct Connect Gateway. Valid ASN range: 137718, 64512–65534, 4200000000–4294967294, where 137718 is the ASN for Volcengine. If the Direct Connect Gateway is used in standard scenarios (such as a local IDC connecting to a single cloud VPC resource via dedicated connection), use the Volcengine ASN (137718). If used in special scenarios (such as a single IDC connecting to multiple Cloud Enterprise Networks via dedicated connection), each Direct Connect Gateway must use a custom ASN and avoid using the Volcengine ASN (137718), ensuring that ASNs are not duplicated across Direct Connect Gateways.
- description string
- Description for the dedicated 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 is limited to 0 to 255 characters. If this parameter is not provided or no value is entered, the default is an empty string.
- direct
Connect stringGateway Name - Name of the Direct Connect Gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the Direct Connect Gateway ID.
- enable
Ipv6 boolean - Whether IPv6 is supported. true: supported. false: not supported.
- project
Name string - Project to which the Direct Connect Gateway belongs.
-
Direct
Connect Gateway Tag[]
- bgp_
asn int - ASN (Autonomous System Number) of the Direct Connect Gateway. Valid ASN range: 137718, 64512–65534, 4200000000–4294967294, where 137718 is the ASN for Volcengine. If the Direct Connect Gateway is used in standard scenarios (such as a local IDC connecting to a single cloud VPC resource via dedicated connection), use the Volcengine ASN (137718). If used in special scenarios (such as a single IDC connecting to multiple Cloud Enterprise Networks via dedicated connection), each Direct Connect Gateway must use a custom ASN and avoid using the Volcengine ASN (137718), ensuring that ASNs are not duplicated across Direct Connect Gateways.
- description str
- Description for the dedicated 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 is limited to 0 to 255 characters. If this parameter is not provided or no value is entered, the default is an empty string.
- direct_
connect_ strgateway_ name - Name of the Direct Connect Gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the Direct Connect Gateway ID.
- enable_
ipv6 bool - Whether IPv6 is supported. true: supported. false: not supported.
- project_
name str - Project to which the Direct Connect Gateway belongs.
-
Sequence[Direct
Connect Gateway Tag Args]
- bgp
Asn Number - ASN (Autonomous System Number) of the Direct Connect Gateway. Valid ASN range: 137718, 64512–65534, 4200000000–4294967294, where 137718 is the ASN for Volcengine. If the Direct Connect Gateway is used in standard scenarios (such as a local IDC connecting to a single cloud VPC resource via dedicated connection), use the Volcengine ASN (137718). If used in special scenarios (such as a single IDC connecting to multiple Cloud Enterprise Networks via dedicated connection), each Direct Connect Gateway must use a custom ASN and avoid using the Volcengine ASN (137718), ensuring that ASNs are not duplicated across Direct Connect Gateways.
- description String
- Description for the dedicated 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 is limited to 0 to 255 characters. If this parameter is not provided or no value is entered, the default is an empty string.
- direct
Connect StringGateway Name - Name of the Direct Connect Gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the Direct Connect Gateway ID.
- enable
Ipv6 Boolean - Whether IPv6 is supported. true: supported. false: not supported.
- project
Name String - Project to which the Direct Connect Gateway belongs.
- List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the DirectConnectGateway resource produces the following output properties:
- Account
Id string - ID of the account to which the Direct Connect Gateway belongs.
- Associate
Cens List<Volcengine.Direct Connect Gateway Associate Cen> - Associate
Eic Volcengine.Direct Connect Gateway Associate Eic - Associated EIC information.
- Business
Status string - Indicates whether the dedicated gateway is locked. Normal: normal. FinancialLocked: locked.
- Created
Time string - Time when the Direct Connect Gateway was created.
- Deleted
Time string - Expected forced resource reclamation time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- Direct
Connect stringGateway Id - ID of the Direct Connect Gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lock
Reason string - Reason for Direct Connect Gateway lock. unlock: not locked; financial: locked due to overdue payment; security: locked due to security reasons.
- Overdue
Time string - Resource freeze time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- Status string
- Status of the Direct Connect Gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
- Updated
Time string - Time when the Direct Connect Gateway was updated.
- Account
Id string - ID of the account to which the Direct Connect Gateway belongs.
- Associate
Cens []DirectConnect Gateway Associate Cen - Associate
Eic DirectConnect Gateway Associate Eic - Associated EIC information.
- Business
Status string - Indicates whether the dedicated gateway is locked. Normal: normal. FinancialLocked: locked.
- Created
Time string - Time when the Direct Connect Gateway was created.
- Deleted
Time string - Expected forced resource reclamation time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- Direct
Connect stringGateway Id - ID of the Direct Connect Gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lock
Reason string - Reason for Direct Connect Gateway lock. unlock: not locked; financial: locked due to overdue payment; security: locked due to security reasons.
- Overdue
Time string - Resource freeze time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- Status string
- Status of the Direct Connect Gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
- Updated
Time string - Time when the Direct Connect Gateway was updated.
- account
Id String - ID of the account to which the Direct Connect Gateway belongs.
- associate
Cens List<DirectConnect Gateway Associate Cen> - associate
Eic DirectConnect Gateway Associate Eic - Associated EIC information.
- business
Status String - Indicates whether the dedicated gateway is locked. Normal: normal. FinancialLocked: locked.
- created
Time String - Time when the Direct Connect Gateway was created.
- deleted
Time String - Expected forced resource reclamation time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- direct
Connect StringGateway Id - ID of the Direct Connect Gateway.
- id String
- The provider-assigned unique ID for this managed resource.
- lock
Reason String - Reason for Direct Connect Gateway lock. unlock: not locked; financial: locked due to overdue payment; security: locked due to security reasons.
- overdue
Time String - Resource freeze time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- status String
- Status of the Direct Connect Gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
- updated
Time String - Time when the Direct Connect Gateway was updated.
- account
Id string - ID of the account to which the Direct Connect Gateway belongs.
- associate
Cens DirectConnect Gateway Associate Cen[] - associate
Eic DirectConnect Gateway Associate Eic - Associated EIC information.
- business
Status string - Indicates whether the dedicated gateway is locked. Normal: normal. FinancialLocked: locked.
- created
Time string - Time when the Direct Connect Gateway was created.
- deleted
Time string - Expected forced resource reclamation time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- direct
Connect stringGateway Id - ID of the Direct Connect Gateway.
- id string
- The provider-assigned unique ID for this managed resource.
- lock
Reason string - Reason for Direct Connect Gateway lock. unlock: not locked; financial: locked due to overdue payment; security: locked due to security reasons.
- overdue
Time string - Resource freeze time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- status string
- Status of the Direct Connect Gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
- updated
Time string - Time when the Direct Connect Gateway was updated.
- account_
id str - ID of the account to which the Direct Connect Gateway belongs.
- associate_
cens Sequence[DirectConnect Gateway Associate Cen] - associate_
eic DirectConnect Gateway Associate Eic - Associated EIC information.
- business_
status str - Indicates whether the dedicated gateway is locked. Normal: normal. FinancialLocked: locked.
- created_
time str - Time when the Direct Connect Gateway was created.
- deleted_
time str - Expected forced resource reclamation time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- direct_
connect_ strgateway_ id - ID of the Direct Connect Gateway.
- id str
- The provider-assigned unique ID for this managed resource.
- lock_
reason str - Reason for Direct Connect Gateway lock. unlock: not locked; financial: locked due to overdue payment; security: locked due to security reasons.
- overdue_
time str - Resource freeze time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- status str
- Status of the Direct Connect Gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
- updated_
time str - Time when the Direct Connect Gateway was updated.
- account
Id String - ID of the account to which the Direct Connect Gateway belongs.
- associate
Cens List<Property Map> - associate
Eic Property Map - Associated EIC information.
- business
Status String - Indicates whether the dedicated gateway is locked. Normal: normal. FinancialLocked: locked.
- created
Time String - Time when the Direct Connect Gateway was created.
- deleted
Time String - Expected forced resource reclamation time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- direct
Connect StringGateway Id - ID of the Direct Connect Gateway.
- id String
- The provider-assigned unique ID for this managed resource.
- lock
Reason String - Reason for Direct Connect Gateway lock. unlock: not locked; financial: locked due to overdue payment; security: locked due to security reasons.
- overdue
Time String - Resource freeze time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- status String
- Status of the Direct Connect Gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
- updated
Time String - Time when the Direct Connect Gateway was updated.
Look up Existing DirectConnectGateway Resource
Get an existing DirectConnectGateway 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?: DirectConnectGatewayState, opts?: CustomResourceOptions): DirectConnectGateway@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
associate_cens: Optional[Sequence[DirectConnectGatewayAssociateCenArgs]] = None,
associate_eic: Optional[DirectConnectGatewayAssociateEicArgs] = None,
bgp_asn: Optional[int] = None,
business_status: Optional[str] = None,
created_time: Optional[str] = None,
deleted_time: Optional[str] = None,
description: Optional[str] = None,
direct_connect_gateway_id: Optional[str] = None,
direct_connect_gateway_name: Optional[str] = None,
enable_ipv6: Optional[bool] = None,
lock_reason: Optional[str] = None,
overdue_time: Optional[str] = None,
project_name: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[DirectConnectGatewayTagArgs]] = None,
updated_time: Optional[str] = None) -> DirectConnectGatewayfunc GetDirectConnectGateway(ctx *Context, name string, id IDInput, state *DirectConnectGatewayState, opts ...ResourceOption) (*DirectConnectGateway, error)public static DirectConnectGateway Get(string name, Input<string> id, DirectConnectGatewayState? state, CustomResourceOptions? opts = null)public static DirectConnectGateway get(String name, Output<String> id, DirectConnectGatewayState state, CustomResourceOptions options)resources: _: type: volcenginecc:directconnect:DirectConnectGateway 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 Direct Connect Gateway belongs.
- Associate
Cens List<Volcengine.Direct Connect Gateway Associate Cen> - Associate
Eic Volcengine.Direct Connect Gateway Associate Eic - Associated EIC information.
- Bgp
Asn int - ASN (Autonomous System Number) of the Direct Connect Gateway. Valid ASN range: 137718, 64512–65534, 4200000000–4294967294, where 137718 is the ASN for Volcengine. If the Direct Connect Gateway is used in standard scenarios (such as a local IDC connecting to a single cloud VPC resource via dedicated connection), use the Volcengine ASN (137718). If used in special scenarios (such as a single IDC connecting to multiple Cloud Enterprise Networks via dedicated connection), each Direct Connect Gateway must use a custom ASN and avoid using the Volcengine ASN (137718), ensuring that ASNs are not duplicated across Direct Connect Gateways.
- Business
Status string - Indicates whether the dedicated gateway is locked. Normal: normal. FinancialLocked: locked.
- Created
Time string - Time when the Direct Connect Gateway was created.
- Deleted
Time string - Expected forced resource reclamation time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- Description string
- Description for the dedicated 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 is limited to 0 to 255 characters. If this parameter is not provided or no value is entered, the default is an empty string.
- Direct
Connect stringGateway Id - ID of the Direct Connect Gateway.
- Direct
Connect stringGateway Name - Name of the Direct Connect Gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the Direct Connect Gateway ID.
- Enable
Ipv6 bool - Whether IPv6 is supported. true: supported. false: not supported.
- Lock
Reason string - Reason for Direct Connect Gateway lock. unlock: not locked; financial: locked due to overdue payment; security: locked due to security reasons.
- Overdue
Time string - Resource freeze time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- Project
Name string - Project to which the Direct Connect Gateway belongs.
- Status string
- Status of the Direct Connect Gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
-
List<Volcengine.
Direct Connect Gateway Tag> - Updated
Time string - Time when the Direct Connect Gateway was updated.
- Account
Id string - ID of the account to which the Direct Connect Gateway belongs.
- Associate
Cens []DirectConnect Gateway Associate Cen Args - Associate
Eic DirectConnect Gateway Associate Eic Args - Associated EIC information.
- Bgp
Asn int - ASN (Autonomous System Number) of the Direct Connect Gateway. Valid ASN range: 137718, 64512–65534, 4200000000–4294967294, where 137718 is the ASN for Volcengine. If the Direct Connect Gateway is used in standard scenarios (such as a local IDC connecting to a single cloud VPC resource via dedicated connection), use the Volcengine ASN (137718). If used in special scenarios (such as a single IDC connecting to multiple Cloud Enterprise Networks via dedicated connection), each Direct Connect Gateway must use a custom ASN and avoid using the Volcengine ASN (137718), ensuring that ASNs are not duplicated across Direct Connect Gateways.
- Business
Status string - Indicates whether the dedicated gateway is locked. Normal: normal. FinancialLocked: locked.
- Created
Time string - Time when the Direct Connect Gateway was created.
- Deleted
Time string - Expected forced resource reclamation time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- Description string
- Description for the dedicated 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 is limited to 0 to 255 characters. If this parameter is not provided or no value is entered, the default is an empty string.
- Direct
Connect stringGateway Id - ID of the Direct Connect Gateway.
- Direct
Connect stringGateway Name - Name of the Direct Connect Gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the Direct Connect Gateway ID.
- Enable
Ipv6 bool - Whether IPv6 is supported. true: supported. false: not supported.
- Lock
Reason string - Reason for Direct Connect Gateway lock. unlock: not locked; financial: locked due to overdue payment; security: locked due to security reasons.
- Overdue
Time string - Resource freeze time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- Project
Name string - Project to which the Direct Connect Gateway belongs.
- Status string
- Status of the Direct Connect Gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
-
[]Direct
Connect Gateway Tag Args - Updated
Time string - Time when the Direct Connect Gateway was updated.
- account
Id String - ID of the account to which the Direct Connect Gateway belongs.
- associate
Cens List<DirectConnect Gateway Associate Cen> - associate
Eic DirectConnect Gateway Associate Eic - Associated EIC information.
- bgp
Asn Integer - ASN (Autonomous System Number) of the Direct Connect Gateway. Valid ASN range: 137718, 64512–65534, 4200000000–4294967294, where 137718 is the ASN for Volcengine. If the Direct Connect Gateway is used in standard scenarios (such as a local IDC connecting to a single cloud VPC resource via dedicated connection), use the Volcengine ASN (137718). If used in special scenarios (such as a single IDC connecting to multiple Cloud Enterprise Networks via dedicated connection), each Direct Connect Gateway must use a custom ASN and avoid using the Volcengine ASN (137718), ensuring that ASNs are not duplicated across Direct Connect Gateways.
- business
Status String - Indicates whether the dedicated gateway is locked. Normal: normal. FinancialLocked: locked.
- created
Time String - Time when the Direct Connect Gateway was created.
- deleted
Time String - Expected forced resource reclamation time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- description String
- Description for the dedicated 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 is limited to 0 to 255 characters. If this parameter is not provided or no value is entered, the default is an empty string.
- direct
Connect StringGateway Id - ID of the Direct Connect Gateway.
- direct
Connect StringGateway Name - Name of the Direct Connect Gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the Direct Connect Gateway ID.
- enable
Ipv6 Boolean - Whether IPv6 is supported. true: supported. false: not supported.
- lock
Reason String - Reason for Direct Connect Gateway lock. unlock: not locked; financial: locked due to overdue payment; security: locked due to security reasons.
- overdue
Time String - Resource freeze time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- project
Name String - Project to which the Direct Connect Gateway belongs.
- status String
- Status of the Direct Connect Gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
-
List<Direct
Connect Gateway Tag> - updated
Time String - Time when the Direct Connect Gateway was updated.
- account
Id string - ID of the account to which the Direct Connect Gateway belongs.
- associate
Cens DirectConnect Gateway Associate Cen[] - associate
Eic DirectConnect Gateway Associate Eic - Associated EIC information.
- bgp
Asn number - ASN (Autonomous System Number) of the Direct Connect Gateway. Valid ASN range: 137718, 64512–65534, 4200000000–4294967294, where 137718 is the ASN for Volcengine. If the Direct Connect Gateway is used in standard scenarios (such as a local IDC connecting to a single cloud VPC resource via dedicated connection), use the Volcengine ASN (137718). If used in special scenarios (such as a single IDC connecting to multiple Cloud Enterprise Networks via dedicated connection), each Direct Connect Gateway must use a custom ASN and avoid using the Volcengine ASN (137718), ensuring that ASNs are not duplicated across Direct Connect Gateways.
- business
Status string - Indicates whether the dedicated gateway is locked. Normal: normal. FinancialLocked: locked.
- created
Time string - Time when the Direct Connect Gateway was created.
- deleted
Time string - Expected forced resource reclamation time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- description string
- Description for the dedicated 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 is limited to 0 to 255 characters. If this parameter is not provided or no value is entered, the default is an empty string.
- direct
Connect stringGateway Id - ID of the Direct Connect Gateway.
- direct
Connect stringGateway Name - Name of the Direct Connect Gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the Direct Connect Gateway ID.
- enable
Ipv6 boolean - Whether IPv6 is supported. true: supported. false: not supported.
- lock
Reason string - Reason for Direct Connect Gateway lock. unlock: not locked; financial: locked due to overdue payment; security: locked due to security reasons.
- overdue
Time string - Resource freeze time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- project
Name string - Project to which the Direct Connect Gateway belongs.
- status string
- Status of the Direct Connect Gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
-
Direct
Connect Gateway Tag[] - updated
Time string - Time when the Direct Connect Gateway was updated.
- account_
id str - ID of the account to which the Direct Connect Gateway belongs.
- associate_
cens Sequence[DirectConnect Gateway Associate Cen Args] - associate_
eic DirectConnect Gateway Associate Eic Args - Associated EIC information.
- bgp_
asn int - ASN (Autonomous System Number) of the Direct Connect Gateway. Valid ASN range: 137718, 64512–65534, 4200000000–4294967294, where 137718 is the ASN for Volcengine. If the Direct Connect Gateway is used in standard scenarios (such as a local IDC connecting to a single cloud VPC resource via dedicated connection), use the Volcengine ASN (137718). If used in special scenarios (such as a single IDC connecting to multiple Cloud Enterprise Networks via dedicated connection), each Direct Connect Gateway must use a custom ASN and avoid using the Volcengine ASN (137718), ensuring that ASNs are not duplicated across Direct Connect Gateways.
- business_
status str - Indicates whether the dedicated gateway is locked. Normal: normal. FinancialLocked: locked.
- created_
time str - Time when the Direct Connect Gateway was created.
- deleted_
time str - Expected forced resource reclamation time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- description str
- Description for the dedicated 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 is limited to 0 to 255 characters. If this parameter is not provided or no value is entered, the default is an empty string.
- direct_
connect_ strgateway_ id - ID of the Direct Connect Gateway.
- direct_
connect_ strgateway_ name - Name of the Direct Connect Gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the Direct Connect Gateway ID.
- enable_
ipv6 bool - Whether IPv6 is supported. true: supported. false: not supported.
- lock_
reason str - Reason for Direct Connect Gateway lock. unlock: not locked; financial: locked due to overdue payment; security: locked due to security reasons.
- overdue_
time str - Resource freeze time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- project_
name str - Project to which the Direct Connect Gateway belongs.
- status str
- Status of the Direct Connect Gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
-
Sequence[Direct
Connect Gateway Tag Args] - updated_
time str - Time when the Direct Connect Gateway was updated.
- account
Id String - ID of the account to which the Direct Connect Gateway belongs.
- associate
Cens List<Property Map> - associate
Eic Property Map - Associated EIC information.
- bgp
Asn Number - ASN (Autonomous System Number) of the Direct Connect Gateway. Valid ASN range: 137718, 64512–65534, 4200000000–4294967294, where 137718 is the ASN for Volcengine. If the Direct Connect Gateway is used in standard scenarios (such as a local IDC connecting to a single cloud VPC resource via dedicated connection), use the Volcengine ASN (137718). If used in special scenarios (such as a single IDC connecting to multiple Cloud Enterprise Networks via dedicated connection), each Direct Connect Gateway must use a custom ASN and avoid using the Volcengine ASN (137718), ensuring that ASNs are not duplicated across Direct Connect Gateways.
- business
Status String - Indicates whether the dedicated gateway is locked. Normal: normal. FinancialLocked: locked.
- created
Time String - Time when the Direct Connect Gateway was created.
- deleted
Time String - Expected forced resource reclamation time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- description String
- Description for the dedicated 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 is limited to 0 to 255 characters. If this parameter is not provided or no value is entered, the default is an empty string.
- direct
Connect StringGateway Id - ID of the Direct Connect Gateway.
- direct
Connect StringGateway Name - Name of the Direct Connect Gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the Direct Connect Gateway ID.
- enable
Ipv6 Boolean - Whether IPv6 is supported. true: supported. false: not supported.
- lock
Reason String - Reason for Direct Connect Gateway lock. unlock: not locked; financial: locked due to overdue payment; security: locked due to security reasons.
- overdue
Time String - Resource freeze time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null.
- project
Name String - Project to which the Direct Connect Gateway belongs.
- status String
- Status of the Direct Connect Gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
- List<Property Map>
- updated
Time String - Time when the Direct Connect Gateway was updated.
Supporting Types
DirectConnectGatewayAssociateCen, DirectConnectGatewayAssociateCenArgs
- Cen
Id string - ID of CEN.
- Cen
Owner stringId - User ID of CEN.
- Cen
Status string - Status of the instance in CEN. Attaching: attaching. Attached: attached.
- Cen
Id string - ID of CEN.
- Cen
Owner stringId - User ID of CEN.
- Cen
Status string - Status of the instance in CEN. Attaching: attaching. Attached: attached.
- cen
Id String - ID of CEN.
- cen
Owner StringId - User ID of CEN.
- cen
Status String - Status of the instance in CEN. Attaching: attaching. Attached: attached.
- cen
Id string - ID of CEN.
- cen
Owner stringId - User ID of CEN.
- cen
Status string - Status of the instance in CEN. Attaching: attaching. Attached: attached.
- cen_
id str - ID of CEN.
- cen_
owner_ strid - User ID of CEN.
- cen_
status str - Status of the instance in CEN. Attaching: attaching. Attached: attached.
- cen
Id String - ID of CEN.
- cen
Owner StringId - User ID of CEN.
- cen
Status String - Status of the instance in CEN. Attaching: attaching. Attached: attached.
DirectConnectGatewayAssociateEic, DirectConnectGatewayAssociateEicArgs
- Eic
Id string - ID of EIC.
- Eic
Owner stringId - User ID of EIC.
- Eic
Status string - Status of the instance in EIC.
- Eic
Id string - ID of EIC.
- Eic
Owner stringId - User ID of EIC.
- Eic
Status string - Status of the instance in EIC.
- eic
Id String - ID of EIC.
- eic
Owner StringId - User ID of EIC.
- eic
Status String - Status of the instance in EIC.
- eic
Id string - ID of EIC.
- eic
Owner stringId - User ID of EIC.
- eic
Status string - Status of the instance in EIC.
- eic_
id str - ID of EIC.
- eic_
owner_ strid - User ID of EIC.
- eic_
status str - Status of the instance in EIC.
- eic
Id String - ID of EIC.
- eic
Owner StringId - User ID of EIC.
- eic
Status String - Status of the instance in EIC.
DirectConnectGatewayTag, DirectConnectGatewayTagArgs
Import
$ pulumi import volcenginecc:directconnect/directConnectGateway:DirectConnectGateway example "direct_connect_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
