import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * The Direct Connect Gateway is the entry point for local data centers to access the cloud. It connects private networks (VPC) and physical dedicated connections, enabling mutual access between on-premises data centers (IDC) and cloud private networks (VPC). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const directConnectDirectConnectGatewayDemo = new volcenginecc.directconnect.DirectConnectGateway("DirectConnectDirectConnectGatewayDemo", { * description: "DirectConnectDirectConnectGatewayDemo-Description", * directConnectGatewayName: "DirectConnectDirectConnectGatewayDemo", * enableIpv6: false, * projectName: "default", * tags: [{ * key: "env", * value: "test", * }], * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:directconnect/directConnectGateway:DirectConnectGateway example "direct_connect_gateway_id" * ``` */ export declare class DirectConnectGateway extends pulumi.CustomResource { /** * Get an existing DirectConnectGateway 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?: DirectConnectGatewayState, opts?: pulumi.CustomResourceOptions): DirectConnectGateway; /** * Returns true if the given object is an instance of DirectConnectGateway. 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 DirectConnectGateway; /** * ID of the account to which the Direct Connect Gateway belongs. */ readonly accountId: pulumi.Output; readonly associateCens: pulumi.Output; /** * Associated EIC information. */ readonly associateEic: pulumi.Output; /** * ASN (Autonomous System Number) of the Direct Connect Gateway. Valid ASN range: 137718, 64512–65534, 4200000000–4294967294, where 137718 is the ASN for Volcengine. If the Direct Connect Gateway is used in standard scenarios (such as a local IDC connecting to a single cloud VPC resource via dedicated connection), use the Volcengine ASN (137718). If used in special scenarios (such as a single IDC connecting to multiple Cloud Enterprise Networks via dedicated connection), each Direct Connect Gateway must use a custom ASN and avoid using the Volcengine ASN (137718), ensuring that ASNs are not duplicated across Direct Connect Gateways. */ readonly bgpAsn: pulumi.Output; /** * Indicates whether the dedicated gateway is locked. Normal: normal. FinancialLocked: locked. */ readonly businessStatus: pulumi.Output; /** * Time when the Direct Connect Gateway was created. */ readonly createdTime: pulumi.Output; /** * Expected forced resource reclamation time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null. */ readonly deletedTime: pulumi.Output; /** * Description for the dedicated gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length is limited to 0 to 255 characters. If this parameter is not provided or no value is entered, the default is an empty string. */ readonly description: pulumi.Output; /** * ID of the Direct Connect Gateway. */ readonly directConnectGatewayId: pulumi.Output; /** * Name of the Direct Connect Gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the Direct Connect Gateway ID. */ readonly directConnectGatewayName: pulumi.Output; /** * Whether IPv6 is supported. true: supported. false: not supported. */ readonly enableIpv6: pulumi.Output; /** * Reason for Direct Connect Gateway lock. unlock: not locked; financial: locked due to overdue payment; security: locked due to security reasons. */ readonly lockReason: pulumi.Output; /** * Resource freeze time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null. */ readonly overdueTime: pulumi.Output; /** * Project to which the Direct Connect Gateway belongs. */ readonly projectName: pulumi.Output; /** * Status of the Direct Connect Gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available. */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Time when the Direct Connect Gateway was updated. */ readonly updatedTime: pulumi.Output; /** * Create a DirectConnectGateway 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?: DirectConnectGatewayArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DirectConnectGateway resources. */ export interface DirectConnectGatewayState { /** * ID of the account to which the Direct Connect Gateway belongs. */ accountId?: pulumi.Input; associateCens?: pulumi.Input[]>; /** * Associated EIC information. */ associateEic?: pulumi.Input; /** * ASN (Autonomous System Number) of the Direct Connect Gateway. Valid ASN range: 137718, 64512–65534, 4200000000–4294967294, where 137718 is the ASN for Volcengine. If the Direct Connect Gateway is used in standard scenarios (such as a local IDC connecting to a single cloud VPC resource via dedicated connection), use the Volcengine ASN (137718). If used in special scenarios (such as a single IDC connecting to multiple Cloud Enterprise Networks via dedicated connection), each Direct Connect Gateway must use a custom ASN and avoid using the Volcengine ASN (137718), ensuring that ASNs are not duplicated across Direct Connect Gateways. */ bgpAsn?: pulumi.Input; /** * Indicates whether the dedicated gateway is locked. Normal: normal. FinancialLocked: locked. */ businessStatus?: pulumi.Input; /** * Time when the Direct Connect Gateway was created. */ createdTime?: pulumi.Input; /** * Expected forced resource reclamation time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null. */ deletedTime?: pulumi.Input; /** * Description for the dedicated gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length is limited to 0 to 255 characters. If this parameter is not provided or no value is entered, the default is an empty string. */ description?: pulumi.Input; /** * ID of the Direct Connect Gateway. */ directConnectGatewayId?: pulumi.Input; /** * Name of the Direct Connect Gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the Direct Connect Gateway ID. */ directConnectGatewayName?: pulumi.Input; /** * Whether IPv6 is supported. true: supported. false: not supported. */ enableIpv6?: pulumi.Input; /** * Reason for Direct Connect Gateway lock. unlock: not locked; financial: locked due to overdue payment; security: locked due to security reasons. */ lockReason?: pulumi.Input; /** * Resource freeze time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns null. */ overdueTime?: pulumi.Input; /** * Project to which the Direct Connect Gateway belongs. */ projectName?: pulumi.Input; /** * Status of the Direct Connect Gateway. Creating: creating. Deleting: deleting. Pending: configuring. Available: available. */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * Time when the Direct Connect Gateway was updated. */ updatedTime?: pulumi.Input; } /** * The set of arguments for constructing a DirectConnectGateway resource. */ export interface DirectConnectGatewayArgs { /** * ASN (Autonomous System Number) of the Direct Connect Gateway. Valid ASN range: 137718, 64512–65534, 4200000000–4294967294, where 137718 is the ASN for Volcengine. If the Direct Connect Gateway is used in standard scenarios (such as a local IDC connecting to a single cloud VPC resource via dedicated connection), use the Volcengine ASN (137718). If used in special scenarios (such as a single IDC connecting to multiple Cloud Enterprise Networks via dedicated connection), each Direct Connect Gateway must use a custom ASN and avoid using the Volcengine ASN (137718), ensuring that ASNs are not duplicated across Direct Connect Gateways. */ bgpAsn?: pulumi.Input; /** * Description for the dedicated gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length is limited to 0 to 255 characters. If this parameter is not provided or no value is entered, the default is an empty string. */ description?: pulumi.Input; /** * Name of the Direct Connect Gateway. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the Direct Connect Gateway ID. */ directConnectGatewayName?: pulumi.Input; /** * Whether IPv6 is supported. true: supported. false: not supported. */ enableIpv6?: pulumi.Input; /** * Project to which the Direct Connect Gateway belongs. */ projectName?: pulumi.Input; tags?: pulumi.Input[]>; }