import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * A shared bandwidth package is a cloud resource that supports multiplexing and sharing bandwidth. Add multiple public IPs or IPv6 public bandwidths within a single region to a shared bandwidth package instance to share one bandwidth. * * ## Import * * ```sh * $ pulumi import volcenginecc:vpc/bandwidthPackage:BandwidthPackage example "bandwidth_package_id" * ``` */ export declare class BandwidthPackage extends pulumi.CustomResource { /** * Get an existing BandwidthPackage 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?: BandwidthPackageState, opts?: pulumi.CustomResourceOptions): BandwidthPackage; /** * Returns true if the given object is an instance of BandwidthPackage. 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 BandwidthPackage; /** * 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: pulumi.Output; /** * Bandwidth package ID */ readonly bandwidthPackageId: pulumi.Output; /** * 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: pulumi.Output; /** * 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: pulumi.Output; /** * Billing status */ readonly businessStatus: pulumi.Output; /** * Creation time */ readonly createdTime: pulumi.Output; /** * Deletion time */ readonly deletedTime: pulumi.Output; /** * 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: pulumi.Output; readonly eipAddresses: pulumi.Output; /** * Enable dual stack. Options: true: enable dual stack; false: do not enable dual stack. */ readonly enableDualStack: pulumi.Output; /** * Expiration time */ readonly expiredTime: pulumi.Output; /** * 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: pulumi.Output; /** * Overdue time */ readonly overdueTime: pulumi.Output; /** * 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: pulumi.Output; /** * Unit for the duration when purchasing an annual/monthly subscription shared bandwidth package. Options are: 1: Month (default). 2: Year. */ readonly periodUnit: pulumi.Output; /** * Project name. If not specified, added to the default project. */ readonly projectName: pulumi.Output; /** * 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: pulumi.Output; /** * 95 billing minimum ratio, unit: %, this parameter is returned only for 95 billing shared bandwidth package instances. */ readonly ratio: pulumi.Output; /** * 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: pulumi.Output; /** * Status of the shared bandwidth package. Creating: In progress. Available: Available. Deleting: In progress. */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Update time */ readonly updatedTime: pulumi.Output; /** * Create a BandwidthPackage 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: BandwidthPackageArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BandwidthPackage resources. */ export interface BandwidthPackageState { /** * 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. */ bandwidth?: pulumi.Input; /** * Bandwidth package ID */ bandwidthPackageId?: pulumi.Input; /** * Bandwidth package name, limited to 1–128 characters. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-). */ bandwidthPackageName?: pulumi.Input; /** * 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%). */ billingType?: pulumi.Input; /** * Billing status */ businessStatus?: pulumi.Input; /** * Creation time */ createdTime?: pulumi.Input; /** * Deletion time */ deletedTime?: pulumi.Input; /** * 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 (。). */ description?: pulumi.Input; eipAddresses?: pulumi.Input[]>; /** * Enable dual stack. Options: true: enable dual stack; false: do not enable dual stack. */ enableDualStack?: pulumi.Input; /** * Expiration time */ expiredTime?: pulumi.Input; /** * 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. */ isp?: pulumi.Input; /** * Overdue time */ overdueTime?: pulumi.Input; /** * 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. */ period?: pulumi.Input; /** * Unit for the duration when purchasing an annual/monthly subscription shared bandwidth package. Options are: 1: Month (default). 2: Year. */ periodUnit?: pulumi.Input; /** * Project name. If not specified, added to the default project. */ projectName?: pulumi.Input; /** * 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. */ protocol?: pulumi.Input; /** * 95 billing minimum ratio, unit: %, this parameter is returned only for 95 billing shared bandwidth package instances. */ ratio?: pulumi.Input; /** * 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. */ securityProtectionTypes?: pulumi.Input[]>; /** * Status of the shared bandwidth package. Creating: In progress. Available: Available. Deleting: In progress. */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * Update time */ updatedTime?: pulumi.Input; } /** * The set of arguments for constructing a BandwidthPackage resource. */ export interface BandwidthPackageArgs { /** * 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. */ bandwidth: pulumi.Input; /** * Bandwidth package name, limited to 1–128 characters. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-). */ bandwidthPackageName?: pulumi.Input; /** * 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%). */ billingType?: pulumi.Input; /** * 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 (。). */ description?: pulumi.Input; eipAddresses?: pulumi.Input[]>; /** * Enable dual stack. Options: true: enable dual stack; false: do not enable dual stack. */ enableDualStack?: pulumi.Input; /** * 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. */ isp?: pulumi.Input; /** * 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. */ period?: pulumi.Input; /** * Unit for the duration when purchasing an annual/monthly subscription shared bandwidth package. Options are: 1: Month (default). 2: Year. */ periodUnit?: pulumi.Input; /** * Project name. If not specified, added to the default project. */ projectName?: pulumi.Input; /** * 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. */ protocol?: pulumi.Input; /** * 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. */ securityProtectionTypes?: pulumi.Input[]>; tags?: pulumi.Input[]>; }