@volcengine/pulumi-volcenginecc 0.0.29 → 0.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/cen/bandwidthPackage.d.ts +320 -0
  2. package/cen/bandwidthPackage.js +134 -0
  3. package/cen/bandwidthPackage.js.map +1 -0
  4. package/cen/getBandwidthPackage.d.ts +137 -0
  5. package/cen/getBandwidthPackage.js +28 -0
  6. package/cen/getBandwidthPackage.js.map +1 -0
  7. package/cen/getBandwidthPackages.d.ts +22 -0
  8. package/cen/getBandwidthPackages.js +24 -0
  9. package/cen/getBandwidthPackages.js.map +1 -0
  10. package/cen/index.d.ts +9 -0
  11. package/cen/index.js +12 -1
  12. package/cen/index.js.map +1 -1
  13. package/clb/clb.d.ts +8 -0
  14. package/clb/clb.js +2 -0
  15. package/clb/clb.js.map +1 -1
  16. package/clb/getClb.d.ts +4 -0
  17. package/clb/getClb.js.map +1 -1
  18. package/iam/accesskey.d.ts +2 -2
  19. package/iam/accesskey.js +2 -2
  20. package/iam/accesskey.js.map +1 -1
  21. package/iam/getOidcProvider.d.ts +72 -0
  22. package/iam/getOidcProvider.js +28 -0
  23. package/iam/getOidcProvider.js.map +1 -0
  24. package/iam/getOidcProviders.d.ts +22 -0
  25. package/iam/getOidcProviders.js +24 -0
  26. package/iam/getOidcProviders.js.map +1 -0
  27. package/iam/getSamlProvider.d.ts +38 -0
  28. package/iam/getSamlProvider.js +28 -0
  29. package/iam/getSamlProvider.js.map +1 -0
  30. package/iam/getSamlProviders.d.ts +22 -0
  31. package/iam/getSamlProviders.js +24 -0
  32. package/iam/getSamlProviders.js.map +1 -0
  33. package/iam/index.d.ts +18 -0
  34. package/iam/index.js +23 -1
  35. package/iam/index.js.map +1 -1
  36. package/iam/oidcProvider.d.ts +160 -0
  37. package/iam/oidcProvider.js +105 -0
  38. package/iam/oidcProvider.js.map +1 -0
  39. package/iam/samlProvider.d.ts +156 -0
  40. package/iam/samlProvider.js +100 -0
  41. package/iam/samlProvider.js.map +1 -0
  42. package/mongodb/getInstance.d.ts +1 -1
  43. package/mongodb/instance.d.ts +3 -3
  44. package/package.json +1 -1
  45. package/privatelink/getVpcEndpoint.d.ts +137 -0
  46. package/privatelink/getVpcEndpoint.js +28 -0
  47. package/privatelink/getVpcEndpoint.js.map +1 -0
  48. package/privatelink/getVpcEndpoints.d.ts +22 -0
  49. package/privatelink/getVpcEndpoints.js +24 -0
  50. package/privatelink/getVpcEndpoints.js.map +1 -0
  51. package/privatelink/index.d.ts +9 -0
  52. package/privatelink/index.js +12 -1
  53. package/privatelink/index.js.map +1 -1
  54. package/privatelink/vpcEndpoint.d.ts +277 -0
  55. package/privatelink/vpcEndpoint.js +106 -0
  56. package/privatelink/vpcEndpoint.js.map +1 -0
  57. package/rdspostgresql/getInstance.d.ts +153 -0
  58. package/rdspostgresql/getInstance.js +28 -0
  59. package/rdspostgresql/getInstance.js.map +1 -0
  60. package/rdspostgresql/getInstances.d.ts +22 -0
  61. package/rdspostgresql/getInstances.js +24 -0
  62. package/rdspostgresql/getInstances.js.map +1 -0
  63. package/rdspostgresql/index.d.ts +9 -0
  64. package/rdspostgresql/index.js +12 -1
  65. package/rdspostgresql/index.js.map +1 -1
  66. package/rdspostgresql/instance.d.ts +303 -0
  67. package/rdspostgresql/instance.js +132 -0
  68. package/rdspostgresql/instance.js.map +1 -0
  69. package/tls/consumerGroup.d.ts +128 -0
  70. package/tls/consumerGroup.js +98 -0
  71. package/tls/consumerGroup.js.map +1 -0
  72. package/tls/getConsumerGroup.d.ts +60 -0
  73. package/tls/getConsumerGroup.js +28 -0
  74. package/tls/getConsumerGroup.js.map +1 -0
  75. package/tls/getConsumerGroups.d.ts +22 -0
  76. package/tls/getConsumerGroups.js +24 -0
  77. package/tls/getConsumerGroups.js.map +1 -0
  78. package/tls/getImportTask.d.ts +89 -0
  79. package/tls/getImportTask.js +28 -0
  80. package/tls/getImportTask.js.map +1 -0
  81. package/tls/getImportTasks.d.ts +22 -0
  82. package/tls/getImportTasks.js +24 -0
  83. package/tls/getImportTasks.js.map +1 -0
  84. package/tls/importTask.d.ts +183 -0
  85. package/tls/importTask.js +97 -0
  86. package/tls/importTask.js.map +1 -0
  87. package/tls/index.d.ts +18 -0
  88. package/tls/index.js +23 -1
  89. package/tls/index.js.map +1 -1
  90. package/types/input.d.ts +908 -93
  91. package/types/output.d.ts +1652 -146
  92. package/vedbm/endpoint.d.ts +247 -0
  93. package/vedbm/endpoint.js +93 -0
  94. package/vedbm/endpoint.js.map +1 -0
  95. package/vedbm/getEndpoint.d.ts +105 -0
  96. package/vedbm/getEndpoint.js +28 -0
  97. package/vedbm/getEndpoint.js.map +1 -0
  98. package/vedbm/getEndpoints.d.ts +22 -0
  99. package/vedbm/getEndpoints.js +24 -0
  100. package/vedbm/getEndpoints.js.map +1 -0
  101. package/vedbm/index.d.ts +9 -0
  102. package/vedbm/index.js +12 -1
  103. package/vedbm/index.js.map +1 -1
  104. package/vefaas/getTimer.d.ts +80 -0
  105. package/vefaas/getTimer.js +28 -0
  106. package/vefaas/getTimer.js.map +1 -0
  107. package/vefaas/getTimers.d.ts +22 -0
  108. package/vefaas/getTimers.js +24 -0
  109. package/vefaas/getTimers.js.map +1 -0
  110. package/vefaas/index.d.ts +9 -0
  111. package/vefaas/index.js +12 -1
  112. package/vefaas/index.js.map +1 -1
  113. package/vefaas/timer.d.ts +183 -0
  114. package/vefaas/timer.js +96 -0
  115. package/vefaas/timer.js.map +1 -0
  116. package/vmp/alertingRule.d.ts +167 -0
  117. package/vmp/alertingRule.js +90 -0
  118. package/vmp/alertingRule.js.map +1 -0
  119. package/vmp/getAlertingRule.d.ts +93 -0
  120. package/vmp/getAlertingRule.js +28 -0
  121. package/vmp/getAlertingRule.js.map +1 -0
  122. package/vmp/getAlertingRules.d.ts +22 -0
  123. package/vmp/getAlertingRules.js +24 -0
  124. package/vmp/getAlertingRules.js.map +1 -0
  125. package/vmp/index.d.ts +9 -0
  126. package/vmp/index.js +12 -1
  127. package/vmp/index.js.map +1 -1
@@ -0,0 +1,320 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Provides cross-region communication bandwidth for Cloud Enterprise Network instances. You can allocate bandwidth to different inter-region connections. By creating a bandwidth package and assigning inter-region bandwidth, you enable connectivity between network instances in different regions.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
12
+ *
13
+ * const cENBandwidthPackageDemo = new volcenginecc.cen.BandwidthPackage("CENBandwidthPackageDemo", {
14
+ * bandwidth: 3,
15
+ * billingType: 4,
16
+ * cenBandwidthPackageName: "ccapi-test",
17
+ * cenIds: ["cen-2v73nw1h8a03k6x7exxxxx"],
18
+ * description: "this is a cen test",
19
+ * localGeographicRegionSetId: "China",
20
+ * peerGeographicRegionSetId: "China",
21
+ * projectName: "default",
22
+ * tags: [{
23
+ * key: "env",
24
+ * value: "test",
25
+ * }],
26
+ * });
27
+ * ```
28
+ *
29
+ * ## Import
30
+ *
31
+ * ```sh
32
+ * $ pulumi import volcenginecc:cen/bandwidthPackage:BandwidthPackage example "cen_bandwidth_package_id"
33
+ * ```
34
+ */
35
+ export declare class BandwidthPackage extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing BandwidthPackage resource's state with the given name, ID, and optional extra
38
+ * properties used to qualify the lookup.
39
+ *
40
+ * @param name The _unique_ name of the resulting resource.
41
+ * @param id The _unique_ provider ID of the resource to lookup.
42
+ * @param state Any extra arguments used during the lookup.
43
+ * @param opts Optional settings to control the behavior of the CustomResource.
44
+ */
45
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BandwidthPackageState, opts?: pulumi.CustomResourceOptions): BandwidthPackage;
46
+ /**
47
+ * Returns true if the given object is an instance of BandwidthPackage. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj: any): obj is BandwidthPackage;
51
+ /**
52
+ * Bandwidth peak of the bandwidth package. Value range: 2–10000 Mbps. Default: 2 Mbps.
53
+ */
54
+ readonly bandwidth: pulumi.Output<number>;
55
+ /**
56
+ * 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
57
+ */
58
+ readonly billingStatus: pulumi.Output<number>;
59
+ /**
60
+ * Billing method of the bandwidth package. Valid values: 1 (default): yearly/monthly subscription. 4: pay-as-you-go—95th percentile billing.
61
+ */
62
+ readonly billingType: pulumi.Output<number>;
63
+ /**
64
+ * Frozen status of the bandwidth package. Normal: normal. FinancialLocked: frozen.
65
+ */
66
+ readonly businessStatus: pulumi.Output<string>;
67
+ /**
68
+ * Bandwidth package ID.
69
+ */
70
+ readonly cenBandwidthPackageId: pulumi.Output<string>;
71
+ /**
72
+ * 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.
73
+ */
74
+ readonly cenBandwidthPackageName: pulumi.Output<string>;
75
+ /**
76
+ * List of associated CEN instance IDs.
77
+ */
78
+ readonly cenIds: pulumi.Output<string[]>;
79
+ /**
80
+ * Creation time of the bandwidth package.
81
+ */
82
+ readonly creationTime: pulumi.Output<string>;
83
+ /**
84
+ * Deletion time of the bandwidth package.
85
+ */
86
+ readonly deletedTime: pulumi.Output<string>;
87
+ /**
88
+ * 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.
89
+ */
90
+ readonly description: pulumi.Output<string>;
91
+ /**
92
+ * Expiration time of the bandwidth package.
93
+ */
94
+ readonly expiredTime: pulumi.Output<string>;
95
+ /**
96
+ * 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.
97
+ */
98
+ readonly lineOperator: pulumi.Output<string>;
99
+ /**
100
+ * Local geographic region ID for Cloud Enterprise Network communication. Available values: China: Chinese mainland. Asia: Asia-Pacific.
101
+ */
102
+ readonly localGeographicRegionSetId: pulumi.Output<string>;
103
+ /**
104
+ * Peer geographic region ID for Cloud Enterprise Network interconnection. Valid values: China: Chinese mainland. Asia: Asia-Pacific.
105
+ */
106
+ readonly peerGeographicRegionSetId: pulumi.Output<string>;
107
+ /**
108
+ * 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.
109
+ */
110
+ readonly period: pulumi.Output<number>;
111
+ /**
112
+ * Billing cycle of the bandwidth package. Valid values: Month (default): month. Year: year.
113
+ */
114
+ readonly periodUnit: pulumi.Output<string>;
115
+ /**
116
+ * Name of the project to which the bandwidth package belongs. If not specified, defaults to 'default'.
117
+ */
118
+ readonly projectName: pulumi.Output<string>;
119
+ /**
120
+ * Recycle time after the bandwidth package instance expires.
121
+ */
122
+ readonly reclaimTime: pulumi.Output<string>;
123
+ /**
124
+ * Number of automatic renewals. Values include -1 and 1–100. Default is -1, which means unlimited automatic renewals.
125
+ */
126
+ readonly remainRenewTimes: pulumi.Output<number>;
127
+ /**
128
+ * Remaining bandwidth, measured in Mbps.
129
+ */
130
+ readonly remainingBandwidth: pulumi.Output<number>;
131
+ /**
132
+ * Duration of each automatic renewal, in months. Valid values: 1–3, 6, and 12. Default is 1.
133
+ */
134
+ readonly renewPeriod: pulumi.Output<number>;
135
+ /**
136
+ * Renewal type of the bandwidth package instance. Manual: Manual renewal. Auto: Automatic renewal. NoRenew: No renewal.
137
+ */
138
+ readonly renewType: pulumi.Output<string>;
139
+ /**
140
+ * Status of the bandwidth package. Creating: Being created. Deleting: Being deleted. Pending: In progress. Available: Unbound. InUse: Bound.
141
+ */
142
+ readonly status: pulumi.Output<string>;
143
+ readonly tags: pulumi.Output<outputs.cen.BandwidthPackageTag[]>;
144
+ /**
145
+ * Update time of the bandwidth package.
146
+ */
147
+ readonly updateTime: pulumi.Output<string>;
148
+ /**
149
+ * Create a BandwidthPackage resource with the given unique name, arguments, and options.
150
+ *
151
+ * @param name The _unique_ name of the resource.
152
+ * @param args The arguments to use to populate this resource's properties.
153
+ * @param opts A bag of options that control this resource's behavior.
154
+ */
155
+ constructor(name: string, args: BandwidthPackageArgs, opts?: pulumi.CustomResourceOptions);
156
+ }
157
+ /**
158
+ * Input properties used for looking up and filtering BandwidthPackage resources.
159
+ */
160
+ export interface BandwidthPackageState {
161
+ /**
162
+ * Bandwidth peak of the bandwidth package. Value range: 2–10000 Mbps. Default: 2 Mbps.
163
+ */
164
+ bandwidth?: pulumi.Input<number>;
165
+ /**
166
+ * 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
167
+ */
168
+ billingStatus?: pulumi.Input<number>;
169
+ /**
170
+ * Billing method of the bandwidth package. Valid values: 1 (default): yearly/monthly subscription. 4: pay-as-you-go—95th percentile billing.
171
+ */
172
+ billingType?: pulumi.Input<number>;
173
+ /**
174
+ * Frozen status of the bandwidth package. Normal: normal. FinancialLocked: frozen.
175
+ */
176
+ businessStatus?: pulumi.Input<string>;
177
+ /**
178
+ * Bandwidth package ID.
179
+ */
180
+ cenBandwidthPackageId?: pulumi.Input<string>;
181
+ /**
182
+ * 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.
183
+ */
184
+ cenBandwidthPackageName?: pulumi.Input<string>;
185
+ /**
186
+ * List of associated CEN instance IDs.
187
+ */
188
+ cenIds?: pulumi.Input<pulumi.Input<string>[]>;
189
+ /**
190
+ * Creation time of the bandwidth package.
191
+ */
192
+ creationTime?: pulumi.Input<string>;
193
+ /**
194
+ * Deletion time of the bandwidth package.
195
+ */
196
+ deletedTime?: pulumi.Input<string>;
197
+ /**
198
+ * 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.
199
+ */
200
+ description?: pulumi.Input<string>;
201
+ /**
202
+ * Expiration time of the bandwidth package.
203
+ */
204
+ expiredTime?: pulumi.Input<string>;
205
+ /**
206
+ * 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.
207
+ */
208
+ lineOperator?: pulumi.Input<string>;
209
+ /**
210
+ * Local geographic region ID for Cloud Enterprise Network communication. Available values: China: Chinese mainland. Asia: Asia-Pacific.
211
+ */
212
+ localGeographicRegionSetId?: pulumi.Input<string>;
213
+ /**
214
+ * Peer geographic region ID for Cloud Enterprise Network interconnection. Valid values: China: Chinese mainland. Asia: Asia-Pacific.
215
+ */
216
+ peerGeographicRegionSetId?: pulumi.Input<string>;
217
+ /**
218
+ * 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.
219
+ */
220
+ period?: pulumi.Input<number>;
221
+ /**
222
+ * Billing cycle of the bandwidth package. Valid values: Month (default): month. Year: year.
223
+ */
224
+ periodUnit?: pulumi.Input<string>;
225
+ /**
226
+ * Name of the project to which the bandwidth package belongs. If not specified, defaults to 'default'.
227
+ */
228
+ projectName?: pulumi.Input<string>;
229
+ /**
230
+ * Recycle time after the bandwidth package instance expires.
231
+ */
232
+ reclaimTime?: pulumi.Input<string>;
233
+ /**
234
+ * Number of automatic renewals. Values include -1 and 1–100. Default is -1, which means unlimited automatic renewals.
235
+ */
236
+ remainRenewTimes?: pulumi.Input<number>;
237
+ /**
238
+ * Remaining bandwidth, measured in Mbps.
239
+ */
240
+ remainingBandwidth?: pulumi.Input<number>;
241
+ /**
242
+ * Duration of each automatic renewal, in months. Valid values: 1–3, 6, and 12. Default is 1.
243
+ */
244
+ renewPeriod?: pulumi.Input<number>;
245
+ /**
246
+ * Renewal type of the bandwidth package instance. Manual: Manual renewal. Auto: Automatic renewal. NoRenew: No renewal.
247
+ */
248
+ renewType?: pulumi.Input<string>;
249
+ /**
250
+ * Status of the bandwidth package. Creating: Being created. Deleting: Being deleted. Pending: In progress. Available: Unbound. InUse: Bound.
251
+ */
252
+ status?: pulumi.Input<string>;
253
+ tags?: pulumi.Input<pulumi.Input<inputs.cen.BandwidthPackageTag>[]>;
254
+ /**
255
+ * Update time of the bandwidth package.
256
+ */
257
+ updateTime?: pulumi.Input<string>;
258
+ }
259
+ /**
260
+ * The set of arguments for constructing a BandwidthPackage resource.
261
+ */
262
+ export interface BandwidthPackageArgs {
263
+ /**
264
+ * Bandwidth peak of the bandwidth package. Value range: 2–10000 Mbps. Default: 2 Mbps.
265
+ */
266
+ bandwidth?: pulumi.Input<number>;
267
+ /**
268
+ * Billing method of the bandwidth package. Valid values: 1 (default): yearly/monthly subscription. 4: pay-as-you-go—95th percentile billing.
269
+ */
270
+ billingType?: pulumi.Input<number>;
271
+ /**
272
+ * 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.
273
+ */
274
+ cenBandwidthPackageName?: pulumi.Input<string>;
275
+ /**
276
+ * List of associated CEN instance IDs.
277
+ */
278
+ cenIds?: pulumi.Input<pulumi.Input<string>[]>;
279
+ /**
280
+ * 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.
281
+ */
282
+ description?: pulumi.Input<string>;
283
+ /**
284
+ * 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.
285
+ */
286
+ lineOperator?: pulumi.Input<string>;
287
+ /**
288
+ * Local geographic region ID for Cloud Enterprise Network communication. Available values: China: Chinese mainland. Asia: Asia-Pacific.
289
+ */
290
+ localGeographicRegionSetId: pulumi.Input<string>;
291
+ /**
292
+ * Peer geographic region ID for Cloud Enterprise Network interconnection. Valid values: China: Chinese mainland. Asia: Asia-Pacific.
293
+ */
294
+ peerGeographicRegionSetId: pulumi.Input<string>;
295
+ /**
296
+ * 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.
297
+ */
298
+ period?: pulumi.Input<number>;
299
+ /**
300
+ * Billing cycle of the bandwidth package. Valid values: Month (default): month. Year: year.
301
+ */
302
+ periodUnit?: pulumi.Input<string>;
303
+ /**
304
+ * Name of the project to which the bandwidth package belongs. If not specified, defaults to 'default'.
305
+ */
306
+ projectName?: pulumi.Input<string>;
307
+ /**
308
+ * Number of automatic renewals. Values include -1 and 1–100. Default is -1, which means unlimited automatic renewals.
309
+ */
310
+ remainRenewTimes?: pulumi.Input<number>;
311
+ /**
312
+ * Duration of each automatic renewal, in months. Valid values: 1–3, 6, and 12. Default is 1.
313
+ */
314
+ renewPeriod?: pulumi.Input<number>;
315
+ /**
316
+ * Renewal type of the bandwidth package instance. Manual: Manual renewal. Auto: Automatic renewal. NoRenew: No renewal.
317
+ */
318
+ renewType?: pulumi.Input<string>;
319
+ tags?: pulumi.Input<pulumi.Input<inputs.cen.BandwidthPackageTag>[]>;
320
+ }
@@ -0,0 +1,134 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.BandwidthPackage = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides cross-region communication bandwidth for Cloud Enterprise Network instances. You can allocate bandwidth to different inter-region connections. By creating a bandwidth package and assigning inter-region bandwidth, you enable connectivity between network instances in different regions.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
16
+ *
17
+ * const cENBandwidthPackageDemo = new volcenginecc.cen.BandwidthPackage("CENBandwidthPackageDemo", {
18
+ * bandwidth: 3,
19
+ * billingType: 4,
20
+ * cenBandwidthPackageName: "ccapi-test",
21
+ * cenIds: ["cen-2v73nw1h8a03k6x7exxxxx"],
22
+ * description: "this is a cen test",
23
+ * localGeographicRegionSetId: "China",
24
+ * peerGeographicRegionSetId: "China",
25
+ * projectName: "default",
26
+ * tags: [{
27
+ * key: "env",
28
+ * value: "test",
29
+ * }],
30
+ * });
31
+ * ```
32
+ *
33
+ * ## Import
34
+ *
35
+ * ```sh
36
+ * $ pulumi import volcenginecc:cen/bandwidthPackage:BandwidthPackage example "cen_bandwidth_package_id"
37
+ * ```
38
+ */
39
+ class BandwidthPackage extends pulumi.CustomResource {
40
+ /**
41
+ * Get an existing BandwidthPackage resource's state with the given name, ID, and optional extra
42
+ * properties used to qualify the lookup.
43
+ *
44
+ * @param name The _unique_ name of the resulting resource.
45
+ * @param id The _unique_ provider ID of the resource to lookup.
46
+ * @param state Any extra arguments used during the lookup.
47
+ * @param opts Optional settings to control the behavior of the CustomResource.
48
+ */
49
+ static get(name, id, state, opts) {
50
+ return new BandwidthPackage(name, state, Object.assign(Object.assign({}, opts), { id: id }));
51
+ }
52
+ /**
53
+ * Returns true if the given object is an instance of BandwidthPackage. This is designed to work even
54
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
55
+ */
56
+ static isInstance(obj) {
57
+ if (obj === undefined || obj === null) {
58
+ return false;
59
+ }
60
+ return obj['__pulumiType'] === BandwidthPackage.__pulumiType;
61
+ }
62
+ constructor(name, argsOrState, opts) {
63
+ let resourceInputs = {};
64
+ opts = opts || {};
65
+ if (opts.id) {
66
+ const state = argsOrState;
67
+ resourceInputs["bandwidth"] = state ? state.bandwidth : undefined;
68
+ resourceInputs["billingStatus"] = state ? state.billingStatus : undefined;
69
+ resourceInputs["billingType"] = state ? state.billingType : undefined;
70
+ resourceInputs["businessStatus"] = state ? state.businessStatus : undefined;
71
+ resourceInputs["cenBandwidthPackageId"] = state ? state.cenBandwidthPackageId : undefined;
72
+ resourceInputs["cenBandwidthPackageName"] = state ? state.cenBandwidthPackageName : undefined;
73
+ resourceInputs["cenIds"] = state ? state.cenIds : undefined;
74
+ resourceInputs["creationTime"] = state ? state.creationTime : undefined;
75
+ resourceInputs["deletedTime"] = state ? state.deletedTime : undefined;
76
+ resourceInputs["description"] = state ? state.description : undefined;
77
+ resourceInputs["expiredTime"] = state ? state.expiredTime : undefined;
78
+ resourceInputs["lineOperator"] = state ? state.lineOperator : undefined;
79
+ resourceInputs["localGeographicRegionSetId"] = state ? state.localGeographicRegionSetId : undefined;
80
+ resourceInputs["peerGeographicRegionSetId"] = state ? state.peerGeographicRegionSetId : undefined;
81
+ resourceInputs["period"] = state ? state.period : undefined;
82
+ resourceInputs["periodUnit"] = state ? state.periodUnit : undefined;
83
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
84
+ resourceInputs["reclaimTime"] = state ? state.reclaimTime : undefined;
85
+ resourceInputs["remainRenewTimes"] = state ? state.remainRenewTimes : undefined;
86
+ resourceInputs["remainingBandwidth"] = state ? state.remainingBandwidth : undefined;
87
+ resourceInputs["renewPeriod"] = state ? state.renewPeriod : undefined;
88
+ resourceInputs["renewType"] = state ? state.renewType : undefined;
89
+ resourceInputs["status"] = state ? state.status : undefined;
90
+ resourceInputs["tags"] = state ? state.tags : undefined;
91
+ resourceInputs["updateTime"] = state ? state.updateTime : undefined;
92
+ }
93
+ else {
94
+ const args = argsOrState;
95
+ if ((!args || args.localGeographicRegionSetId === undefined) && !opts.urn) {
96
+ throw new Error("Missing required property 'localGeographicRegionSetId'");
97
+ }
98
+ if ((!args || args.peerGeographicRegionSetId === undefined) && !opts.urn) {
99
+ throw new Error("Missing required property 'peerGeographicRegionSetId'");
100
+ }
101
+ resourceInputs["bandwidth"] = args ? args.bandwidth : undefined;
102
+ resourceInputs["billingType"] = args ? args.billingType : undefined;
103
+ resourceInputs["cenBandwidthPackageName"] = args ? args.cenBandwidthPackageName : undefined;
104
+ resourceInputs["cenIds"] = args ? args.cenIds : undefined;
105
+ resourceInputs["description"] = args ? args.description : undefined;
106
+ resourceInputs["lineOperator"] = args ? args.lineOperator : undefined;
107
+ resourceInputs["localGeographicRegionSetId"] = args ? args.localGeographicRegionSetId : undefined;
108
+ resourceInputs["peerGeographicRegionSetId"] = args ? args.peerGeographicRegionSetId : undefined;
109
+ resourceInputs["period"] = args ? args.period : undefined;
110
+ resourceInputs["periodUnit"] = args ? args.periodUnit : undefined;
111
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
112
+ resourceInputs["remainRenewTimes"] = args ? args.remainRenewTimes : undefined;
113
+ resourceInputs["renewPeriod"] = args ? args.renewPeriod : undefined;
114
+ resourceInputs["renewType"] = args ? args.renewType : undefined;
115
+ resourceInputs["tags"] = args ? args.tags : undefined;
116
+ resourceInputs["billingStatus"] = undefined /*out*/;
117
+ resourceInputs["businessStatus"] = undefined /*out*/;
118
+ resourceInputs["cenBandwidthPackageId"] = undefined /*out*/;
119
+ resourceInputs["creationTime"] = undefined /*out*/;
120
+ resourceInputs["deletedTime"] = undefined /*out*/;
121
+ resourceInputs["expiredTime"] = undefined /*out*/;
122
+ resourceInputs["reclaimTime"] = undefined /*out*/;
123
+ resourceInputs["remainingBandwidth"] = undefined /*out*/;
124
+ resourceInputs["status"] = undefined /*out*/;
125
+ resourceInputs["updateTime"] = undefined /*out*/;
126
+ }
127
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
128
+ super(BandwidthPackage.__pulumiType, name, resourceInputs, opts);
129
+ }
130
+ }
131
+ exports.BandwidthPackage = BandwidthPackage;
132
+ /** @internal */
133
+ BandwidthPackage.__pulumiType = 'volcenginecc:cen/bandwidthPackage:BandwidthPackage';
134
+ //# sourceMappingURL=bandwidthPackage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bandwidthPackage.js","sourceRoot":"","sources":["../../cen/bandwidthPackage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IA4GD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC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GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAxML,4CAyMC;AA3LG,gBAAgB;AACO,6BAAY,GAAG,oDAAoD,CAAC"}
@@ -0,0 +1,137 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Volcengine::CEN::BandwidthPackage
5
+ */
6
+ export declare function getBandwidthPackage(args: GetBandwidthPackageArgs, opts?: pulumi.InvokeOptions): Promise<GetBandwidthPackageResult>;
7
+ /**
8
+ * A collection of arguments for invoking getBandwidthPackage.
9
+ */
10
+ export interface GetBandwidthPackageArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getBandwidthPackage.
18
+ */
19
+ export interface GetBandwidthPackageResult {
20
+ /**
21
+ * Bandwidth peak of the bandwidth package. Value range: 2–10000 Mbps. Default: 2 Mbps.
22
+ */
23
+ readonly bandwidth: number;
24
+ /**
25
+ * 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
26
+ */
27
+ readonly billingStatus: number;
28
+ /**
29
+ * Billing method of the bandwidth package. Valid values: 1 (default): yearly/monthly subscription. 4: pay-as-you-go—95th percentile billing.
30
+ */
31
+ readonly billingType: number;
32
+ /**
33
+ * Frozen status of the bandwidth package. Normal: normal. FinancialLocked: frozen.
34
+ */
35
+ readonly businessStatus: string;
36
+ /**
37
+ * Bandwidth package ID.
38
+ */
39
+ readonly cenBandwidthPackageId: string;
40
+ /**
41
+ * 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.
42
+ */
43
+ readonly cenBandwidthPackageName: string;
44
+ /**
45
+ * List of associated CEN instance IDs.
46
+ */
47
+ readonly cenIds: string[];
48
+ /**
49
+ * Creation time of the bandwidth package.
50
+ */
51
+ readonly creationTime: string;
52
+ /**
53
+ * Deletion time of the bandwidth package.
54
+ */
55
+ readonly deletedTime: string;
56
+ /**
57
+ * 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.
58
+ */
59
+ readonly description: string;
60
+ /**
61
+ * Expiration time of the bandwidth package.
62
+ */
63
+ readonly expiredTime: string;
64
+ /**
65
+ * Uniquely identifies the resource.
66
+ */
67
+ readonly id: string;
68
+ /**
69
+ * 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.
70
+ */
71
+ readonly lineOperator: string;
72
+ /**
73
+ * Local geographic region ID for Cloud Enterprise Network communication. Available values: China: Chinese mainland. Asia: Asia-Pacific.
74
+ */
75
+ readonly localGeographicRegionSetId: string;
76
+ /**
77
+ * Peer geographic region ID for Cloud Enterprise Network interconnection. Valid values: China: Chinese mainland. Asia: Asia-Pacific.
78
+ */
79
+ readonly peerGeographicRegionSetId: string;
80
+ /**
81
+ * 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.
82
+ */
83
+ readonly period: number;
84
+ /**
85
+ * Billing cycle of the bandwidth package. Valid values: Month (default): month. Year: year.
86
+ */
87
+ readonly periodUnit: string;
88
+ /**
89
+ * Name of the project to which the bandwidth package belongs. If not specified, defaults to 'default'.
90
+ */
91
+ readonly projectName: string;
92
+ /**
93
+ * Recycle time after the bandwidth package instance expires.
94
+ */
95
+ readonly reclaimTime: string;
96
+ /**
97
+ * Number of automatic renewals. Values include -1 and 1–100. Default is -1, which means unlimited automatic renewals.
98
+ */
99
+ readonly remainRenewTimes: number;
100
+ /**
101
+ * Remaining bandwidth, measured in Mbps.
102
+ */
103
+ readonly remainingBandwidth: number;
104
+ /**
105
+ * Duration of each automatic renewal, in months. Valid values: 1–3, 6, and 12. Default is 1.
106
+ */
107
+ readonly renewPeriod: number;
108
+ /**
109
+ * Renewal type of the bandwidth package instance. Manual: Manual renewal. Auto: Automatic renewal. NoRenew: No renewal.
110
+ */
111
+ readonly renewType: string;
112
+ /**
113
+ * Status of the bandwidth package. Creating: Being created. Deleting: Being deleted. Pending: In progress. Available: Unbound. InUse: Bound.
114
+ */
115
+ readonly status: string;
116
+ /**
117
+ * Tag list
118
+ */
119
+ readonly tags: outputs.cen.GetBandwidthPackageTag[];
120
+ /**
121
+ * Update time of the bandwidth package.
122
+ */
123
+ readonly updateTime: string;
124
+ }
125
+ /**
126
+ * Data Source schema for Volcengine::CEN::BandwidthPackage
127
+ */
128
+ export declare function getBandwidthPackageOutput(args: GetBandwidthPackageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBandwidthPackageResult>;
129
+ /**
130
+ * A collection of arguments for invoking getBandwidthPackage.
131
+ */
132
+ export interface GetBandwidthPackageOutputArgs {
133
+ /**
134
+ * Uniquely identifies the resource.
135
+ */
136
+ id: pulumi.Input<string>;
137
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getBandwidthPackageOutput = exports.getBandwidthPackage = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::CEN::BandwidthPackage
10
+ */
11
+ function getBandwidthPackage(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:cen/getBandwidthPackage:getBandwidthPackage", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getBandwidthPackage = getBandwidthPackage;
18
+ /**
19
+ * Data Source schema for Volcengine::CEN::BandwidthPackage
20
+ */
21
+ function getBandwidthPackageOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:cen/getBandwidthPackage:getBandwidthPackage", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getBandwidthPackageOutput = getBandwidthPackageOutput;
28
+ //# sourceMappingURL=getBandwidthPackage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBandwidthPackage.js","sourceRoot":"","sources":["../../cen/getBandwidthPackage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;AAyHD;;GAEG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::CEN::BandwidthPackage
4
+ */
5
+ export declare function getBandwidthPackages(opts?: pulumi.InvokeOptions): Promise<GetBandwidthPackagesResult>;
6
+ /**
7
+ * A collection of values returned by getBandwidthPackages.
8
+ */
9
+ export interface GetBandwidthPackagesResult {
10
+ /**
11
+ * Uniquely identifies the data source.
12
+ */
13
+ readonly id: string;
14
+ /**
15
+ * Set of Resource Identifiers.
16
+ */
17
+ readonly ids: string[];
18
+ }
19
+ /**
20
+ * Plural Data Source schema for Volcengine::CEN::BandwidthPackage
21
+ */
22
+ export declare function getBandwidthPackagesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBandwidthPackagesResult>;