import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::TransitRouter::PeerAttachment */ export declare function getPeerAttachment(args: GetPeerAttachmentArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPeerAttachment. */ export interface GetPeerAttachmentArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getPeerAttachment. */ export interface GetPeerAttachmentResult { /** * Automatically synchronize TR routes to the network instance route table. true: Yes. false: No. */ readonly autoPublishRouteEnabled: boolean; /** * Bandwidth for cross-region connection, measured in Mbps. The maximum bandwidth cannot exceed the remaining unallocated bandwidth limit of the specified transit router bandwidth package. */ readonly bandwidth: number; /** * Creation time of the cross-region connection. */ readonly creationTime: string; /** * Description of the cross-region 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 limit: 0–255 characters. If this parameter is not provided or no value is specified, the default is an empty string. */ readonly description: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Enable IPv6. true: Yes. false: No. */ readonly ipv6Enabled: boolean; /** * ID of the peer transit router instance. You can call the DescribeTransitRouters API to obtain the transit router instance ID. */ readonly peerTransitRouterId: string; /** * Region ID of the peer transit router instance. Refer to the region documentation to obtain the region ID. */ readonly peerTransitRouterRegionId: string; /** * Status of the cross-region connection. Creating: In progress. Deleting: In progress. Pending: Configuring. Available: Available. */ readonly status: string; /** * Tag list for the cross-region connection. */ readonly tags: outputs.transitrouter.GetPeerAttachmentTag[]; /** * ID of the cross-region connection. */ readonly transitRouterAttachmentId: string; /** * Name of the cross-region 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 limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID. */ readonly transitRouterAttachmentName: string; /** * ID of the transit router bandwidth package. You can call the DescribeTransitRouters API to obtain the transit router instance ID. If this parameter is provided, the Bandwidth parameter must also be provided. If this parameter is not provided, the Bandwidth parameter is not required. */ readonly transitRouterBandwidthPackageId: string; /** * ID of the forwarding policy associated with the cross-region connection. */ readonly transitRouterForwardPolicyTableId: string; /** * ID of the local transit router instance. */ readonly transitRouterId: string; /** * Associated forwarding route table for the cross-region connection. */ readonly transitRouterRouteTableId: string; /** * ID of the traffic marking policy associated with the cross-region connection. */ readonly transitRouterTrafficQosMarkingPolicyId: string; /** * ID of the flow queue policy associated with the cross-region connection. */ readonly transitRouterTrafficQosQueuePolicyId: string; /** * Last operation time of the cross-region connection. */ readonly updateTime: string; } /** * Data Source schema for Volcengine::TransitRouter::PeerAttachment */ export declare function getPeerAttachmentOutput(args: GetPeerAttachmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPeerAttachment. */ export interface GetPeerAttachmentOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }