import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::VPC::BandwidthPackage */ export declare function getBandwidthPackage(args: GetBandwidthPackageArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBandwidthPackage. */ export interface GetBandwidthPackageArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getBandwidthPackage. */ export interface GetBandwidthPackageResult { /** * Bandwidth cap of the shared bandwidth package, unit: Mbps. If BillingType is 1: range is 5–5000. If BillingType is 2, 3, or 4: range is 2–5000. */ readonly bandwidth: number; /** * Bandwidth package ID */ readonly bandwidthPackageId: string; /** * Bandwidth package name, limited to 1–128 characters. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-). */ readonly bandwidthPackageName: string; /** * Billing methods for shared bandwidth packages. Options are: 1: Annual/monthly subscription. 2: Billed by bandwidth cap (default). 3: Billed by peak traffic. 4: Billed by traditional 95th percentile (minimum ratio defaults to 20%). */ readonly billingType: number; /** * Billing status */ readonly businessStatus: string; /** * Creation time */ readonly createdTime: string; /** * Deletion time */ readonly deletedTime: string; /** * Description, limited to 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). */ readonly description: string; /** * List of public IP information added to the shared bandwidth package. All of the following conditions must be met: 1. All IPs have the same line type. 2. All IPs have the same security protection type. 3. All IPs are in the same region. 4. Public IP or IPv6 public bandwidth is billed by usage. */ readonly eipAddresses: outputs.vpc.GetBandwidthPackageEipAddress[]; /** * Enable dual stack. Options: true: enable dual stack; false: do not enable dual stack. */ readonly enableDualStack: boolean; /** * Expiration time */ readonly expiredTime: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Line type, default is BGP. BGP: BGP (multi-line). 1. If your account has applied for and enabled static single line permissions, you can use the following values: 1.1, ChinaMobile: China Mobile static single line. 1.2, ChinaTelecom: China Telecom static single line. 1.3, ChinaUnicom: China Unicom static single line. 2. If your account has applied for and enabled BGP single line permissions, you can use SingleLine*BGP. 3. If your account has applied for and enabled Premium BGP permissions, you can use Premium*BGP. 4. If your account has applied for and enabled Fusion BGP permissions, you can use Fusion*BGP. 5. If your account has applied for and enabled Economical static single line permissions, you can use the following values: 5.1, ChinaMobile*Value: China Mobile economical static single line. 5.2, ChinaUnicom*Value: China Unicom economical static single line. 5.3, ChinaTelecom*Value: China Telecom economical static single line. */ readonly isp: string; /** * Overdue time */ readonly overdueTime: string; /** * Duration for purchasing yearly/monthly shared bandwidth package, default is '1'. If PeriodUnit is 1, Period can be 1–9, 12, 24, or 36. If PeriodUnit is 2, Period can be 1–3. */ readonly period: number; /** * Unit for the duration when purchasing an annual/monthly subscription shared bandwidth package. Options are: 1: Month (default). 2: Year. */ readonly periodUnit: number; /** * Project name. If not specified, added to the default project. */ readonly projectName: string; /** * IP protocol of the shared bandwidth package. Options are: Dual-stack: Dual-stack protocol type. IPv4: IPv4 protocol type. This parameter supports Dual-stack only when BillingType is 2 or 4. */ readonly protocol: string; /** * 95 billing minimum ratio, unit: %, this parameter is returned only for 95 billing shared bandwidth package instances. */ readonly ratio: number; /** * Security protection type of the shared bandwidth package. AntiDDoS_Enhanced: Create an enhanced protection shared bandwidth package, which supports adding public IPs with basic protection. If not specified, it means a basic protection shared bandwidth package, which supports adding public IPs with enhanced protection. */ readonly securityProtectionTypes: string[]; /** * Status of the shared bandwidth package. Creating: In progress. Available: Available. Deleting: In progress. */ readonly status: string; /** * Tag list. */ readonly tags: outputs.vpc.GetBandwidthPackageTag[]; /** * Update time */ readonly updatedTime: string; } /** * Data Source schema for Volcengine::VPC::BandwidthPackage */ export declare function getBandwidthPackageOutput(args: GetBandwidthPackageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBandwidthPackage. */ export interface GetBandwidthPackageOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }