import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Transit router bandwidth package resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const transitRouterBandwidthPackageDemo = new volcenginecc.transitrouter.TransitRouterBandwidthPackage("TransitRouterBandwidthPackageDemo", { * bandwidth: 3, * billingType: 1, * description: "test", * lineOperator: "", * localGeographicRegionSetId: "China", * peerGeographicRegionSetId: "China", * period: 1, * periodUnit: "Month", * projectName: "default", * tags: [{ * key: "env", * value: "test", * }], * transitRouterBandwidthPackageName: "ccapi-test", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:transitrouter/transitRouterBandwidthPackage:TransitRouterBandwidthPackage example "transit_router_bandwidth_package_id" * ``` */ export declare class TransitRouterBandwidthPackage extends pulumi.CustomResource { /** * Get an existing TransitRouterBandwidthPackage 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?: TransitRouterBandwidthPackageState, opts?: pulumi.CustomResourceOptions): TransitRouterBandwidthPackage; /** * Returns true if the given object is an instance of TransitRouterBandwidthPackage. 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 TransitRouterBandwidthPackage; /** * Account ID to which the bandwidth package belongs. */ readonly accountId: pulumi.Output; readonly allocations: pulumi.Output; /** * Bandwidth peak of the transit router bandwidth package, in Mbps. */ readonly bandwidth: pulumi.Output; /** * Billing status of the transit router bandwidth package. 0: creating. 1: running. 3: unsubscribed. 4: expired and stopped. 5: expired and recycled. 8: unsubscribed and stopped. */ readonly billingStatus: pulumi.Output; /** * Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly). */ readonly billingType: pulumi.Output; /** * Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen. */ readonly businessStatus: pulumi.Output; /** * Creation time of the transit router bandwidth package. */ readonly creationTime: pulumi.Output; /** * Deletion time of the transit router bandwidth package. */ readonly deletedTime: pulumi.Output; /** * Description of the transit router bandwidth package. */ readonly description: pulumi.Output; /** * Expiration time of the transit router bandwidth package. */ readonly expiredTime: pulumi.Output; /** * Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom */ readonly lineOperator: pulumi.Output; /** * Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific */ readonly localGeographicRegionSetId: pulumi.Output; /** * Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific. */ readonly peerGeographicRegionSetId: pulumi.Output; /** * Purchase duration of the transit router bandwidth package. */ readonly period: pulumi.Output; /** * Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly. */ readonly periodUnit: pulumi.Output; /** * Name of the project to which the transit router bandwidth package belongs. */ readonly projectName: pulumi.Output; /** * Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1. */ readonly reclaimTime: pulumi.Output; /** * Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals. */ readonly remainRenewTimes: pulumi.Output; /** * Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps. */ readonly remainingBandwidth: pulumi.Output; /** * Duration of each auto-renewal, in months. */ readonly renewPeriod: pulumi.Output; /** * Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew */ readonly renewType: pulumi.Output; /** * Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available. */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Transit router bandwidth package ID. */ readonly transitRouterBandwidthPackageId: pulumi.Output; /** * Name of the transit router bandwidth package. */ readonly transitRouterBandwidthPackageName: pulumi.Output; /** * Last operation time of the transit router bandwidth package. */ readonly updateTime: pulumi.Output; /** * Create a TransitRouterBandwidthPackage 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: TransitRouterBandwidthPackageArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TransitRouterBandwidthPackage resources. */ export interface TransitRouterBandwidthPackageState { /** * Account ID to which the bandwidth package belongs. */ accountId?: pulumi.Input; allocations?: pulumi.Input[]>; /** * Bandwidth peak of the transit router bandwidth package, in Mbps. */ bandwidth?: pulumi.Input; /** * Billing status of the transit router bandwidth package. 0: creating. 1: running. 3: unsubscribed. 4: expired and stopped. 5: expired and recycled. 8: unsubscribed and stopped. */ billingStatus?: pulumi.Input; /** * Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly). */ billingType?: pulumi.Input; /** * Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen. */ businessStatus?: pulumi.Input; /** * Creation time of the transit router bandwidth package. */ creationTime?: pulumi.Input; /** * Deletion time of the transit router bandwidth package. */ deletedTime?: pulumi.Input; /** * Description of the transit router bandwidth package. */ description?: pulumi.Input; /** * Expiration time of the transit router bandwidth package. */ expiredTime?: pulumi.Input; /** * Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom */ lineOperator?: pulumi.Input; /** * Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific */ localGeographicRegionSetId?: pulumi.Input; /** * Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific. */ peerGeographicRegionSetId?: pulumi.Input; /** * Purchase duration of the transit router bandwidth package. */ period?: pulumi.Input; /** * Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly. */ periodUnit?: pulumi.Input; /** * Name of the project to which the transit router bandwidth package belongs. */ projectName?: pulumi.Input; /** * Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1. */ reclaimTime?: pulumi.Input; /** * Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals. */ remainRenewTimes?: pulumi.Input; /** * Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps. */ remainingBandwidth?: pulumi.Input; /** * Duration of each auto-renewal, in months. */ renewPeriod?: pulumi.Input; /** * Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew */ renewType?: pulumi.Input; /** * Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available. */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * Transit router bandwidth package ID. */ transitRouterBandwidthPackageId?: pulumi.Input; /** * Name of the transit router bandwidth package. */ transitRouterBandwidthPackageName?: pulumi.Input; /** * Last operation time of the transit router bandwidth package. */ updateTime?: pulumi.Input; } /** * The set of arguments for constructing a TransitRouterBandwidthPackage resource. */ export interface TransitRouterBandwidthPackageArgs { /** * Bandwidth peak of the transit router bandwidth package, in Mbps. */ bandwidth?: pulumi.Input; /** * Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly). */ billingType?: pulumi.Input; /** * Description of the transit router bandwidth package. */ description?: pulumi.Input; /** * Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom */ lineOperator?: pulumi.Input; /** * Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific */ localGeographicRegionSetId: pulumi.Input; /** * Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific. */ peerGeographicRegionSetId: pulumi.Input; /** * Purchase duration of the transit router bandwidth package. */ period?: pulumi.Input; /** * Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly. */ periodUnit?: pulumi.Input; /** * Name of the project to which the transit router bandwidth package belongs. */ projectName?: pulumi.Input; /** * Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals. */ remainRenewTimes?: pulumi.Input; /** * Duration of each auto-renewal, in months. */ renewPeriod?: pulumi.Input; /** * Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew */ renewType?: pulumi.Input; tags?: pulumi.Input[]>; /** * Name of the transit router bandwidth package. */ transitRouterBandwidthPackageName?: pulumi.Input; }