1. Packages
  2. Bytepluscc Provider
  3. API Docs
  4. directconnect
  5. getDirectConnectGateway
bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus
bytepluscc logo
bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus

    Data Source schema for Byteplus::DirectConnect::DirectConnectGateway

    Using getDirectConnectGateway

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDirectConnectGateway(args: GetDirectConnectGatewayArgs, opts?: InvokeOptions): Promise<GetDirectConnectGatewayResult>
    function getDirectConnectGatewayOutput(args: GetDirectConnectGatewayOutputArgs, opts?: InvokeOptions): Output<GetDirectConnectGatewayResult>
    def get_direct_connect_gateway(id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetDirectConnectGatewayResult
    def get_direct_connect_gateway_output(id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetDirectConnectGatewayResult]
    func LookupDirectConnectGateway(ctx *Context, args *LookupDirectConnectGatewayArgs, opts ...InvokeOption) (*LookupDirectConnectGatewayResult, error)
    func LookupDirectConnectGatewayOutput(ctx *Context, args *LookupDirectConnectGatewayOutputArgs, opts ...InvokeOption) LookupDirectConnectGatewayResultOutput

    > Note: This function is named LookupDirectConnectGateway in the Go SDK.

    public static class GetDirectConnectGateway 
    {
        public static Task<GetDirectConnectGatewayResult> InvokeAsync(GetDirectConnectGatewayArgs args, InvokeOptions? opts = null)
        public static Output<GetDirectConnectGatewayResult> Invoke(GetDirectConnectGatewayInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDirectConnectGatewayResult> getDirectConnectGateway(GetDirectConnectGatewayArgs args, InvokeOptions options)
    public static Output<GetDirectConnectGatewayResult> getDirectConnectGateway(GetDirectConnectGatewayArgs args, InvokeOptions options)
    
    fn::invoke:
      function: bytepluscc:directconnect/getDirectConnectGateway:getDirectConnectGateway
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getDirectConnectGateway Result

    The following output properties are available:

    AccountId string
    专线网关所属账号的ID。
    AssociateCens List<Byteplus.GetDirectConnectGatewayAssociateCen>
    关联的CEN信息。
    BgpAsn int
    专线网关的ASN(Autonomous System Number)。专线网关ASN有效范围为:137718、64512 ~ 65534 、4200000000 ~ 4294967294,其中137718为火山引擎的ASN。如果专线网关仅在普通场景下使用(如本地IDC通过专线连接访问单个云上VPC资源),请使用火山引擎ASN(137718)。如果专线网关在特殊场景下使用(如单个IDC通过专线连接访问多个云企业网),每个专线网关均要自定义ASN且避免使用火山引擎ASN(137718),确保不同专线网关的ASN不重复。
    BusinessStatus string
    专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
    CreatedTime string
    创建专线网关的时间。
    DeletedTime string
    预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
    Description string
    专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
    DirectConnectGatewayId string
    专线网关的ID。
    DirectConnectGatewayName string
    专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
    EnableIpv6 bool
    是否支持IPv6。true:支持。false:不支持。
    Id string
    Uniquely identifies the resource.
    LockReason string
    专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
    OverdueTime string
    资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
    ProjectName string
    专线网关所属的项目。
    Status string
    专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
    Tags List<Byteplus.GetDirectConnectGatewayTag>
    专线网关已添加的全部标签信息。
    UpdatedTime string
    更新专线网关的时间。
    AccountId string
    专线网关所属账号的ID。
    AssociateCens []GetDirectConnectGatewayAssociateCen
    关联的CEN信息。
    BgpAsn int
    专线网关的ASN(Autonomous System Number)。专线网关ASN有效范围为:137718、64512 ~ 65534 、4200000000 ~ 4294967294,其中137718为火山引擎的ASN。如果专线网关仅在普通场景下使用(如本地IDC通过专线连接访问单个云上VPC资源),请使用火山引擎ASN(137718)。如果专线网关在特殊场景下使用(如单个IDC通过专线连接访问多个云企业网),每个专线网关均要自定义ASN且避免使用火山引擎ASN(137718),确保不同专线网关的ASN不重复。
    BusinessStatus string
    专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
    CreatedTime string
    创建专线网关的时间。
    DeletedTime string
    预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
    Description string
    专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
    DirectConnectGatewayId string
    专线网关的ID。
    DirectConnectGatewayName string
    专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
    EnableIpv6 bool
    是否支持IPv6。true:支持。false:不支持。
    Id string
    Uniquely identifies the resource.
    LockReason string
    专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
    OverdueTime string
    资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
    ProjectName string
    专线网关所属的项目。
    Status string
    专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
    Tags []GetDirectConnectGatewayTag
    专线网关已添加的全部标签信息。
    UpdatedTime string
    更新专线网关的时间。
    accountId String
    专线网关所属账号的ID。
    associateCens List<GetDirectConnectGatewayAssociateCen>
    关联的CEN信息。
    bgpAsn Integer
    专线网关的ASN(Autonomous System Number)。专线网关ASN有效范围为:137718、64512 ~ 65534 、4200000000 ~ 4294967294,其中137718为火山引擎的ASN。如果专线网关仅在普通场景下使用(如本地IDC通过专线连接访问单个云上VPC资源),请使用火山引擎ASN(137718)。如果专线网关在特殊场景下使用(如单个IDC通过专线连接访问多个云企业网),每个专线网关均要自定义ASN且避免使用火山引擎ASN(137718),确保不同专线网关的ASN不重复。
    businessStatus String
    专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
    createdTime String
    创建专线网关的时间。
    deletedTime String
    预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
    description String
    专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
    directConnectGatewayId String
    专线网关的ID。
    directConnectGatewayName String
    专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
    enableIpv6 Boolean
    是否支持IPv6。true:支持。false:不支持。
    id String
    Uniquely identifies the resource.
    lockReason String
    专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
    overdueTime String
    资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
    projectName String
    专线网关所属的项目。
    status String
    专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
    tags List<GetDirectConnectGatewayTag>
    专线网关已添加的全部标签信息。
    updatedTime String
    更新专线网关的时间。
    accountId string
    专线网关所属账号的ID。
    associateCens GetDirectConnectGatewayAssociateCen[]
    关联的CEN信息。
    bgpAsn number
    专线网关的ASN(Autonomous System Number)。专线网关ASN有效范围为:137718、64512 ~ 65534 、4200000000 ~ 4294967294,其中137718为火山引擎的ASN。如果专线网关仅在普通场景下使用(如本地IDC通过专线连接访问单个云上VPC资源),请使用火山引擎ASN(137718)。如果专线网关在特殊场景下使用(如单个IDC通过专线连接访问多个云企业网),每个专线网关均要自定义ASN且避免使用火山引擎ASN(137718),确保不同专线网关的ASN不重复。
    businessStatus string
    专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
    createdTime string
    创建专线网关的时间。
    deletedTime string
    预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
    description string
    专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
    directConnectGatewayId string
    专线网关的ID。
    directConnectGatewayName string
    专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
    enableIpv6 boolean
    是否支持IPv6。true:支持。false:不支持。
    id string
    Uniquely identifies the resource.
    lockReason string
    专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
    overdueTime string
    资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
    projectName string
    专线网关所属的项目。
    status string
    专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
    tags GetDirectConnectGatewayTag[]
    专线网关已添加的全部标签信息。
    updatedTime string
    更新专线网关的时间。
    account_id str
    专线网关所属账号的ID。
    associate_cens Sequence[GetDirectConnectGatewayAssociateCen]
    关联的CEN信息。
    bgp_asn int
    专线网关的ASN(Autonomous System Number)。专线网关ASN有效范围为:137718、64512 ~ 65534 、4200000000 ~ 4294967294,其中137718为火山引擎的ASN。如果专线网关仅在普通场景下使用(如本地IDC通过专线连接访问单个云上VPC资源),请使用火山引擎ASN(137718)。如果专线网关在特殊场景下使用(如单个IDC通过专线连接访问多个云企业网),每个专线网关均要自定义ASN且避免使用火山引擎ASN(137718),确保不同专线网关的ASN不重复。
    business_status str
    专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
    created_time str
    创建专线网关的时间。
    deleted_time str
    预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
    description str
    专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
    direct_connect_gateway_id str
    专线网关的ID。
    direct_connect_gateway_name str
    专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
    enable_ipv6 bool
    是否支持IPv6。true:支持。false:不支持。
    id str
    Uniquely identifies the resource.
    lock_reason str
    专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
    overdue_time str
    资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
    project_name str
    专线网关所属的项目。
    status str
    专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
    tags Sequence[GetDirectConnectGatewayTag]
    专线网关已添加的全部标签信息。
    updated_time str
    更新专线网关的时间。
    accountId String
    专线网关所属账号的ID。
    associateCens List<Property Map>
    关联的CEN信息。
    bgpAsn Number
    专线网关的ASN(Autonomous System Number)。专线网关ASN有效范围为:137718、64512 ~ 65534 、4200000000 ~ 4294967294,其中137718为火山引擎的ASN。如果专线网关仅在普通场景下使用(如本地IDC通过专线连接访问单个云上VPC资源),请使用火山引擎ASN(137718)。如果专线网关在特殊场景下使用(如单个IDC通过专线连接访问多个云企业网),每个专线网关均要自定义ASN且避免使用火山引擎ASN(137718),确保不同专线网关的ASN不重复。
    businessStatus String
    专线网关是否被锁定。Normal:正常。FinancialLocked:被锁定。
    createdTime String
    创建专线网关的时间。
    deletedTime String
    预期资源强制回收时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
    description String
    专线网关的描述信息。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、空格( )、下划线(_)、中划线(-)、等号(=)、英文逗号(,)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
    directConnectGatewayId String
    专线网关的ID。
    directConnectGatewayName String
    专线网关的名称。以中文、字母、数字开头,只能包含中文、字母、数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为专线网关的ID。
    enableIpv6 Boolean
    是否支持IPv6。true:支持。false:不支持。
    id String
    Uniquely identifies the resource.
    lockReason String
    专线网关被锁定的原因。unlock:解锁。financial:因欠费被锁定。security:因安全被锁定。
    overdueTime String
    资源冻结时间。仅当资源因为欠费冻结,此参数才会有返回值,否则均返回空值。
    projectName String
    专线网关所属的项目。
    status String
    专线网关的状态。Creating:创建中。Deleting:删除中。Pending:配置中。Available:可用。
    tags List<Property Map>
    专线网关已添加的全部标签信息。
    updatedTime String
    更新专线网关的时间。

    Supporting Types

    GetDirectConnectGatewayAssociateCen

    CenId string
    CEN的ID。
    CenOwnerId string
    CEN的用户ID。
    CenStatus string
    实例在CEN中的状态。Attaching:加载中。Attached:已加载。
    CenId string
    CEN的ID。
    CenOwnerId string
    CEN的用户ID。
    CenStatus string
    实例在CEN中的状态。Attaching:加载中。Attached:已加载。
    cenId String
    CEN的ID。
    cenOwnerId String
    CEN的用户ID。
    cenStatus String
    实例在CEN中的状态。Attaching:加载中。Attached:已加载。
    cenId string
    CEN的ID。
    cenOwnerId string
    CEN的用户ID。
    cenStatus string
    实例在CEN中的状态。Attaching:加载中。Attached:已加载。
    cen_id str
    CEN的ID。
    cen_owner_id str
    CEN的用户ID。
    cen_status str
    实例在CEN中的状态。Attaching:加载中。Attached:已加载。
    cenId String
    CEN的ID。
    cenOwnerId String
    CEN的用户ID。
    cenStatus String
    实例在CEN中的状态。Attaching:加载中。Attached:已加载。

    GetDirectConnectGatewayTag

    Key string
    用户标签的标签键。长度取值范围为1~128字符。
    Value string
    用户标签的标签值。长度取值范围为0~256字符。
    Key string
    用户标签的标签键。长度取值范围为1~128字符。
    Value string
    用户标签的标签值。长度取值范围为0~256字符。
    key String
    用户标签的标签键。长度取值范围为1~128字符。
    value String
    用户标签的标签值。长度取值范围为0~256字符。
    key string
    用户标签的标签键。长度取值范围为1~128字符。
    value string
    用户标签的标签值。长度取值范围为0~256字符。
    key str
    用户标签的标签键。长度取值范围为1~128字符。
    value str
    用户标签的标签值。长度取值范围为0~256字符。
    key String
    用户标签的标签键。长度取值范围为1~128字符。
    value String
    用户标签的标签值。长度取值范围为0~256字符。

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus
      Meet Neo: Your AI Platform Teammate