@volcengine/pulumi-volcenginecc 0.0.37 → 0.0.38

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 (84) hide show
  1. package/directconnect/gatewayRoute.d.ts +142 -0
  2. package/directconnect/gatewayRoute.js +96 -0
  3. package/directconnect/gatewayRoute.js.map +1 -0
  4. package/directconnect/getGatewayRoute.d.ts +72 -0
  5. package/directconnect/getGatewayRoute.js +28 -0
  6. package/directconnect/getGatewayRoute.js.map +1 -0
  7. package/directconnect/getGatewayRoutes.d.ts +22 -0
  8. package/directconnect/getGatewayRoutes.js +24 -0
  9. package/directconnect/getGatewayRoutes.js.map +1 -0
  10. package/directconnect/getVirtualInterface.d.ts +133 -0
  11. package/directconnect/getVirtualInterface.js +28 -0
  12. package/directconnect/getVirtualInterface.js.map +1 -0
  13. package/directconnect/getVirtualInterfaces.d.ts +22 -0
  14. package/directconnect/getVirtualInterfaces.js +24 -0
  15. package/directconnect/getVirtualInterfaces.js.map +1 -0
  16. package/directconnect/index.d.ts +18 -0
  17. package/directconnect/index.js +23 -1
  18. package/directconnect/index.js.map +1 -1
  19. package/directconnect/virtualInterface.d.ts +336 -0
  20. package/directconnect/virtualInterface.js +149 -0
  21. package/directconnect/virtualInterface.js.map +1 -0
  22. package/gtm/getPool.d.ts +81 -0
  23. package/gtm/getPool.js +28 -0
  24. package/gtm/getPool.js.map +1 -0
  25. package/gtm/getPools.d.ts +22 -0
  26. package/gtm/getPools.js +24 -0
  27. package/gtm/getPools.js.map +1 -0
  28. package/gtm/index.d.ts +9 -0
  29. package/gtm/index.js +28 -0
  30. package/gtm/index.js.map +1 -0
  31. package/gtm/pool.d.ts +154 -0
  32. package/gtm/pool.js +87 -0
  33. package/gtm/pool.js.map +1 -0
  34. package/index.d.ts +2 -1
  35. package/index.js +3 -1
  36. package/index.js.map +1 -1
  37. package/kms/getSecret.d.ts +128 -0
  38. package/kms/getSecret.js +28 -0
  39. package/kms/getSecret.js.map +1 -0
  40. package/kms/getSecrets.d.ts +22 -0
  41. package/kms/getSecrets.js +24 -0
  42. package/kms/getSecrets.js.map +1 -0
  43. package/kms/index.d.ts +9 -0
  44. package/kms/index.js +12 -1
  45. package/kms/index.js.map +1 -1
  46. package/kms/secret.d.ts +289 -0
  47. package/kms/secret.js +131 -0
  48. package/kms/secret.js.map +1 -0
  49. package/package.json +1 -1
  50. package/tls/alarm.d.ts +215 -0
  51. package/tls/alarm.js +110 -0
  52. package/tls/alarm.js.map +1 -0
  53. package/tls/getAlarm.d.ts +109 -0
  54. package/tls/getAlarm.js +28 -0
  55. package/tls/getAlarm.js.map +1 -0
  56. package/tls/getAlarms.d.ts +22 -0
  57. package/tls/getAlarms.js +24 -0
  58. package/tls/getAlarms.js.map +1 -0
  59. package/tls/index.d.ts +9 -0
  60. package/tls/index.js +12 -1
  61. package/tls/index.js.map +1 -1
  62. package/types/input.d.ts +163 -1
  63. package/types/output.d.ts +522 -2
  64. package/vpn/getSslVpnServer.d.ts +109 -0
  65. package/vpn/getSslVpnServer.js +28 -0
  66. package/vpn/getSslVpnServer.js.map +1 -0
  67. package/vpn/getSslVpnServers.d.ts +22 -0
  68. package/vpn/getSslVpnServers.js +24 -0
  69. package/vpn/getSslVpnServers.js.map +1 -0
  70. package/vpn/getVpnGatewayRoute.d.ts +77 -0
  71. package/vpn/getVpnGatewayRoute.js +28 -0
  72. package/vpn/getVpnGatewayRoute.js.map +1 -0
  73. package/vpn/getVpnGatewayRoutes.d.ts +22 -0
  74. package/vpn/getVpnGatewayRoutes.js +24 -0
  75. package/vpn/getVpnGatewayRoutes.js.map +1 -0
  76. package/vpn/index.d.ts +18 -0
  77. package/vpn/index.js +23 -1
  78. package/vpn/index.js.map +1 -1
  79. package/vpn/sslVpnServer.d.ts +263 -0
  80. package/vpn/sslVpnServer.js +130 -0
  81. package/vpn/sslVpnServer.js.map +1 -0
  82. package/vpn/vpnGatewayRoute.d.ts +146 -0
  83. package/vpn/vpnGatewayRoute.js +98 -0
  84. package/vpn/vpnGatewayRoute.js.map +1 -0
@@ -2,27 +2,49 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.getDirectConnectGatewaysOutput = exports.getDirectConnectGateways = exports.getDirectConnectGatewayOutput = exports.getDirectConnectGateway = exports.DirectConnectGateway = void 0;
5
+ exports.VirtualInterface = exports.getVirtualInterfacesOutput = exports.getVirtualInterfaces = exports.getVirtualInterfaceOutput = exports.getVirtualInterface = exports.getGatewayRoutesOutput = exports.getGatewayRoutes = exports.getGatewayRouteOutput = exports.getGatewayRoute = exports.getDirectConnectGatewaysOutput = exports.getDirectConnectGateways = exports.getDirectConnectGatewayOutput = exports.getDirectConnectGateway = exports.GatewayRoute = exports.DirectConnectGateway = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.DirectConnectGateway = null;
9
9
  utilities.lazyLoad(exports, ["DirectConnectGateway"], () => require("./directConnectGateway"));
10
+ exports.GatewayRoute = null;
11
+ utilities.lazyLoad(exports, ["GatewayRoute"], () => require("./gatewayRoute"));
10
12
  exports.getDirectConnectGateway = null;
11
13
  exports.getDirectConnectGatewayOutput = null;
12
14
  utilities.lazyLoad(exports, ["getDirectConnectGateway", "getDirectConnectGatewayOutput"], () => require("./getDirectConnectGateway"));
13
15
  exports.getDirectConnectGateways = null;
14
16
  exports.getDirectConnectGatewaysOutput = null;
15
17
  utilities.lazyLoad(exports, ["getDirectConnectGateways", "getDirectConnectGatewaysOutput"], () => require("./getDirectConnectGateways"));
18
+ exports.getGatewayRoute = null;
19
+ exports.getGatewayRouteOutput = null;
20
+ utilities.lazyLoad(exports, ["getGatewayRoute", "getGatewayRouteOutput"], () => require("./getGatewayRoute"));
21
+ exports.getGatewayRoutes = null;
22
+ exports.getGatewayRoutesOutput = null;
23
+ utilities.lazyLoad(exports, ["getGatewayRoutes", "getGatewayRoutesOutput"], () => require("./getGatewayRoutes"));
24
+ exports.getVirtualInterface = null;
25
+ exports.getVirtualInterfaceOutput = null;
26
+ utilities.lazyLoad(exports, ["getVirtualInterface", "getVirtualInterfaceOutput"], () => require("./getVirtualInterface"));
27
+ exports.getVirtualInterfaces = null;
28
+ exports.getVirtualInterfacesOutput = null;
29
+ utilities.lazyLoad(exports, ["getVirtualInterfaces", "getVirtualInterfacesOutput"], () => require("./getVirtualInterfaces"));
30
+ exports.VirtualInterface = null;
31
+ utilities.lazyLoad(exports, ["VirtualInterface"], () => require("./virtualInterface"));
16
32
  const _module = {
17
33
  version: utilities.getVersion(),
18
34
  construct: (name, type, urn) => {
19
35
  switch (type) {
20
36
  case "volcenginecc:directconnect/directConnectGateway:DirectConnectGateway":
21
37
  return new exports.DirectConnectGateway(name, undefined, { urn });
38
+ case "volcenginecc:directconnect/gatewayRoute:GatewayRoute":
39
+ return new exports.GatewayRoute(name, undefined, { urn });
40
+ case "volcenginecc:directconnect/virtualInterface:VirtualInterface":
41
+ return new exports.VirtualInterface(name, undefined, { urn });
22
42
  default:
23
43
  throw new Error(`unknown resource type ${type}`);
24
44
  }
25
45
  },
26
46
  };
27
47
  pulumi.runtime.registerResourceModule("volcenginecc", "directconnect/directConnectGateway", _module);
48
+ pulumi.runtime.registerResourceModule("volcenginecc", "directconnect/gatewayRoute", _module);
49
+ pulumi.runtime.registerResourceModule("volcenginecc", "directconnect/virtualInterface", _module);
28
50
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../directconnect/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,oBAAoB,GAAiE,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,C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sBAAsB,CAAC,cAAc,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,336 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * The virtual interface is built on top of a physical dedicated line. It is a logical interface that enables the local data center (IDC) to connect to different private networks in the cloud via the physical dedicated line. Supports both static routing and BGP routing. This operation uses BGP routing.
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 directConnectVirtualInterfaceDemo = new volcenginecc.directconnect.VirtualInterface("DirectConnectVirtualInterfaceDemo", {
14
+ * localIpv6Ip: "2408:xxxx:cc:400::1/64",
15
+ * description: "生产环境虚拟接口",
16
+ * directConnectGatewayId: "dcg-****",
17
+ * directConnectConnectionId: "dcc-****",
18
+ * peerIp: "192.168.100.2/30",
19
+ * enableBfdEcho: false,
20
+ * enableNqa: false,
21
+ * bfdDetectMultiplier: 3,
22
+ * peerIpv6Ip: "2408:xxxx:cc:400::2/64",
23
+ * routeType: "BGP",
24
+ * virtualInterfaceName: "prod-virtual-interface",
25
+ * localIp: "192.168.100.1/30",
26
+ * enableBfd: true,
27
+ * bandwidth: 50,
28
+ * vlanId: 2111,
29
+ * tags: [{
30
+ * value: "env",
31
+ * key: "test",
32
+ * }],
33
+ * bfdDetectInterval: 1000,
34
+ * });
35
+ * ```
36
+ *
37
+ * ## Import
38
+ *
39
+ * ```sh
40
+ * $ pulumi import volcenginecc:directconnect/virtualInterface:VirtualInterface example "virtual_interface_id"
41
+ * ```
42
+ */
43
+ export declare class VirtualInterface extends pulumi.CustomResource {
44
+ /**
45
+ * Get an existing VirtualInterface resource's state with the given name, ID, and optional extra
46
+ * properties used to qualify the lookup.
47
+ *
48
+ * @param name The _unique_ name of the resulting resource.
49
+ * @param id The _unique_ provider ID of the resource to lookup.
50
+ * @param state Any extra arguments used during the lookup.
51
+ * @param opts Optional settings to control the behavior of the CustomResource.
52
+ */
53
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VirtualInterfaceState, opts?: pulumi.CustomResourceOptions): VirtualInterface;
54
+ /**
55
+ * Returns true if the given object is an instance of VirtualInterface. 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: any): obj is VirtualInterface;
59
+ /**
60
+ * ID of the account to which the dedicated line gateway belongs.
61
+ */
62
+ readonly accountId: pulumi.Output<string>;
63
+ /**
64
+ * Bandwidth limit of the virtual interface, in Mbps.
65
+ */
66
+ readonly bandwidth: pulumi.Output<number>;
67
+ /**
68
+ * BFD detection interval (ms).
69
+ */
70
+ readonly bfdDetectInterval: pulumi.Output<number>;
71
+ /**
72
+ * BFD detection count.
73
+ */
74
+ readonly bfdDetectMultiplier: pulumi.Output<number>;
75
+ /**
76
+ * Time when the virtual interface was created.
77
+ */
78
+ readonly creationTime: pulumi.Output<string>;
79
+ /**
80
+ * Description of the virtual interface.
81
+ */
82
+ readonly description: pulumi.Output<string>;
83
+ /**
84
+ * ID of the physical dedicated line associated with the virtual interface.
85
+ */
86
+ readonly directConnectConnectionId: pulumi.Output<string>;
87
+ /**
88
+ * ID of the dedicated gateway associated with the virtual interface.
89
+ */
90
+ readonly directConnectGatewayId: pulumi.Output<string>;
91
+ /**
92
+ * Enable BFD detection. true: enabled false: disabled.
93
+ */
94
+ readonly enableBfd: pulumi.Output<boolean>;
95
+ /**
96
+ * Enable BFD detection echo packet mode. true: enabled false: disabled.
97
+ */
98
+ readonly enableBfdEcho: pulumi.Output<boolean>;
99
+ /**
100
+ * Is NQA detection enabled? true: enabled false: not enabled.
101
+ */
102
+ readonly enableNqa: pulumi.Output<boolean>;
103
+ /**
104
+ * Local gateway interconnection IP address of the virtual interface.
105
+ */
106
+ readonly localIp: pulumi.Output<string>;
107
+ /**
108
+ * IPv6 address of the local gateway interconnection IP for the virtual interface.
109
+ */
110
+ readonly localIpv6Ip: pulumi.Output<string>;
111
+ /**
112
+ * Interval for sending consecutive probe packets in NQA detection.
113
+ */
114
+ readonly nqaDetectInterval: pulumi.Output<number>;
115
+ /**
116
+ * NQA detection count. If the number of consecutive NQA detection failures reaches the set count, the link is considered faulty.
117
+ */
118
+ readonly nqaDetectMultiplier: pulumi.Output<number>;
119
+ /**
120
+ * Peer gateway interconnection IP address of the virtual interface.
121
+ */
122
+ readonly peerIp: pulumi.Output<string>;
123
+ /**
124
+ * IPv6 address of the peer gateway interconnection IP for the virtual interface.
125
+ */
126
+ readonly peerIpv6Ip: pulumi.Output<string>;
127
+ /**
128
+ * Route type of the virtual interface.
129
+ */
130
+ readonly routeType: pulumi.Output<string>;
131
+ /**
132
+ * Status of the virtual interface. Creating: creating Deleting: deleting Pending: configuring Available: available.
133
+ */
134
+ readonly status: pulumi.Output<string>;
135
+ readonly tags: pulumi.Output<outputs.directconnect.VirtualInterfaceTag[]>;
136
+ /**
137
+ * Time when the virtual interface was updated.
138
+ */
139
+ readonly updateTime: pulumi.Output<string>;
140
+ /**
141
+ * ID of the virtual interface.
142
+ */
143
+ readonly virtualInterfaceId: pulumi.Output<string>;
144
+ /**
145
+ * Name of the virtual interface.
146
+ */
147
+ readonly virtualInterfaceName: pulumi.Output<string>;
148
+ /**
149
+ * VLAN ID of the virtual interface.
150
+ */
151
+ readonly vlanId: pulumi.Output<number>;
152
+ /**
153
+ * Create a VirtualInterface resource with the given unique name, arguments, and options.
154
+ *
155
+ * @param name The _unique_ name of the resource.
156
+ * @param args The arguments to use to populate this resource's properties.
157
+ * @param opts A bag of options that control this resource's behavior.
158
+ */
159
+ constructor(name: string, args: VirtualInterfaceArgs, opts?: pulumi.CustomResourceOptions);
160
+ }
161
+ /**
162
+ * Input properties used for looking up and filtering VirtualInterface resources.
163
+ */
164
+ export interface VirtualInterfaceState {
165
+ /**
166
+ * ID of the account to which the dedicated line gateway belongs.
167
+ */
168
+ accountId?: pulumi.Input<string>;
169
+ /**
170
+ * Bandwidth limit of the virtual interface, in Mbps.
171
+ */
172
+ bandwidth?: pulumi.Input<number>;
173
+ /**
174
+ * BFD detection interval (ms).
175
+ */
176
+ bfdDetectInterval?: pulumi.Input<number>;
177
+ /**
178
+ * BFD detection count.
179
+ */
180
+ bfdDetectMultiplier?: pulumi.Input<number>;
181
+ /**
182
+ * Time when the virtual interface was created.
183
+ */
184
+ creationTime?: pulumi.Input<string>;
185
+ /**
186
+ * Description of the virtual interface.
187
+ */
188
+ description?: pulumi.Input<string>;
189
+ /**
190
+ * ID of the physical dedicated line associated with the virtual interface.
191
+ */
192
+ directConnectConnectionId?: pulumi.Input<string>;
193
+ /**
194
+ * ID of the dedicated gateway associated with the virtual interface.
195
+ */
196
+ directConnectGatewayId?: pulumi.Input<string>;
197
+ /**
198
+ * Enable BFD detection. true: enabled false: disabled.
199
+ */
200
+ enableBfd?: pulumi.Input<boolean>;
201
+ /**
202
+ * Enable BFD detection echo packet mode. true: enabled false: disabled.
203
+ */
204
+ enableBfdEcho?: pulumi.Input<boolean>;
205
+ /**
206
+ * Is NQA detection enabled? true: enabled false: not enabled.
207
+ */
208
+ enableNqa?: pulumi.Input<boolean>;
209
+ /**
210
+ * Local gateway interconnection IP address of the virtual interface.
211
+ */
212
+ localIp?: pulumi.Input<string>;
213
+ /**
214
+ * IPv6 address of the local gateway interconnection IP for the virtual interface.
215
+ */
216
+ localIpv6Ip?: pulumi.Input<string>;
217
+ /**
218
+ * Interval for sending consecutive probe packets in NQA detection.
219
+ */
220
+ nqaDetectInterval?: pulumi.Input<number>;
221
+ /**
222
+ * NQA detection count. If the number of consecutive NQA detection failures reaches the set count, the link is considered faulty.
223
+ */
224
+ nqaDetectMultiplier?: pulumi.Input<number>;
225
+ /**
226
+ * Peer gateway interconnection IP address of the virtual interface.
227
+ */
228
+ peerIp?: pulumi.Input<string>;
229
+ /**
230
+ * IPv6 address of the peer gateway interconnection IP for the virtual interface.
231
+ */
232
+ peerIpv6Ip?: pulumi.Input<string>;
233
+ /**
234
+ * Route type of the virtual interface.
235
+ */
236
+ routeType?: pulumi.Input<string>;
237
+ /**
238
+ * Status of the virtual interface. Creating: creating Deleting: deleting Pending: configuring Available: available.
239
+ */
240
+ status?: pulumi.Input<string>;
241
+ tags?: pulumi.Input<pulumi.Input<inputs.directconnect.VirtualInterfaceTag>[]>;
242
+ /**
243
+ * Time when the virtual interface was updated.
244
+ */
245
+ updateTime?: pulumi.Input<string>;
246
+ /**
247
+ * ID of the virtual interface.
248
+ */
249
+ virtualInterfaceId?: pulumi.Input<string>;
250
+ /**
251
+ * Name of the virtual interface.
252
+ */
253
+ virtualInterfaceName?: pulumi.Input<string>;
254
+ /**
255
+ * VLAN ID of the virtual interface.
256
+ */
257
+ vlanId?: pulumi.Input<number>;
258
+ }
259
+ /**
260
+ * The set of arguments for constructing a VirtualInterface resource.
261
+ */
262
+ export interface VirtualInterfaceArgs {
263
+ /**
264
+ * Bandwidth limit of the virtual interface, in Mbps.
265
+ */
266
+ bandwidth?: pulumi.Input<number>;
267
+ /**
268
+ * BFD detection interval (ms).
269
+ */
270
+ bfdDetectInterval?: pulumi.Input<number>;
271
+ /**
272
+ * BFD detection count.
273
+ */
274
+ bfdDetectMultiplier?: pulumi.Input<number>;
275
+ /**
276
+ * Description of the virtual interface.
277
+ */
278
+ description?: pulumi.Input<string>;
279
+ /**
280
+ * ID of the physical dedicated line associated with the virtual interface.
281
+ */
282
+ directConnectConnectionId: pulumi.Input<string>;
283
+ /**
284
+ * ID of the dedicated gateway associated with the virtual interface.
285
+ */
286
+ directConnectGatewayId: pulumi.Input<string>;
287
+ /**
288
+ * Enable BFD detection. true: enabled false: disabled.
289
+ */
290
+ enableBfd?: pulumi.Input<boolean>;
291
+ /**
292
+ * Enable BFD detection echo packet mode. true: enabled false: disabled.
293
+ */
294
+ enableBfdEcho?: pulumi.Input<boolean>;
295
+ /**
296
+ * Is NQA detection enabled? true: enabled false: not enabled.
297
+ */
298
+ enableNqa?: pulumi.Input<boolean>;
299
+ /**
300
+ * Local gateway interconnection IP address of the virtual interface.
301
+ */
302
+ localIp: pulumi.Input<string>;
303
+ /**
304
+ * IPv6 address of the local gateway interconnection IP for the virtual interface.
305
+ */
306
+ localIpv6Ip?: pulumi.Input<string>;
307
+ /**
308
+ * Interval for sending consecutive probe packets in NQA detection.
309
+ */
310
+ nqaDetectInterval?: pulumi.Input<number>;
311
+ /**
312
+ * NQA detection count. If the number of consecutive NQA detection failures reaches the set count, the link is considered faulty.
313
+ */
314
+ nqaDetectMultiplier?: pulumi.Input<number>;
315
+ /**
316
+ * Peer gateway interconnection IP address of the virtual interface.
317
+ */
318
+ peerIp: pulumi.Input<string>;
319
+ /**
320
+ * IPv6 address of the peer gateway interconnection IP for the virtual interface.
321
+ */
322
+ peerIpv6Ip?: pulumi.Input<string>;
323
+ /**
324
+ * Route type of the virtual interface.
325
+ */
326
+ routeType?: pulumi.Input<string>;
327
+ tags?: pulumi.Input<pulumi.Input<inputs.directconnect.VirtualInterfaceTag>[]>;
328
+ /**
329
+ * Name of the virtual interface.
330
+ */
331
+ virtualInterfaceName?: pulumi.Input<string>;
332
+ /**
333
+ * VLAN ID of the virtual interface.
334
+ */
335
+ vlanId: pulumi.Input<number>;
336
+ }
@@ -0,0 +1,149 @@
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.VirtualInterface = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * The virtual interface is built on top of a physical dedicated line. It is a logical interface that enables the local data center (IDC) to connect to different private networks in the cloud via the physical dedicated line. Supports both static routing and BGP routing. This operation uses BGP routing.
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 directConnectVirtualInterfaceDemo = new volcenginecc.directconnect.VirtualInterface("DirectConnectVirtualInterfaceDemo", {
18
+ * localIpv6Ip: "2408:xxxx:cc:400::1/64",
19
+ * description: "生产环境虚拟接口",
20
+ * directConnectGatewayId: "dcg-****",
21
+ * directConnectConnectionId: "dcc-****",
22
+ * peerIp: "192.168.100.2/30",
23
+ * enableBfdEcho: false,
24
+ * enableNqa: false,
25
+ * bfdDetectMultiplier: 3,
26
+ * peerIpv6Ip: "2408:xxxx:cc:400::2/64",
27
+ * routeType: "BGP",
28
+ * virtualInterfaceName: "prod-virtual-interface",
29
+ * localIp: "192.168.100.1/30",
30
+ * enableBfd: true,
31
+ * bandwidth: 50,
32
+ * vlanId: 2111,
33
+ * tags: [{
34
+ * value: "env",
35
+ * key: "test",
36
+ * }],
37
+ * bfdDetectInterval: 1000,
38
+ * });
39
+ * ```
40
+ *
41
+ * ## Import
42
+ *
43
+ * ```sh
44
+ * $ pulumi import volcenginecc:directconnect/virtualInterface:VirtualInterface example "virtual_interface_id"
45
+ * ```
46
+ */
47
+ class VirtualInterface extends pulumi.CustomResource {
48
+ /**
49
+ * Get an existing VirtualInterface resource's state with the given name, ID, and optional extra
50
+ * properties used to qualify the lookup.
51
+ *
52
+ * @param name The _unique_ name of the resulting resource.
53
+ * @param id The _unique_ provider ID of the resource to lookup.
54
+ * @param state Any extra arguments used during the lookup.
55
+ * @param opts Optional settings to control the behavior of the CustomResource.
56
+ */
57
+ static get(name, id, state, opts) {
58
+ return new VirtualInterface(name, state, Object.assign(Object.assign({}, opts), { id: id }));
59
+ }
60
+ /**
61
+ * Returns true if the given object is an instance of VirtualInterface. This is designed to work even
62
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
63
+ */
64
+ static isInstance(obj) {
65
+ if (obj === undefined || obj === null) {
66
+ return false;
67
+ }
68
+ return obj['__pulumiType'] === VirtualInterface.__pulumiType;
69
+ }
70
+ constructor(name, argsOrState, opts) {
71
+ let resourceInputs = {};
72
+ opts = opts || {};
73
+ if (opts.id) {
74
+ const state = argsOrState;
75
+ resourceInputs["accountId"] = state ? state.accountId : undefined;
76
+ resourceInputs["bandwidth"] = state ? state.bandwidth : undefined;
77
+ resourceInputs["bfdDetectInterval"] = state ? state.bfdDetectInterval : undefined;
78
+ resourceInputs["bfdDetectMultiplier"] = state ? state.bfdDetectMultiplier : undefined;
79
+ resourceInputs["creationTime"] = state ? state.creationTime : undefined;
80
+ resourceInputs["description"] = state ? state.description : undefined;
81
+ resourceInputs["directConnectConnectionId"] = state ? state.directConnectConnectionId : undefined;
82
+ resourceInputs["directConnectGatewayId"] = state ? state.directConnectGatewayId : undefined;
83
+ resourceInputs["enableBfd"] = state ? state.enableBfd : undefined;
84
+ resourceInputs["enableBfdEcho"] = state ? state.enableBfdEcho : undefined;
85
+ resourceInputs["enableNqa"] = state ? state.enableNqa : undefined;
86
+ resourceInputs["localIp"] = state ? state.localIp : undefined;
87
+ resourceInputs["localIpv6Ip"] = state ? state.localIpv6Ip : undefined;
88
+ resourceInputs["nqaDetectInterval"] = state ? state.nqaDetectInterval : undefined;
89
+ resourceInputs["nqaDetectMultiplier"] = state ? state.nqaDetectMultiplier : undefined;
90
+ resourceInputs["peerIp"] = state ? state.peerIp : undefined;
91
+ resourceInputs["peerIpv6Ip"] = state ? state.peerIpv6Ip : undefined;
92
+ resourceInputs["routeType"] = state ? state.routeType : undefined;
93
+ resourceInputs["status"] = state ? state.status : undefined;
94
+ resourceInputs["tags"] = state ? state.tags : undefined;
95
+ resourceInputs["updateTime"] = state ? state.updateTime : undefined;
96
+ resourceInputs["virtualInterfaceId"] = state ? state.virtualInterfaceId : undefined;
97
+ resourceInputs["virtualInterfaceName"] = state ? state.virtualInterfaceName : undefined;
98
+ resourceInputs["vlanId"] = state ? state.vlanId : undefined;
99
+ }
100
+ else {
101
+ const args = argsOrState;
102
+ if ((!args || args.directConnectConnectionId === undefined) && !opts.urn) {
103
+ throw new Error("Missing required property 'directConnectConnectionId'");
104
+ }
105
+ if ((!args || args.directConnectGatewayId === undefined) && !opts.urn) {
106
+ throw new Error("Missing required property 'directConnectGatewayId'");
107
+ }
108
+ if ((!args || args.localIp === undefined) && !opts.urn) {
109
+ throw new Error("Missing required property 'localIp'");
110
+ }
111
+ if ((!args || args.peerIp === undefined) && !opts.urn) {
112
+ throw new Error("Missing required property 'peerIp'");
113
+ }
114
+ if ((!args || args.vlanId === undefined) && !opts.urn) {
115
+ throw new Error("Missing required property 'vlanId'");
116
+ }
117
+ resourceInputs["bandwidth"] = args ? args.bandwidth : undefined;
118
+ resourceInputs["bfdDetectInterval"] = args ? args.bfdDetectInterval : undefined;
119
+ resourceInputs["bfdDetectMultiplier"] = args ? args.bfdDetectMultiplier : undefined;
120
+ resourceInputs["description"] = args ? args.description : undefined;
121
+ resourceInputs["directConnectConnectionId"] = args ? args.directConnectConnectionId : undefined;
122
+ resourceInputs["directConnectGatewayId"] = args ? args.directConnectGatewayId : undefined;
123
+ resourceInputs["enableBfd"] = args ? args.enableBfd : undefined;
124
+ resourceInputs["enableBfdEcho"] = args ? args.enableBfdEcho : undefined;
125
+ resourceInputs["enableNqa"] = args ? args.enableNqa : undefined;
126
+ resourceInputs["localIp"] = args ? args.localIp : undefined;
127
+ resourceInputs["localIpv6Ip"] = args ? args.localIpv6Ip : undefined;
128
+ resourceInputs["nqaDetectInterval"] = args ? args.nqaDetectInterval : undefined;
129
+ resourceInputs["nqaDetectMultiplier"] = args ? args.nqaDetectMultiplier : undefined;
130
+ resourceInputs["peerIp"] = args ? args.peerIp : undefined;
131
+ resourceInputs["peerIpv6Ip"] = args ? args.peerIpv6Ip : undefined;
132
+ resourceInputs["routeType"] = args ? args.routeType : undefined;
133
+ resourceInputs["tags"] = args ? args.tags : undefined;
134
+ resourceInputs["virtualInterfaceName"] = args ? args.virtualInterfaceName : undefined;
135
+ resourceInputs["vlanId"] = args ? args.vlanId : undefined;
136
+ resourceInputs["accountId"] = undefined /*out*/;
137
+ resourceInputs["creationTime"] = undefined /*out*/;
138
+ resourceInputs["status"] = undefined /*out*/;
139
+ resourceInputs["updateTime"] = undefined /*out*/;
140
+ resourceInputs["virtualInterfaceId"] = undefined /*out*/;
141
+ }
142
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
143
+ super(VirtualInterface.__pulumiType, name, resourceInputs, opts);
144
+ }
145
+ }
146
+ exports.VirtualInterface = VirtualInterface;
147
+ /** @internal */
148
+ VirtualInterface.__pulumiType = 'volcenginecc:directconnect/virtualInterface:VirtualInterface';
149
+ //# sourceMappingURL=virtualInterface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"virtualInterface.js","sourceRoot":"","sources":["../../directconnect/virtualInterface.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;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;IAwGD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC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C,CAAC;IACrE,CAAC;;AA3ML,4CA4MC;AA9LG,gBAAgB;AACO,6BAAY,GAAG,8DAA8D,CAAC"}
@@ -0,0 +1,81 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Volcengine::GTM::Pool
5
+ */
6
+ export declare function getPool(args: GetPoolArgs, opts?: pulumi.InvokeOptions): Promise<GetPoolResult>;
7
+ /**
8
+ * A collection of arguments for invoking getPool.
9
+ */
10
+ export interface GetPoolArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getPool.
18
+ */
19
+ export interface GetPoolResult {
20
+ /**
21
+ * Target address type of the address pool. If you do not set this parameter, Cloud Scheduling GTM will automatically determine the target address type. ipv4: IPv4 address. ipv6: IPv6 address. cname: Domain name
22
+ */
23
+ readonly addrType: string;
24
+ /**
25
+ * List of target addresses in the address pool
26
+ */
27
+ readonly addresses: outputs.gtm.GetPoolAddress[];
28
+ /**
29
+ * Address pool capacity
30
+ */
31
+ readonly capacity: number;
32
+ /**
33
+ * Capacity mode, indicates whether to configure address pool capacity or address capacity
34
+ */
35
+ readonly capacityMode: string;
36
+ /**
37
+ * Creation time
38
+ */
39
+ readonly createTime: string;
40
+ /**
41
+ * Whether the address pool can be deleted. true: The address pool is not referenced by any routing rule and can be deleted. false: The address pool is referenced by one or more routing rules and cannot be deleted
42
+ */
43
+ readonly deletable: boolean;
44
+ /**
45
+ * UUID of the associated GTM instance
46
+ */
47
+ readonly gtmId: string;
48
+ /**
49
+ * Uniquely identifies the resource.
50
+ */
51
+ readonly id: string;
52
+ /**
53
+ * Address pool name. UTF-8 format. Maximum length is 64 UTF-8 characters
54
+ */
55
+ readonly name: string;
56
+ /**
57
+ * Address pool ID
58
+ */
59
+ readonly poolId: string;
60
+ /**
61
+ * Address pool remarks. Default is an empty string. UTF-8 format. Maximum length is 128 UTF-8 characters
62
+ */
63
+ readonly remark: string;
64
+ /**
65
+ * Update time
66
+ */
67
+ readonly updateTime: string;
68
+ }
69
+ /**
70
+ * Data Source schema for Volcengine::GTM::Pool
71
+ */
72
+ export declare function getPoolOutput(args: GetPoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPoolResult>;
73
+ /**
74
+ * A collection of arguments for invoking getPool.
75
+ */
76
+ export interface GetPoolOutputArgs {
77
+ /**
78
+ * Uniquely identifies the resource.
79
+ */
80
+ id: pulumi.Input<string>;
81
+ }
package/gtm/getPool.js ADDED
@@ -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.getPoolOutput = exports.getPool = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::GTM::Pool
10
+ */
11
+ function getPool(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:gtm/getPool:getPool", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getPool = getPool;
18
+ /**
19
+ * Data Source schema for Volcengine::GTM::Pool
20
+ */
21
+ function getPoolOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:gtm/getPool:getPool", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getPoolOutput = getPoolOutput;
28
+ //# sourceMappingURL=getPool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPool.js","sourceRoot":"","sources":["../../gtm/getPool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0BAKC;AAiED;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAAiC;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kCAAkC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC"}