import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::CEN::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 peak of the bandwidth package. Value range: 2–10000 Mbps. Default: 2 Mbps. */ readonly bandwidth: number; /** * Billing status of the bandwidth package instance. 0: Creating 1: Running 3: Unsubscribed 4: Expired and stopped 5: Expired and recycled 8: Unsubscribed and stopped */ readonly billingStatus: number; /** * Billing method of the bandwidth package. Valid values: 1 (default): yearly/monthly subscription. 4: pay-as-you-go—95th percentile billing. */ readonly billingType: number; /** * Frozen status of the bandwidth package. Normal: normal. FinancialLocked: frozen. */ readonly businessStatus: string; /** * Bandwidth package ID. */ readonly cenBandwidthPackageId: string; /** * Name of the bandwidth package. 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 not specified, defaults to the bandwidth package ID. */ readonly cenBandwidthPackageName: string; /** * List of associated CEN instance IDs. */ readonly cenIds: string[]; /** * Creation time of the bandwidth package. */ readonly creationTime: string; /** * Deletion time of the bandwidth package. */ readonly deletedTime: string; /** * Description of the bandwidth package. 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 (,), and Chinese period (。). Length limit: 0–255 characters. If not specified, defaults to an empty string. */ readonly description: string; /** * Expiration time of the bandwidth package. */ readonly expiredTime: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Carrier for cross-border bandwidth package lines. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are the same, this parameter is not supported. If LocalGeographicRegionSetId and PeerGeographicRegionSetId are different, available values are: ChinaUnicom (default): China Unicom. */ readonly lineOperator: string; /** * Local geographic region ID for Cloud Enterprise Network communication. Available values: China: Chinese mainland. Asia: Asia-Pacific. */ readonly localGeographicRegionSetId: string; /** * Peer geographic region ID for Cloud Enterprise Network interconnection. Valid values: China: Chinese mainland. Asia: Asia-Pacific. */ readonly peerGeographicRegionSetId: string; /** * Purchase duration of the bandwidth package. Default is 1. Valid values: If PeriodUnit is Month, range is 1–9, 12, 24, and 36. If PeriodUnit is Year, range is 1–3. */ readonly period: number; /** * Billing cycle of the bandwidth package. Valid values: Month (default): month. Year: year. */ readonly periodUnit: string; /** * Name of the project to which the bandwidth package belongs. If not specified, defaults to 'default'. */ readonly projectName: string; /** * Recycle time after the bandwidth package instance expires. */ readonly reclaimTime: string; /** * Number of automatic renewals. Values include -1 and 1–100. Default is -1, which means unlimited automatic renewals. */ readonly remainRenewTimes: number; /** * Remaining bandwidth, measured in Mbps. */ readonly remainingBandwidth: number; /** * Duration of each automatic renewal, in months. Valid values: 1–3, 6, and 12. Default is 1. */ readonly renewPeriod: number; /** * Renewal type of the bandwidth package instance. Manual: Manual renewal. Auto: Automatic renewal. NoRenew: No renewal. */ readonly renewType: string; /** * Status of the bandwidth package. Creating: Being created. Deleting: Being deleted. Pending: In progress. Available: Unbound. InUse: Bound. */ readonly status: string; /** * Tag list */ readonly tags: outputs.cen.GetBandwidthPackageTag[]; /** * Update time of the bandwidth package. */ readonly updateTime: string; } /** * Data Source schema for Volcengine::CEN::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; }