import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * By establishing a connection between the private network and the transit router, you can enable private network communication between the private network and the transit router. * * ## Import * * ```sh * $ pulumi import volcenginecc:transitrouter/vpcAttachment:VpcAttachment example "transit_router_id|transit_router_attachment_id" * ``` */ export declare class VpcAttachment extends pulumi.CustomResource { /** * Get an existing VpcAttachment resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: VpcAttachmentState, opts?: pulumi.CustomResourceOptions): VpcAttachment; /** * Returns true if the given object is an instance of VpcAttachment. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is VpcAttachment; /** * 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. */ readonly applianceModeEnabled: pulumi.Output; readonly attachPoints: pulumi.Output; /** * 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. */ readonly autoPublishRouteEnabled: pulumi.Output; /** * Maximum bandwidth for the network instance connection, in Gbps. */ readonly bandwidth: pulumi.Output; /** * Creation time. */ readonly createdTime: pulumi.Output; /** * 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. */ readonly description: pulumi.Output; /** * Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No. */ readonly ipv6Enabled: pulumi.Output; /** * Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available. */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Network instance connection ID. */ readonly transitRouterAttachmentId: pulumi.Output; /** * 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. */ readonly transitRouterAttachmentName: pulumi.Output; /** * Transit router instance ID. */ readonly transitRouterId: pulumi.Output; /** * Update time. */ readonly updatedTime: pulumi.Output; /** * Private network instance ID. */ readonly vpcId: pulumi.Output; /** * Create a VpcAttachment resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: VpcAttachmentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VpcAttachment resources. */ export interface VpcAttachmentState { /** * 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. */ applianceModeEnabled?: pulumi.Input; attachPoints?: pulumi.Input[]>; /** * 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. */ autoPublishRouteEnabled?: pulumi.Input; /** * Maximum bandwidth for the network instance connection, in Gbps. */ bandwidth?: pulumi.Input; /** * Creation time. */ createdTime?: pulumi.Input; /** * 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. */ description?: pulumi.Input; /** * Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No. */ ipv6Enabled?: pulumi.Input; /** * Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available. */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * Network instance connection ID. */ transitRouterAttachmentId?: pulumi.Input; /** * 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. */ transitRouterAttachmentName?: pulumi.Input; /** * Transit router instance ID. */ transitRouterId?: pulumi.Input; /** * Update time. */ updatedTime?: pulumi.Input; /** * Private network instance ID. */ vpcId?: pulumi.Input; } /** * The set of arguments for constructing a VpcAttachment resource. */ export interface VpcAttachmentArgs { /** * 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. */ applianceModeEnabled?: pulumi.Input; attachPoints: pulumi.Input[]>; /** * 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. */ autoPublishRouteEnabled?: pulumi.Input; /** * 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. */ description?: pulumi.Input; /** * Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No. */ ipv6Enabled?: pulumi.Input; tags?: pulumi.Input[]>; /** * 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. */ transitRouterAttachmentName?: pulumi.Input; /** * Transit router instance ID. */ transitRouterId: pulumi.Input; /** * Private network instance ID. */ vpcId: pulumi.Input; }