import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Direct connect gateway type network instance connection resource * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const directConnectGatewayAttachmentDemo = new volcenginecc.transitrouter.DirectConnectGatewayAttachment("DirectConnectGatewayAttachmentDemo", { * directConnectGatewayId: "dcg-1714vlpplhxc1f*****", * transitRouterAttachmentName: "test", * transitRouterId: "tr-2d69n1k0brncw58ozfdh6y6xq***", * description: "test", * tags: [{ * key: "env", * value: "test", * }], * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:transitrouter/directConnectGatewayAttachment:DirectConnectGatewayAttachment example "transit_router_id|transit_router_attachment_id" * ``` */ export declare class DirectConnectGatewayAttachment extends pulumi.CustomResource { /** * Get an existing DirectConnectGatewayAttachment 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?: DirectConnectGatewayAttachmentState, opts?: pulumi.CustomResourceOptions): DirectConnectGatewayAttachment; /** * Returns true if the given object is an instance of DirectConnectGatewayAttachment. 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 DirectConnectGatewayAttachment; /** * Account ID to which the network instance connection belongs */ readonly accountId: pulumi.Output; /** * Whether to automatically synchronize TR routes to the network instance route table */ readonly autoPublishRouteEnabled: pulumi.Output; /** * Maximum bandwidth of the network instance connection, in Gbps */ readonly bandwidth: pulumi.Output; /** * Creation time of the network instance connection */ readonly creationTime: 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: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string */ readonly description: pulumi.Output; /** * Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID */ readonly directConnectGatewayId: pulumi.Output; /** * Whether to enable IPv6 */ readonly ipv6Enabled: pulumi.Output; /** * Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means 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 can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID */ readonly transitRouterAttachmentName: pulumi.Output; /** * Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID */ readonly transitRouterId: pulumi.Output; /** * Most recent operation time of the network instance connection */ readonly updateTime: pulumi.Output; /** * Create a DirectConnectGatewayAttachment 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: DirectConnectGatewayAttachmentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DirectConnectGatewayAttachment resources. */ export interface DirectConnectGatewayAttachmentState { /** * Account ID to which the network instance connection belongs */ accountId?: pulumi.Input; /** * Whether to automatically synchronize TR routes to the network instance route table */ autoPublishRouteEnabled?: pulumi.Input; /** * Maximum bandwidth of the network instance connection, in Gbps */ bandwidth?: pulumi.Input; /** * Creation time of the network instance connection */ creationTime?: 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: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string */ description?: pulumi.Input; /** * Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID */ directConnectGatewayId?: pulumi.Input; /** * Whether to enable IPv6 */ ipv6Enabled?: pulumi.Input; /** * Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means 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 can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID */ transitRouterAttachmentName?: pulumi.Input; /** * Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID */ transitRouterId?: pulumi.Input; /** * Most recent operation time of the network instance connection */ updateTime?: pulumi.Input; } /** * The set of arguments for constructing a DirectConnectGatewayAttachment resource. */ export interface DirectConnectGatewayAttachmentArgs { /** * 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: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string */ description?: pulumi.Input; /** * Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID */ directConnectGatewayId: 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 can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID */ transitRouterAttachmentName?: pulumi.Input; /** * Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID */ transitRouterId: pulumi.Input; }