1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. transitrouter
  6. getVpcAttachment
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine

    Data Source schema for Volcengine::TransitRouter::VpcAttachment

    Using getVpcAttachment

    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 getVpcAttachment(args: GetVpcAttachmentArgs, opts?: InvokeOptions): Promise<GetVpcAttachmentResult>
    function getVpcAttachmentOutput(args: GetVpcAttachmentOutputArgs, opts?: InvokeOptions): Output<GetVpcAttachmentResult>
    def get_vpc_attachment(id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetVpcAttachmentResult
    def get_vpc_attachment_output(id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetVpcAttachmentResult]
    func LookupVpcAttachment(ctx *Context, args *LookupVpcAttachmentArgs, opts ...InvokeOption) (*LookupVpcAttachmentResult, error)
    func LookupVpcAttachmentOutput(ctx *Context, args *LookupVpcAttachmentOutputArgs, opts ...InvokeOption) LookupVpcAttachmentResultOutput

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

    public static class GetVpcAttachment 
    {
        public static Task<GetVpcAttachmentResult> InvokeAsync(GetVpcAttachmentArgs args, InvokeOptions? opts = null)
        public static Output<GetVpcAttachmentResult> Invoke(GetVpcAttachmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVpcAttachmentResult> getVpcAttachment(GetVpcAttachmentArgs args, InvokeOptions options)
    public static Output<GetVpcAttachmentResult> getVpcAttachment(GetVpcAttachmentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcenginecc:transitrouter/getVpcAttachment:getVpcAttachment
      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.

    getVpcAttachment Result

    The following output properties are available:

    ApplianceModeEnabled bool
    Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
    AttachPoints List<Volcengine.GetVpcAttachmentAttachPoint>
    Network instance connection list.
    AutoPublishRouteEnabled bool
    Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
    Bandwidth int
    Maximum bandwidth for the network instance connection, in Gbps.
    CreatedTime string
    Creation time.
    Description string
    Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
    Id string
    Uniquely identifies the resource.
    Ipv6Enabled bool
    Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
    Status string
    Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
    Tags List<Volcengine.GetVpcAttachmentTag>
    Tag list.
    TransitRouterAttachmentId string
    Network instance connection ID.
    TransitRouterAttachmentName string
    Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
    TransitRouterId string
    Transit router instance ID.
    UpdatedTime string
    Update time.
    VpcId string
    Private network instance ID.
    ApplianceModeEnabled bool
    Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
    AttachPoints []GetVpcAttachmentAttachPoint
    Network instance connection list.
    AutoPublishRouteEnabled bool
    Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
    Bandwidth int
    Maximum bandwidth for the network instance connection, in Gbps.
    CreatedTime string
    Creation time.
    Description string
    Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
    Id string
    Uniquely identifies the resource.
    Ipv6Enabled bool
    Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
    Status string
    Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
    Tags []GetVpcAttachmentTag
    Tag list.
    TransitRouterAttachmentId string
    Network instance connection ID.
    TransitRouterAttachmentName string
    Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
    TransitRouterId string
    Transit router instance ID.
    UpdatedTime string
    Update time.
    VpcId string
    Private network instance ID.
    applianceModeEnabled Boolean
    Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
    attachPoints List<GetVpcAttachmentAttachPoint>
    Network instance connection list.
    autoPublishRouteEnabled Boolean
    Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
    bandwidth Integer
    Maximum bandwidth for the network instance connection, in Gbps.
    createdTime String
    Creation time.
    description String
    Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
    id String
    Uniquely identifies the resource.
    ipv6Enabled Boolean
    Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
    status String
    Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
    tags List<GetVpcAttachmentTag>
    Tag list.
    transitRouterAttachmentId String
    Network instance connection ID.
    transitRouterAttachmentName String
    Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
    transitRouterId String
    Transit router instance ID.
    updatedTime String
    Update time.
    vpcId String
    Private network instance ID.
    applianceModeEnabled boolean
    Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
    attachPoints GetVpcAttachmentAttachPoint[]
    Network instance connection list.
    autoPublishRouteEnabled boolean
    Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
    bandwidth number
    Maximum bandwidth for the network instance connection, in Gbps.
    createdTime string
    Creation time.
    description string
    Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
    id string
    Uniquely identifies the resource.
    ipv6Enabled boolean
    Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
    status string
    Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
    tags GetVpcAttachmentTag[]
    Tag list.
    transitRouterAttachmentId string
    Network instance connection ID.
    transitRouterAttachmentName string
    Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
    transitRouterId string
    Transit router instance ID.
    updatedTime string
    Update time.
    vpcId string
    Private network instance ID.
    appliance_mode_enabled bool
    Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
    attach_points Sequence[GetVpcAttachmentAttachPoint]
    Network instance connection list.
    auto_publish_route_enabled bool
    Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
    bandwidth int
    Maximum bandwidth for the network instance connection, in Gbps.
    created_time str
    Creation time.
    description str
    Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
    id str
    Uniquely identifies the resource.
    ipv6_enabled bool
    Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
    status str
    Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
    tags Sequence[GetVpcAttachmentTag]
    Tag list.
    transit_router_attachment_id str
    Network instance connection ID.
    transit_router_attachment_name str
    Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
    transit_router_id str
    Transit router instance ID.
    updated_time str
    Update time.
    vpc_id str
    Private network instance ID.
    applianceModeEnabled Boolean
    Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
    attachPoints List<Property Map>
    Network instance connection list.
    autoPublishRouteEnabled Boolean
    Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
    bandwidth Number
    Maximum bandwidth for the network instance connection, in Gbps.
    createdTime String
    Creation time.
    description String
    Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
    id String
    Uniquely identifies the resource.
    ipv6Enabled Boolean
    Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
    status String
    Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
    tags List<Property Map>
    Tag list.
    transitRouterAttachmentId String
    Network instance connection ID.
    transitRouterAttachmentName String
    Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
    transitRouterId String
    Transit router instance ID.
    updatedTime String
    Update time.
    vpcId String
    Private network instance ID.

    Supporting Types

    GetVpcAttachmentAttachPoint

    NetworkInterfaceId string
    Network interface card ID of the connection point.
    SubnetId string
    Subnet ID of the connection point.
    ZoneId string
    Availability zone ID of the connection point.
    NetworkInterfaceId string
    Network interface card ID of the connection point.
    SubnetId string
    Subnet ID of the connection point.
    ZoneId string
    Availability zone ID of the connection point.
    networkInterfaceId String
    Network interface card ID of the connection point.
    subnetId String
    Subnet ID of the connection point.
    zoneId String
    Availability zone ID of the connection point.
    networkInterfaceId string
    Network interface card ID of the connection point.
    subnetId string
    Subnet ID of the connection point.
    zoneId string
    Availability zone ID of the connection point.
    network_interface_id str
    Network interface card ID of the connection point.
    subnet_id str
    Subnet ID of the connection point.
    zone_id str
    Availability zone ID of the connection point.
    networkInterfaceId String
    Network interface card ID of the connection point.
    subnetId String
    Subnet ID of the connection point.
    zoneId String
    Availability zone ID of the connection point.

    GetVpcAttachmentTag

    Key string
    Tag key for user tag.
    Value string
    Tag value for user tag.
    Key string
    Tag key for user tag.
    Value string
    Tag value for user tag.
    key String
    Tag key for user tag.
    value String
    Tag value for user tag.
    key string
    Tag key for user tag.
    value string
    Tag value for user tag.
    key str
    Tag key for user tag.
    value str
    Tag value for user tag.
    key String
    Tag key for user tag.
    value String
    Tag value for user tag.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.