import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::VPN::VPNGateway */ export declare function getVpnGateway(args: GetVpnGatewayArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVpnGateway. */ export interface GetVpnGatewayArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getVpnGateway. */ export interface GetVpnGatewayResult { /** * ASN of the VPN gateway. */ readonly asn: number; /** * VPN gateway bandwidth specification. */ readonly bandwidth: number; /** * VPN gateway billing type. 1: Subscription. 2: Pay-as-you-go (fixed specification) */ readonly billingType: number; /** * VPN gateway billing status. Normal: Normal. FinancialLocked: Locked. */ readonly businessStatus: string; /** * Number of IPsec connections associated with the VPN gateway. */ readonly connectionCount: number; /** * Time when the VPN gateway was created. */ readonly createTime: string; /** * Expected resource forced reclaim time. */ readonly deletedTime: string; /** * Description of the VPN gateway. */ readonly description: string; /** * Whether dual tunnel mode is enabled for the VPN gateway. true: Enabled false: Disabled */ readonly dualTunnelEnabled: boolean; /** * VPN gateway expiration time. */ readonly expiredTime: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * VPN gateway public IP address. */ readonly ipAddress: string; /** * VPN gateway protocol type. ipv4*only: IPv4 protocol type. ipv6*only: IPv6 protocol type. ipv4_ipv6: Dual-stack protocol type. */ readonly ipStackType: string; /** * IP address type of the VPN gateway. ipv4: IPv4 address type. ipv6: IPv6 address type. */ readonly ipVersion: string; /** * Enable IPSec feature. true: enabled false: disabled */ readonly ipsecEnabled: boolean; /** * Whether the current resource is banned. true: Banned false: Not banned. */ readonly isBlocked: boolean; /** * VPN gateway lock reasons. financial: Locked due to overdue payment. security: Locked for security reasons. unlock: Not locked. */ readonly lockReason: string; /** * Resource freeze time. This parameter returns a value only if the resource is frozen due to overdue payment; otherwise, it returns an empty value. */ readonly overdueTime: string; /** * Subscription VPN gateway purchase duration, default is '1'. If PeriodUnit is Month, Period value range: 1–9, 12, 24, 36. If PeriodUnit is Year, Period value range: 1–3. */ readonly period: number; /** * Unit for the purchase duration of subscription-based VPN gateways. Default is 'Month'. Month: month Year: year */ readonly periodUnit: string; /** * Project to which the VPN gateway belongs. If not specified, defaults to 'default', meaning the created resource belongs to the default project. You can call ListProjects to query project information under the current account. */ readonly projectName: string; /** * Number of route entries for the VPN gateway. */ readonly routeCount: number; /** * Second public IP address of the VPN gateway. This parameter is returned only for VPN gateway instances in dual tunnel mode; it is not returned for instances in single tunnel mode. */ readonly secondaryIpAddress: string; /** * ID of the second subnet associated with the VPN gateway instance. This parameter is returned only for VPN gateway instances in dual tunnel mode; it is not returned for instances in single tunnel mode. */ readonly secondarySubnetId: string; /** * Enable SSL VPN feature. true: enabled false: disabled */ readonly sslEnabled: boolean; /** * Maximum SSL connections for the VPN gateway. */ readonly sslMaxConnections: number; /** * Status of the VPN gateway. Creating: creating Deleting: deleting Pending: configuring Available: available */ readonly status: string; /** * ID of the subnet to which the port used by the VPN gateway belongs. */ readonly subnetId: string; /** * All tag information added to the VPN gateway. */ readonly tags: outputs.vpn.GetVpnGatewayTag[]; /** * VPN gateway update time. */ readonly updateTime: string; /** * VPC ID where the VPN gateway is located. */ readonly vpcId: string; /** * ID of the VPN gateway. */ readonly vpnGatewayId: string; /** * Name of the VPN gateway. */ readonly vpnGatewayName: string; } /** * Data Source schema for Volcengine::VPN::VPNGateway */ export declare function getVpnGatewayOutput(args: GetVpnGatewayOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVpnGateway. */ export interface GetVpnGatewayOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }