@pulumi/alicloud 3.31.0 → 3.32.0

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 (81) hide show
  1. package/bastionhost/instance.d.ts +12 -0
  2. package/bastionhost/instance.js +2 -0
  3. package/bastionhost/instance.js.map +1 -1
  4. package/bastionhost/user.d.ts +12 -3
  5. package/bastionhost/user.js.map +1 -1
  6. package/bss/getOpenApiPricingModules.d.ts +74 -0
  7. package/bss/getOpenApiPricingModules.js +40 -0
  8. package/bss/getOpenApiPricingModules.js.map +1 -1
  9. package/bss/getOpenApiProducts.d.ts +28 -0
  10. package/bss/getOpenApiProducts.js +10 -0
  11. package/bss/getOpenApiProducts.js.map +1 -1
  12. package/clickhouse/dbCluster.d.ts +6 -6
  13. package/cms/alarmContact.d.ts +2 -2
  14. package/cms/alarmContact.js +2 -2
  15. package/cr/getVpcEndpointLinkedVpcs.d.ts +117 -0
  16. package/cr/getVpcEndpointLinkedVpcs.js +65 -0
  17. package/cr/getVpcEndpointLinkedVpcs.js.map +1 -0
  18. package/cr/index.d.ts +6 -0
  19. package/cr/index.js +9 -1
  20. package/cr/index.js.map +1 -1
  21. package/cr/vpcEndpointLinkedVpc.d.ts +136 -0
  22. package/cr/vpcEndpointLinkedVpc.js +103 -0
  23. package/cr/vpcEndpointLinkedVpc.js.map +1 -0
  24. package/emrv2/cluster.d.ts +358 -0
  25. package/emrv2/cluster.js +239 -0
  26. package/emrv2/cluster.js.map +1 -0
  27. package/emrv2/getClusters.d.ts +135 -0
  28. package/emrv2/getClusters.js +40 -0
  29. package/emrv2/getClusters.js.map +1 -0
  30. package/emrv2/index.d.ts +6 -0
  31. package/emrv2/index.js +25 -0
  32. package/emrv2/index.js.map +1 -0
  33. package/ess/scalingConfiguration.d.ts +12 -0
  34. package/ess/scalingConfiguration.js +2 -0
  35. package/ess/scalingConfiguration.js.map +1 -1
  36. package/expressconnect/getRouterInterfaces.d.ts +110 -0
  37. package/expressconnect/getRouterInterfaces.js +62 -0
  38. package/expressconnect/getRouterInterfaces.js.map +1 -0
  39. package/expressconnect/index.d.ts +6 -0
  40. package/expressconnect/index.js +9 -1
  41. package/expressconnect/index.js.map +1 -1
  42. package/expressconnect/routerInterface.d.ts +493 -0
  43. package/expressconnect/routerInterface.js +177 -0
  44. package/expressconnect/routerInterface.js.map +1 -0
  45. package/hbr/serverBackupPlan.d.ts +36 -0
  46. package/hbr/serverBackupPlan.js +6 -0
  47. package/hbr/serverBackupPlan.js.map +1 -1
  48. package/index.d.ts +2 -1
  49. package/index.js +4 -2
  50. package/index.js.map +1 -1
  51. package/mongodb/instance.d.ts +48 -0
  52. package/mongodb/instance.js +8 -0
  53. package/mongodb/instance.js.map +1 -1
  54. package/nlb/securityPolicy.d.ts +17 -4
  55. package/nlb/securityPolicy.js +17 -4
  56. package/nlb/securityPolicy.js.map +1 -1
  57. package/ots/getSearchIndexes.d.ts +53 -0
  58. package/ots/getSearchIndexes.js +14 -0
  59. package/ots/getSearchIndexes.js.map +1 -1
  60. package/package.json +2 -2
  61. package/package.json.dev +2 -2
  62. package/threatdetection/getInstances.d.ts +103 -0
  63. package/threatdetection/getInstances.js +59 -0
  64. package/threatdetection/getInstances.js.map +1 -0
  65. package/threatdetection/index.d.ts +6 -0
  66. package/threatdetection/index.js +9 -1
  67. package/threatdetection/index.js.map +1 -1
  68. package/threatdetection/instance.d.ts +360 -0
  69. package/threatdetection/instance.js +139 -0
  70. package/threatdetection/instance.js.map +1 -0
  71. package/types/input.d.ts +284 -0
  72. package/types/output.d.ts +648 -0
  73. package/vpc/getRouterInterfaces.d.ts +0 -6
  74. package/vpc/getRouterInterfaces.js +0 -6
  75. package/vpc/getRouterInterfaces.js.map +1 -1
  76. package/vpc/routerInterfaceConnection.d.ts +0 -11
  77. package/vpc/routerInterfaceConnection.js +0 -11
  78. package/vpc/routerInterfaceConnection.js.map +1 -1
  79. package/yundun/bastionHostInstance.d.ts +3 -0
  80. package/yundun/bastionHostInstance.js +2 -0
  81. package/yundun/bastionHostInstance.js.map +1 -1
@@ -0,0 +1,493 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * Basic Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as alicloud from "@pulumi/alicloud";
10
+ *
11
+ * const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
12
+ * vpcName: _var.name,
13
+ * cidrBlock: "10.1.0.0/21",
14
+ * });
15
+ * const defaultRouterInterface = new alicloud.expressconnect.RouterInterface("defaultRouterInterface", {
16
+ * description: _var.name,
17
+ * oppositeRegionId: "cn-hangzhou",
18
+ * routerId: defaultNetwork.routerId,
19
+ * role: "InitiatingSide",
20
+ * routerType: "VRouter",
21
+ * paymentType: "PayAsYouGo",
22
+ * routerInterfaceName: _var.name,
23
+ * spec: "Mini.2",
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * Express Connect Router Interface can be imported using the id, e.g.
30
+ *
31
+ * ```sh
32
+ * $ pulumi import alicloud:expressconnect/routerInterface:RouterInterface example <id>
33
+ * ```
34
+ */
35
+ export declare class RouterInterface extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing RouterInterface 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?: RouterInterfaceState, opts?: pulumi.CustomResourceOptions): RouterInterface;
46
+ /**
47
+ * Returns true if the given object is an instance of RouterInterface. 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 RouterInterface;
51
+ /**
52
+ * The access point ID to which the VBR belongs.
53
+ */
54
+ readonly accessPointId: pulumi.Output<string | undefined>;
55
+ /**
56
+ * Whether to pay automatically, value:-**false** (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-**true**: Enable automatic payment to automatically pay for orders.> **InstanceChargeType** is required when the value of the parameter is **PrePaid.
57
+ */
58
+ readonly autoPay: pulumi.Output<boolean | undefined>;
59
+ /**
60
+ * The bandwidth of the resource.
61
+ */
62
+ readonly bandwidth: pulumi.Output<number>;
63
+ /**
64
+ * The businessStatus of the resource. Valid Values: `Normal`, `FinancialLocked`, `SecurityLocked`.
65
+ */
66
+ readonly businessStatus: pulumi.Output<string>;
67
+ /**
68
+ * The connected time of the resource.
69
+ */
70
+ readonly connectedTime: pulumi.Output<string>;
71
+ /**
72
+ * The creation time of the resource.
73
+ */
74
+ readonly createTime: pulumi.Output<string>;
75
+ /**
76
+ * The cross border of the resource.
77
+ */
78
+ readonly crossBorder: pulumi.Output<boolean>;
79
+ /**
80
+ * Whether to delete the health check IP address configured on the router interface. Value:-**true**: deletes the health check IP address.-**false** (default): does not delete the health check IP address.
81
+ */
82
+ readonly deleteHealthCheckIp: pulumi.Output<boolean | undefined>;
83
+ /**
84
+ * The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
85
+ */
86
+ readonly description: pulumi.Output<string | undefined>;
87
+ /**
88
+ * The end time of the resource.
89
+ */
90
+ readonly endTime: pulumi.Output<string>;
91
+ /**
92
+ * The has reservation data of the resource.
93
+ */
94
+ readonly hasReservationData: pulumi.Output<string>;
95
+ /**
96
+ * The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
97
+ */
98
+ readonly hcRate: pulumi.Output<number | undefined>;
99
+ /**
100
+ * The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
101
+ */
102
+ readonly hcThreshold: pulumi.Output<string | undefined>;
103
+ /**
104
+ * The health check source IP address, must be an unused IP within the local VPC.
105
+ */
106
+ readonly healthCheckSourceIp: pulumi.Output<string | undefined>;
107
+ /**
108
+ * The IP address for health screening purposes.
109
+ */
110
+ readonly healthCheckTargetIp: pulumi.Output<string | undefined>;
111
+ /**
112
+ * The Access point ID to which the other end belongs.
113
+ */
114
+ readonly oppositeAccessPointId: pulumi.Output<string | undefined>;
115
+ /**
116
+ * The opposite bandwidth of the router on the other side.
117
+ */
118
+ readonly oppositeBandwidth: pulumi.Output<number>;
119
+ /**
120
+ * The opposite interface business status of the router on the other side. Valid Values: `Normal`, `FinancialLocked`, `SecurityLocked`.
121
+ */
122
+ readonly oppositeInterfaceBusinessStatus: pulumi.Output<string>;
123
+ /**
124
+ * The Interface ID of the router at the other end.
125
+ */
126
+ readonly oppositeInterfaceId: pulumi.Output<string | undefined>;
127
+ /**
128
+ * The AliCloud account ID of the owner of the router interface on the other end.
129
+ */
130
+ readonly oppositeInterfaceOwnerId: pulumi.Output<string | undefined>;
131
+ /**
132
+ * The opposite interface spec of the router on the other side. Valid Values: `Mini.2`, `Mini.5`, `Mini.5`, `Small.2`, `Small.5`, `Middle.1`, `Middle.2`, `Middle.5`, `Large.1`, `Large.2`, `Large.5`, `XLarge.1`, `Negative`.
133
+ */
134
+ readonly oppositeInterfaceSpec: pulumi.Output<string>;
135
+ /**
136
+ * The opposite interface status of the router on the other side. Valid Values: `Idle`, `AcceptingConnecting`, `Connecting`, `Activating`, `Active`, `Modifying`, `Deactivating`, `Inactive`, `Deleting`.
137
+ */
138
+ readonly oppositeInterfaceStatus: pulumi.Output<string>;
139
+ /**
140
+ * The geographical ID of the location of the receiving end of the connection.
141
+ */
142
+ readonly oppositeRegionId: pulumi.Output<string>;
143
+ /**
144
+ * The id of the router at the other end.
145
+ */
146
+ readonly oppositeRouterId: pulumi.Output<string | undefined>;
147
+ /**
148
+ * The opposite router type of the router on the other side. Valid Values: `VRouter`, `VBR`.
149
+ */
150
+ readonly oppositeRouterType: pulumi.Output<string>;
151
+ /**
152
+ * The opposite vpc instance id of the router on the other side.
153
+ */
154
+ readonly oppositeVpcInstanceId: pulumi.Output<string>;
155
+ /**
156
+ * The payment methods for router interfaces. Valid Values: `PayAsYouGo`, `Subscription`.
157
+ */
158
+ readonly paymentType: pulumi.Output<string | undefined>;
159
+ /**
160
+ * Purchase duration, value:-When you choose to pay on a monthly basis, the value range is **1 to 9 * *.-When you choose to pay per year, the value range is **1 to 3 * *.> **InstanceChargeType** is required when the value of the parameter is **PrePaid.
161
+ */
162
+ readonly period: pulumi.Output<number | undefined>;
163
+ /**
164
+ * The billing cycle of the prepaid fee. Valid values:-**Month** (default): monthly payment.-**Year**: Pay per Year.> **InstanceChargeType** is required when the value of the parameter is **PrePaid.
165
+ */
166
+ readonly pricingCycle: pulumi.Output<string | undefined>;
167
+ /**
168
+ * The reservation active time of the resource.
169
+ */
170
+ readonly reservationActiveTime: pulumi.Output<string>;
171
+ /**
172
+ * The reservation bandwidth of the resource.
173
+ */
174
+ readonly reservationBandwidth: pulumi.Output<string>;
175
+ /**
176
+ * The reservation internet charge type of the resource.
177
+ */
178
+ readonly reservationInternetChargeType: pulumi.Output<string>;
179
+ /**
180
+ * The reservation order type of the resource.
181
+ */
182
+ readonly reservationOrderType: pulumi.Output<string>;
183
+ /**
184
+ * The role of the router interface. Valid Values: `InitiatingSide`, `AcceptingSide`.
185
+ */
186
+ readonly role: pulumi.Output<string>;
187
+ /**
188
+ * The router id associated with the router interface.
189
+ */
190
+ readonly routerId: pulumi.Output<string>;
191
+ /**
192
+ * The first ID of the resource.
193
+ */
194
+ readonly routerInterfaceId: pulumi.Output<string>;
195
+ /**
196
+ * The name of the resource.
197
+ */
198
+ readonly routerInterfaceName: pulumi.Output<string | undefined>;
199
+ /**
200
+ * The type of router associated with the router interface. Valid Values: `VRouter`, `VBR`.
201
+ */
202
+ readonly routerType: pulumi.Output<string>;
203
+ /**
204
+ * The specification of the router interface. Valid Values: `Mini.2`, `Mini.5`, `Mini.5`, `Small.2`, `Small.5`, `Middle.1`, `Middle.2`, `Middle.5`, `Large.1`, `Large.2`, `Large.5`, `XLarge.1`, `Negative`.
205
+ */
206
+ readonly spec: pulumi.Output<string>;
207
+ /**
208
+ * The status of the resource. Valid Values: `Idle`, `AcceptingConnecting`, `Connecting`, `Activating`, `Active`, `Modifying`, `Deactivating`, `Inactive`, `Deleting`.
209
+ */
210
+ readonly status: pulumi.Output<string>;
211
+ /**
212
+ * The vpc instance id of the resource.
213
+ */
214
+ readonly vpcInstanceId: pulumi.Output<string>;
215
+ /**
216
+ * Create a RouterInterface resource with the given unique name, arguments, and options.
217
+ *
218
+ * @param name The _unique_ name of the resource.
219
+ * @param args The arguments to use to populate this resource's properties.
220
+ * @param opts A bag of options that control this resource's behavior.
221
+ */
222
+ constructor(name: string, args: RouterInterfaceArgs, opts?: pulumi.CustomResourceOptions);
223
+ }
224
+ /**
225
+ * Input properties used for looking up and filtering RouterInterface resources.
226
+ */
227
+ export interface RouterInterfaceState {
228
+ /**
229
+ * The access point ID to which the VBR belongs.
230
+ */
231
+ accessPointId?: pulumi.Input<string>;
232
+ /**
233
+ * Whether to pay automatically, value:-**false** (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-**true**: Enable automatic payment to automatically pay for orders.> **InstanceChargeType** is required when the value of the parameter is **PrePaid.
234
+ */
235
+ autoPay?: pulumi.Input<boolean>;
236
+ /**
237
+ * The bandwidth of the resource.
238
+ */
239
+ bandwidth?: pulumi.Input<number>;
240
+ /**
241
+ * The businessStatus of the resource. Valid Values: `Normal`, `FinancialLocked`, `SecurityLocked`.
242
+ */
243
+ businessStatus?: pulumi.Input<string>;
244
+ /**
245
+ * The connected time of the resource.
246
+ */
247
+ connectedTime?: pulumi.Input<string>;
248
+ /**
249
+ * The creation time of the resource.
250
+ */
251
+ createTime?: pulumi.Input<string>;
252
+ /**
253
+ * The cross border of the resource.
254
+ */
255
+ crossBorder?: pulumi.Input<boolean>;
256
+ /**
257
+ * Whether to delete the health check IP address configured on the router interface. Value:-**true**: deletes the health check IP address.-**false** (default): does not delete the health check IP address.
258
+ */
259
+ deleteHealthCheckIp?: pulumi.Input<boolean>;
260
+ /**
261
+ * The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
262
+ */
263
+ description?: pulumi.Input<string>;
264
+ /**
265
+ * The end time of the resource.
266
+ */
267
+ endTime?: pulumi.Input<string>;
268
+ /**
269
+ * The has reservation data of the resource.
270
+ */
271
+ hasReservationData?: pulumi.Input<string>;
272
+ /**
273
+ * The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
274
+ */
275
+ hcRate?: pulumi.Input<number>;
276
+ /**
277
+ * The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
278
+ */
279
+ hcThreshold?: pulumi.Input<string>;
280
+ /**
281
+ * The health check source IP address, must be an unused IP within the local VPC.
282
+ */
283
+ healthCheckSourceIp?: pulumi.Input<string>;
284
+ /**
285
+ * The IP address for health screening purposes.
286
+ */
287
+ healthCheckTargetIp?: pulumi.Input<string>;
288
+ /**
289
+ * The Access point ID to which the other end belongs.
290
+ */
291
+ oppositeAccessPointId?: pulumi.Input<string>;
292
+ /**
293
+ * The opposite bandwidth of the router on the other side.
294
+ */
295
+ oppositeBandwidth?: pulumi.Input<number>;
296
+ /**
297
+ * The opposite interface business status of the router on the other side. Valid Values: `Normal`, `FinancialLocked`, `SecurityLocked`.
298
+ */
299
+ oppositeInterfaceBusinessStatus?: pulumi.Input<string>;
300
+ /**
301
+ * The Interface ID of the router at the other end.
302
+ */
303
+ oppositeInterfaceId?: pulumi.Input<string>;
304
+ /**
305
+ * The AliCloud account ID of the owner of the router interface on the other end.
306
+ */
307
+ oppositeInterfaceOwnerId?: pulumi.Input<string>;
308
+ /**
309
+ * The opposite interface spec of the router on the other side. Valid Values: `Mini.2`, `Mini.5`, `Mini.5`, `Small.2`, `Small.5`, `Middle.1`, `Middle.2`, `Middle.5`, `Large.1`, `Large.2`, `Large.5`, `XLarge.1`, `Negative`.
310
+ */
311
+ oppositeInterfaceSpec?: pulumi.Input<string>;
312
+ /**
313
+ * The opposite interface status of the router on the other side. Valid Values: `Idle`, `AcceptingConnecting`, `Connecting`, `Activating`, `Active`, `Modifying`, `Deactivating`, `Inactive`, `Deleting`.
314
+ */
315
+ oppositeInterfaceStatus?: pulumi.Input<string>;
316
+ /**
317
+ * The geographical ID of the location of the receiving end of the connection.
318
+ */
319
+ oppositeRegionId?: pulumi.Input<string>;
320
+ /**
321
+ * The id of the router at the other end.
322
+ */
323
+ oppositeRouterId?: pulumi.Input<string>;
324
+ /**
325
+ * The opposite router type of the router on the other side. Valid Values: `VRouter`, `VBR`.
326
+ */
327
+ oppositeRouterType?: pulumi.Input<string>;
328
+ /**
329
+ * The opposite vpc instance id of the router on the other side.
330
+ */
331
+ oppositeVpcInstanceId?: pulumi.Input<string>;
332
+ /**
333
+ * The payment methods for router interfaces. Valid Values: `PayAsYouGo`, `Subscription`.
334
+ */
335
+ paymentType?: pulumi.Input<string>;
336
+ /**
337
+ * Purchase duration, value:-When you choose to pay on a monthly basis, the value range is **1 to 9 * *.-When you choose to pay per year, the value range is **1 to 3 * *.> **InstanceChargeType** is required when the value of the parameter is **PrePaid.
338
+ */
339
+ period?: pulumi.Input<number>;
340
+ /**
341
+ * The billing cycle of the prepaid fee. Valid values:-**Month** (default): monthly payment.-**Year**: Pay per Year.> **InstanceChargeType** is required when the value of the parameter is **PrePaid.
342
+ */
343
+ pricingCycle?: pulumi.Input<string>;
344
+ /**
345
+ * The reservation active time of the resource.
346
+ */
347
+ reservationActiveTime?: pulumi.Input<string>;
348
+ /**
349
+ * The reservation bandwidth of the resource.
350
+ */
351
+ reservationBandwidth?: pulumi.Input<string>;
352
+ /**
353
+ * The reservation internet charge type of the resource.
354
+ */
355
+ reservationInternetChargeType?: pulumi.Input<string>;
356
+ /**
357
+ * The reservation order type of the resource.
358
+ */
359
+ reservationOrderType?: pulumi.Input<string>;
360
+ /**
361
+ * The role of the router interface. Valid Values: `InitiatingSide`, `AcceptingSide`.
362
+ */
363
+ role?: pulumi.Input<string>;
364
+ /**
365
+ * The router id associated with the router interface.
366
+ */
367
+ routerId?: pulumi.Input<string>;
368
+ /**
369
+ * The first ID of the resource.
370
+ */
371
+ routerInterfaceId?: pulumi.Input<string>;
372
+ /**
373
+ * The name of the resource.
374
+ */
375
+ routerInterfaceName?: pulumi.Input<string>;
376
+ /**
377
+ * The type of router associated with the router interface. Valid Values: `VRouter`, `VBR`.
378
+ */
379
+ routerType?: pulumi.Input<string>;
380
+ /**
381
+ * The specification of the router interface. Valid Values: `Mini.2`, `Mini.5`, `Mini.5`, `Small.2`, `Small.5`, `Middle.1`, `Middle.2`, `Middle.5`, `Large.1`, `Large.2`, `Large.5`, `XLarge.1`, `Negative`.
382
+ */
383
+ spec?: pulumi.Input<string>;
384
+ /**
385
+ * The status of the resource. Valid Values: `Idle`, `AcceptingConnecting`, `Connecting`, `Activating`, `Active`, `Modifying`, `Deactivating`, `Inactive`, `Deleting`.
386
+ */
387
+ status?: pulumi.Input<string>;
388
+ /**
389
+ * The vpc instance id of the resource.
390
+ */
391
+ vpcInstanceId?: pulumi.Input<string>;
392
+ }
393
+ /**
394
+ * The set of arguments for constructing a RouterInterface resource.
395
+ */
396
+ export interface RouterInterfaceArgs {
397
+ /**
398
+ * The access point ID to which the VBR belongs.
399
+ */
400
+ accessPointId?: pulumi.Input<string>;
401
+ /**
402
+ * Whether to pay automatically, value:-**false** (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-**true**: Enable automatic payment to automatically pay for orders.> **InstanceChargeType** is required when the value of the parameter is **PrePaid.
403
+ */
404
+ autoPay?: pulumi.Input<boolean>;
405
+ /**
406
+ * Whether to delete the health check IP address configured on the router interface. Value:-**true**: deletes the health check IP address.-**false** (default): does not delete the health check IP address.
407
+ */
408
+ deleteHealthCheckIp?: pulumi.Input<boolean>;
409
+ /**
410
+ * The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
411
+ */
412
+ description?: pulumi.Input<string>;
413
+ /**
414
+ * The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
415
+ */
416
+ hcRate?: pulumi.Input<number>;
417
+ /**
418
+ * The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
419
+ */
420
+ hcThreshold?: pulumi.Input<string>;
421
+ /**
422
+ * The health check source IP address, must be an unused IP within the local VPC.
423
+ */
424
+ healthCheckSourceIp?: pulumi.Input<string>;
425
+ /**
426
+ * The IP address for health screening purposes.
427
+ */
428
+ healthCheckTargetIp?: pulumi.Input<string>;
429
+ /**
430
+ * The Access point ID to which the other end belongs.
431
+ */
432
+ oppositeAccessPointId?: pulumi.Input<string>;
433
+ /**
434
+ * The Interface ID of the router at the other end.
435
+ */
436
+ oppositeInterfaceId?: pulumi.Input<string>;
437
+ /**
438
+ * The AliCloud account ID of the owner of the router interface on the other end.
439
+ */
440
+ oppositeInterfaceOwnerId?: pulumi.Input<string>;
441
+ /**
442
+ * The geographical ID of the location of the receiving end of the connection.
443
+ */
444
+ oppositeRegionId: pulumi.Input<string>;
445
+ /**
446
+ * The id of the router at the other end.
447
+ */
448
+ oppositeRouterId?: pulumi.Input<string>;
449
+ /**
450
+ * The opposite router type of the router on the other side. Valid Values: `VRouter`, `VBR`.
451
+ */
452
+ oppositeRouterType?: pulumi.Input<string>;
453
+ /**
454
+ * The payment methods for router interfaces. Valid Values: `PayAsYouGo`, `Subscription`.
455
+ */
456
+ paymentType?: pulumi.Input<string>;
457
+ /**
458
+ * Purchase duration, value:-When you choose to pay on a monthly basis, the value range is **1 to 9 * *.-When you choose to pay per year, the value range is **1 to 3 * *.> **InstanceChargeType** is required when the value of the parameter is **PrePaid.
459
+ */
460
+ period?: pulumi.Input<number>;
461
+ /**
462
+ * The billing cycle of the prepaid fee. Valid values:-**Month** (default): monthly payment.-**Year**: Pay per Year.> **InstanceChargeType** is required when the value of the parameter is **PrePaid.
463
+ */
464
+ pricingCycle?: pulumi.Input<string>;
465
+ /**
466
+ * The role of the router interface. Valid Values: `InitiatingSide`, `AcceptingSide`.
467
+ */
468
+ role: pulumi.Input<string>;
469
+ /**
470
+ * The router id associated with the router interface.
471
+ */
472
+ routerId: pulumi.Input<string>;
473
+ /**
474
+ * The first ID of the resource.
475
+ */
476
+ routerInterfaceId?: pulumi.Input<string>;
477
+ /**
478
+ * The name of the resource.
479
+ */
480
+ routerInterfaceName?: pulumi.Input<string>;
481
+ /**
482
+ * The type of router associated with the router interface. Valid Values: `VRouter`, `VBR`.
483
+ */
484
+ routerType: pulumi.Input<string>;
485
+ /**
486
+ * The specification of the router interface. Valid Values: `Mini.2`, `Mini.5`, `Mini.5`, `Small.2`, `Small.5`, `Middle.1`, `Middle.2`, `Middle.5`, `Large.1`, `Large.2`, `Large.5`, `XLarge.1`, `Negative`.
487
+ */
488
+ spec: pulumi.Input<string>;
489
+ /**
490
+ * The status of the resource. Valid Values: `Idle`, `AcceptingConnecting`, `Connecting`, `Activating`, `Active`, `Modifying`, `Deactivating`, `Inactive`, `Deleting`.
491
+ */
492
+ status?: pulumi.Input<string>;
493
+ }
@@ -0,0 +1,177 @@
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.RouterInterface = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * Basic Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as alicloud from "@pulumi/alicloud";
16
+ *
17
+ * const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
18
+ * vpcName: _var.name,
19
+ * cidrBlock: "10.1.0.0/21",
20
+ * });
21
+ * const defaultRouterInterface = new alicloud.expressconnect.RouterInterface("defaultRouterInterface", {
22
+ * description: _var.name,
23
+ * oppositeRegionId: "cn-hangzhou",
24
+ * routerId: defaultNetwork.routerId,
25
+ * role: "InitiatingSide",
26
+ * routerType: "VRouter",
27
+ * paymentType: "PayAsYouGo",
28
+ * routerInterfaceName: _var.name,
29
+ * spec: "Mini.2",
30
+ * });
31
+ * ```
32
+ *
33
+ * ## Import
34
+ *
35
+ * Express Connect Router Interface can be imported using the id, e.g.
36
+ *
37
+ * ```sh
38
+ * $ pulumi import alicloud:expressconnect/routerInterface:RouterInterface example <id>
39
+ * ```
40
+ */
41
+ class RouterInterface extends pulumi.CustomResource {
42
+ /**
43
+ * Get an existing RouterInterface resource's state with the given name, ID, and optional extra
44
+ * properties used to qualify the lookup.
45
+ *
46
+ * @param name The _unique_ name of the resulting resource.
47
+ * @param id The _unique_ provider ID of the resource to lookup.
48
+ * @param state Any extra arguments used during the lookup.
49
+ * @param opts Optional settings to control the behavior of the CustomResource.
50
+ */
51
+ static get(name, id, state, opts) {
52
+ return new RouterInterface(name, state, Object.assign(Object.assign({}, opts), { id: id }));
53
+ }
54
+ /**
55
+ * Returns true if the given object is an instance of RouterInterface. This is designed to work even
56
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
57
+ */
58
+ static isInstance(obj) {
59
+ if (obj === undefined || obj === null) {
60
+ return false;
61
+ }
62
+ return obj['__pulumiType'] === RouterInterface.__pulumiType;
63
+ }
64
+ constructor(name, argsOrState, opts) {
65
+ let resourceInputs = {};
66
+ opts = opts || {};
67
+ if (opts.id) {
68
+ const state = argsOrState;
69
+ resourceInputs["accessPointId"] = state ? state.accessPointId : undefined;
70
+ resourceInputs["autoPay"] = state ? state.autoPay : undefined;
71
+ resourceInputs["bandwidth"] = state ? state.bandwidth : undefined;
72
+ resourceInputs["businessStatus"] = state ? state.businessStatus : undefined;
73
+ resourceInputs["connectedTime"] = state ? state.connectedTime : undefined;
74
+ resourceInputs["createTime"] = state ? state.createTime : undefined;
75
+ resourceInputs["crossBorder"] = state ? state.crossBorder : undefined;
76
+ resourceInputs["deleteHealthCheckIp"] = state ? state.deleteHealthCheckIp : undefined;
77
+ resourceInputs["description"] = state ? state.description : undefined;
78
+ resourceInputs["endTime"] = state ? state.endTime : undefined;
79
+ resourceInputs["hasReservationData"] = state ? state.hasReservationData : undefined;
80
+ resourceInputs["hcRate"] = state ? state.hcRate : undefined;
81
+ resourceInputs["hcThreshold"] = state ? state.hcThreshold : undefined;
82
+ resourceInputs["healthCheckSourceIp"] = state ? state.healthCheckSourceIp : undefined;
83
+ resourceInputs["healthCheckTargetIp"] = state ? state.healthCheckTargetIp : undefined;
84
+ resourceInputs["oppositeAccessPointId"] = state ? state.oppositeAccessPointId : undefined;
85
+ resourceInputs["oppositeBandwidth"] = state ? state.oppositeBandwidth : undefined;
86
+ resourceInputs["oppositeInterfaceBusinessStatus"] = state ? state.oppositeInterfaceBusinessStatus : undefined;
87
+ resourceInputs["oppositeInterfaceId"] = state ? state.oppositeInterfaceId : undefined;
88
+ resourceInputs["oppositeInterfaceOwnerId"] = state ? state.oppositeInterfaceOwnerId : undefined;
89
+ resourceInputs["oppositeInterfaceSpec"] = state ? state.oppositeInterfaceSpec : undefined;
90
+ resourceInputs["oppositeInterfaceStatus"] = state ? state.oppositeInterfaceStatus : undefined;
91
+ resourceInputs["oppositeRegionId"] = state ? state.oppositeRegionId : undefined;
92
+ resourceInputs["oppositeRouterId"] = state ? state.oppositeRouterId : undefined;
93
+ resourceInputs["oppositeRouterType"] = state ? state.oppositeRouterType : undefined;
94
+ resourceInputs["oppositeVpcInstanceId"] = state ? state.oppositeVpcInstanceId : undefined;
95
+ resourceInputs["paymentType"] = state ? state.paymentType : undefined;
96
+ resourceInputs["period"] = state ? state.period : undefined;
97
+ resourceInputs["pricingCycle"] = state ? state.pricingCycle : undefined;
98
+ resourceInputs["reservationActiveTime"] = state ? state.reservationActiveTime : undefined;
99
+ resourceInputs["reservationBandwidth"] = state ? state.reservationBandwidth : undefined;
100
+ resourceInputs["reservationInternetChargeType"] = state ? state.reservationInternetChargeType : undefined;
101
+ resourceInputs["reservationOrderType"] = state ? state.reservationOrderType : undefined;
102
+ resourceInputs["role"] = state ? state.role : undefined;
103
+ resourceInputs["routerId"] = state ? state.routerId : undefined;
104
+ resourceInputs["routerInterfaceId"] = state ? state.routerInterfaceId : undefined;
105
+ resourceInputs["routerInterfaceName"] = state ? state.routerInterfaceName : undefined;
106
+ resourceInputs["routerType"] = state ? state.routerType : undefined;
107
+ resourceInputs["spec"] = state ? state.spec : undefined;
108
+ resourceInputs["status"] = state ? state.status : undefined;
109
+ resourceInputs["vpcInstanceId"] = state ? state.vpcInstanceId : undefined;
110
+ }
111
+ else {
112
+ const args = argsOrState;
113
+ if ((!args || args.oppositeRegionId === undefined) && !opts.urn) {
114
+ throw new Error("Missing required property 'oppositeRegionId'");
115
+ }
116
+ if ((!args || args.role === undefined) && !opts.urn) {
117
+ throw new Error("Missing required property 'role'");
118
+ }
119
+ if ((!args || args.routerId === undefined) && !opts.urn) {
120
+ throw new Error("Missing required property 'routerId'");
121
+ }
122
+ if ((!args || args.routerType === undefined) && !opts.urn) {
123
+ throw new Error("Missing required property 'routerType'");
124
+ }
125
+ if ((!args || args.spec === undefined) && !opts.urn) {
126
+ throw new Error("Missing required property 'spec'");
127
+ }
128
+ resourceInputs["accessPointId"] = args ? args.accessPointId : undefined;
129
+ resourceInputs["autoPay"] = args ? args.autoPay : undefined;
130
+ resourceInputs["deleteHealthCheckIp"] = args ? args.deleteHealthCheckIp : undefined;
131
+ resourceInputs["description"] = args ? args.description : undefined;
132
+ resourceInputs["hcRate"] = args ? args.hcRate : undefined;
133
+ resourceInputs["hcThreshold"] = args ? args.hcThreshold : undefined;
134
+ resourceInputs["healthCheckSourceIp"] = args ? args.healthCheckSourceIp : undefined;
135
+ resourceInputs["healthCheckTargetIp"] = args ? args.healthCheckTargetIp : undefined;
136
+ resourceInputs["oppositeAccessPointId"] = args ? args.oppositeAccessPointId : undefined;
137
+ resourceInputs["oppositeInterfaceId"] = args ? args.oppositeInterfaceId : undefined;
138
+ resourceInputs["oppositeInterfaceOwnerId"] = args ? args.oppositeInterfaceOwnerId : undefined;
139
+ resourceInputs["oppositeRegionId"] = args ? args.oppositeRegionId : undefined;
140
+ resourceInputs["oppositeRouterId"] = args ? args.oppositeRouterId : undefined;
141
+ resourceInputs["oppositeRouterType"] = args ? args.oppositeRouterType : undefined;
142
+ resourceInputs["paymentType"] = args ? args.paymentType : undefined;
143
+ resourceInputs["period"] = args ? args.period : undefined;
144
+ resourceInputs["pricingCycle"] = args ? args.pricingCycle : undefined;
145
+ resourceInputs["role"] = args ? args.role : undefined;
146
+ resourceInputs["routerId"] = args ? args.routerId : undefined;
147
+ resourceInputs["routerInterfaceId"] = args ? args.routerInterfaceId : undefined;
148
+ resourceInputs["routerInterfaceName"] = args ? args.routerInterfaceName : undefined;
149
+ resourceInputs["routerType"] = args ? args.routerType : undefined;
150
+ resourceInputs["spec"] = args ? args.spec : undefined;
151
+ resourceInputs["status"] = args ? args.status : undefined;
152
+ resourceInputs["bandwidth"] = undefined /*out*/;
153
+ resourceInputs["businessStatus"] = undefined /*out*/;
154
+ resourceInputs["connectedTime"] = undefined /*out*/;
155
+ resourceInputs["createTime"] = undefined /*out*/;
156
+ resourceInputs["crossBorder"] = undefined /*out*/;
157
+ resourceInputs["endTime"] = undefined /*out*/;
158
+ resourceInputs["hasReservationData"] = undefined /*out*/;
159
+ resourceInputs["oppositeBandwidth"] = undefined /*out*/;
160
+ resourceInputs["oppositeInterfaceBusinessStatus"] = undefined /*out*/;
161
+ resourceInputs["oppositeInterfaceSpec"] = undefined /*out*/;
162
+ resourceInputs["oppositeInterfaceStatus"] = undefined /*out*/;
163
+ resourceInputs["oppositeVpcInstanceId"] = undefined /*out*/;
164
+ resourceInputs["reservationActiveTime"] = undefined /*out*/;
165
+ resourceInputs["reservationBandwidth"] = undefined /*out*/;
166
+ resourceInputs["reservationInternetChargeType"] = undefined /*out*/;
167
+ resourceInputs["reservationOrderType"] = undefined /*out*/;
168
+ resourceInputs["vpcInstanceId"] = undefined /*out*/;
169
+ }
170
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
171
+ super(RouterInterface.__pulumiType, name, resourceInputs, opts);
172
+ }
173
+ }
174
+ exports.RouterInterface = RouterInterface;
175
+ /** @internal */
176
+ RouterInterface.__pulumiType = 'alicloud:expressconnect/routerInterface:RouterInterface';
177
+ //# sourceMappingURL=routerInterface.js.map