@volcengine/pulumi 0.0.18 → 0.0.21

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 (263) hide show
  1. package/autoscaling/scalingConfiguration.d.ts +18 -0
  2. package/autoscaling/scalingConfiguration.js +2 -0
  3. package/autoscaling/scalingConfiguration.js.map +1 -1
  4. package/autoscaling/scalingGroup.d.ts +62 -4
  5. package/autoscaling/scalingGroup.js +11 -1
  6. package/autoscaling/scalingGroup.js.map +1 -1
  7. package/autoscaling/scalingGroups.d.ts +12 -0
  8. package/autoscaling/scalingGroups.js +1 -0
  9. package/autoscaling/scalingGroups.js.map +1 -1
  10. package/autoscaling/scalingLifecycleHook.d.ts +31 -6
  11. package/autoscaling/scalingLifecycleHook.js +16 -3
  12. package/autoscaling/scalingLifecycleHook.js.map +1 -1
  13. package/bioos/cluster.d.ts +11 -11
  14. package/bioos/cluster.js +6 -6
  15. package/bioos/cluster.js.map +1 -1
  16. package/bioos/clusters.d.ts +3 -0
  17. package/bioos/clusters.js.map +1 -1
  18. package/bioos/workspace.d.ts +1 -1
  19. package/cen/grantInstance.d.ts +1 -1
  20. package/cen/grantInstance.js +1 -1
  21. package/clb/acl.d.ts +1 -1
  22. package/clb/certificate.d.ts +1 -1
  23. package/clb/clb.d.ts +68 -18
  24. package/clb/clb.js +38 -17
  25. package/clb/clb.js.map +1 -1
  26. package/clb/listener.d.ts +101 -0
  27. package/clb/listener.js +26 -0
  28. package/clb/listener.js.map +1 -1
  29. package/clb/serverGroup.d.ts +12 -0
  30. package/clb/serverGroup.js +2 -0
  31. package/clb/serverGroup.js.map +1 -1
  32. package/direct_connect/bgpPeer.d.ts +175 -0
  33. package/direct_connect/bgpPeer.js +100 -0
  34. package/direct_connect/bgpPeer.js.map +1 -0
  35. package/direct_connect/bgpPeers.d.ts +129 -0
  36. package/direct_connect/bgpPeers.js +52 -0
  37. package/direct_connect/bgpPeers.js.map +1 -0
  38. package/direct_connect/connection.d.ts +217 -0
  39. package/direct_connect/connection.js +133 -0
  40. package/direct_connect/connection.js.map +1 -0
  41. package/direct_connect/connections.d.ts +154 -0
  42. package/direct_connect/connections.js +54 -0
  43. package/direct_connect/connections.js.map +1 -0
  44. package/direct_connect/gateway.d.ts +100 -0
  45. package/direct_connect/gateway.js +79 -0
  46. package/direct_connect/gateway.js.map +1 -0
  47. package/direct_connect/gatewayRoute.d.ts +143 -0
  48. package/direct_connect/gatewayRoute.js +97 -0
  49. package/direct_connect/gatewayRoute.js.map +1 -0
  50. package/direct_connect/gatewayRoutes.d.ts +141 -0
  51. package/direct_connect/gatewayRoutes.js +58 -0
  52. package/direct_connect/gatewayRoutes.js.map +1 -0
  53. package/direct_connect/gateways.d.ts +118 -0
  54. package/direct_connect/gateways.js +51 -0
  55. package/direct_connect/gateways.js.map +1 -0
  56. package/direct_connect/index.d.ts +30 -0
  57. package/direct_connect/index.js +57 -0
  58. package/direct_connect/index.js.map +1 -0
  59. package/direct_connect/virtualInterface.d.ts +263 -0
  60. package/direct_connect/virtualInterface.js +127 -0
  61. package/direct_connect/virtualInterface.js.map +1 -0
  62. package/direct_connect/virtualInterfaces.d.ts +178 -0
  63. package/direct_connect/virtualInterfaces.js +56 -0
  64. package/direct_connect/virtualInterfaces.js.map +1 -0
  65. package/ebs/volume.d.ts +1 -1
  66. package/ecs/availableResources.d.ts +114 -0
  67. package/ecs/availableResources.js +50 -0
  68. package/ecs/availableResources.js.map +1 -0
  69. package/ecs/index.d.ts +3 -0
  70. package/ecs/index.js +4 -1
  71. package/ecs/index.js.map +1 -1
  72. package/ecs/instance.d.ts +24 -3
  73. package/ecs/instance.js +2 -0
  74. package/ecs/instance.js.map +1 -1
  75. package/eip/address.d.ts +1 -1
  76. package/iam/index.d.ts +15 -0
  77. package/iam/index.js +22 -1
  78. package/iam/index.js.map +1 -1
  79. package/iam/userGroup.d.ts +95 -0
  80. package/iam/userGroup.js +79 -0
  81. package/iam/userGroup.js.map +1 -0
  82. package/iam/userGroupAttachment.d.ts +92 -0
  83. package/iam/userGroupAttachment.js +89 -0
  84. package/iam/userGroupAttachment.js.map +1 -0
  85. package/iam/userGroupPolicyAttachment.d.ts +105 -0
  86. package/iam/userGroupPolicyAttachment.js +95 -0
  87. package/iam/userGroupPolicyAttachment.js.map +1 -0
  88. package/iam/userGroupPolicyAttachments.d.ts +107 -0
  89. package/iam/userGroupPolicyAttachments.js +78 -0
  90. package/iam/userGroupPolicyAttachments.js.map +1 -0
  91. package/iam/userGroups.d.ts +87 -0
  92. package/iam/userGroups.js +59 -0
  93. package/iam/userGroups.js.map +1 -0
  94. package/index.d.ts +4 -1
  95. package/index.js +7 -1
  96. package/index.js.map +1 -1
  97. package/mongodb/mongoAllowList.d.ts +0 -12
  98. package/mongodb/mongoAllowList.js +0 -2
  99. package/mongodb/mongoAllowList.js.map +1 -1
  100. package/nas/fileSystem.d.ts +241 -0
  101. package/nas/fileSystem.js +123 -0
  102. package/nas/fileSystem.js.map +1 -0
  103. package/nas/fileSystems.d.ts +231 -0
  104. package/nas/fileSystems.js +90 -0
  105. package/nas/fileSystems.js.map +1 -0
  106. package/nas/index.d.ts +30 -0
  107. package/nas/index.js +55 -0
  108. package/nas/index.js.map +1 -0
  109. package/nas/mountPoint.d.ts +103 -0
  110. package/nas/mountPoint.js +80 -0
  111. package/nas/mountPoint.js.map +1 -0
  112. package/nas/mountPoints.d.ts +91 -0
  113. package/nas/mountPoints.js +29 -0
  114. package/nas/mountPoints.js.map +1 -0
  115. package/nas/permissionGroup.d.ts +116 -0
  116. package/nas/permissionGroup.js +92 -0
  117. package/nas/permissionGroup.js.map +1 -0
  118. package/nas/permissionGroups.d.ts +116 -0
  119. package/nas/permissionGroups.js +87 -0
  120. package/nas/permissionGroups.js.map +1 -0
  121. package/nas/regions.d.ts +62 -0
  122. package/nas/regions.js +42 -0
  123. package/nas/regions.js.map +1 -0
  124. package/nas/snapshot.d.ts +167 -0
  125. package/nas/snapshot.js +100 -0
  126. package/nas/snapshot.js.map +1 -0
  127. package/nas/snapshots.d.ts +131 -0
  128. package/nas/snapshots.js +59 -0
  129. package/nas/snapshots.js.map +1 -0
  130. package/nas/zones.d.ts +62 -0
  131. package/nas/zones.js +42 -0
  132. package/nas/zones.js.map +1 -0
  133. package/nat/gateway.d.ts +1 -1
  134. package/package.json +2 -2
  135. package/redis/instance.d.ts +7 -4
  136. package/redis/instance.js +1 -1
  137. package/redis/instance.js.map +1 -1
  138. package/tls/alarmNotifyGroup.d.ts +1 -1
  139. package/transit_router/bandwidthPackage.d.ts +211 -0
  140. package/transit_router/bandwidthPackage.js +102 -0
  141. package/transit_router/bandwidthPackage.js.map +1 -0
  142. package/transit_router/bandwidthPackages.d.ts +115 -0
  143. package/transit_router/bandwidthPackages.js +65 -0
  144. package/transit_router/bandwidthPackages.js.map +1 -0
  145. package/transit_router/directConnectGatewayAttachment.d.ts +116 -0
  146. package/transit_router/directConnectGatewayAttachment.js +87 -0
  147. package/transit_router/directConnectGatewayAttachment.js.map +1 -0
  148. package/transit_router/directConnectGatewayAttachments.d.ts +99 -0
  149. package/transit_router/directConnectGatewayAttachments.js +48 -0
  150. package/transit_router/directConnectGatewayAttachments.js.map +1 -0
  151. package/transit_router/grantRule.d.ts +95 -0
  152. package/transit_router/grantRule.js +82 -0
  153. package/transit_router/grantRule.js.map +1 -0
  154. package/transit_router/grantRules.d.ts +90 -0
  155. package/transit_router/grantRules.js +47 -0
  156. package/transit_router/grantRules.js.map +1 -0
  157. package/transit_router/index.d.ts +69 -0
  158. package/transit_router/index.js +110 -0
  159. package/transit_router/index.js.map +1 -0
  160. package/transit_router/peerAttachment.d.ts +179 -0
  161. package/transit_router/peerAttachment.js +105 -0
  162. package/transit_router/peerAttachment.js.map +1 -0
  163. package/transit_router/peerAttachments.d.ts +132 -0
  164. package/transit_router/peerAttachments.js +52 -0
  165. package/transit_router/peerAttachments.js.map +1 -0
  166. package/transit_router/routeEntries.d.ts +122 -0
  167. package/transit_router/routeEntries.js +52 -0
  168. package/transit_router/routeEntries.js.map +1 -0
  169. package/transit_router/routeEntry.d.ts +173 -0
  170. package/transit_router/routeEntry.js +103 -0
  171. package/transit_router/routeEntry.js.map +1 -0
  172. package/transit_router/routeTable.d.ts +135 -0
  173. package/transit_router/routeTable.js +89 -0
  174. package/transit_router/routeTable.js.map +1 -0
  175. package/transit_router/routeTableAssociation.d.ts +82 -0
  176. package/transit_router/routeTableAssociation.js +79 -0
  177. package/transit_router/routeTableAssociation.js.map +1 -0
  178. package/transit_router/routeTableAssociations.d.ts +92 -0
  179. package/transit_router/routeTableAssociations.js +49 -0
  180. package/transit_router/routeTableAssociations.js.map +1 -0
  181. package/transit_router/routeTablePropagation.d.ts +82 -0
  182. package/transit_router/routeTablePropagation.js +79 -0
  183. package/transit_router/routeTablePropagation.js.map +1 -0
  184. package/transit_router/routeTablePropagations.d.ts +92 -0
  185. package/transit_router/routeTablePropagations.js +49 -0
  186. package/transit_router/routeTablePropagations.js.map +1 -0
  187. package/transit_router/routeTables.d.ts +98 -0
  188. package/transit_router/routeTables.js +50 -0
  189. package/transit_router/routeTables.js.map +1 -0
  190. package/transit_router/sharedTransitRouterState.d.ts +82 -0
  191. package/transit_router/sharedTransitRouterState.js +79 -0
  192. package/transit_router/sharedTransitRouterState.js.map +1 -0
  193. package/transit_router/transitRouter.d.ts +148 -0
  194. package/transit_router/transitRouter.js +89 -0
  195. package/transit_router/transitRouter.js.map +1 -0
  196. package/transit_router/transitRouters.d.ts +89 -0
  197. package/transit_router/transitRouters.js +50 -0
  198. package/transit_router/transitRouters.js.map +1 -0
  199. package/transit_router/vpcAttachment.d.ts +164 -0
  200. package/transit_router/vpcAttachment.js +108 -0
  201. package/transit_router/vpcAttachment.js.map +1 -0
  202. package/transit_router/vpcAttachments.d.ts +101 -0
  203. package/transit_router/vpcAttachments.js +50 -0
  204. package/transit_router/vpcAttachments.js.map +1 -0
  205. package/transit_router/vpnAttachment.d.ts +153 -0
  206. package/transit_router/vpnAttachment.js +99 -0
  207. package/transit_router/vpnAttachment.js.map +1 -0
  208. package/transit_router/vpnAttachments.d.ts +101 -0
  209. package/transit_router/vpnAttachments.js +50 -0
  210. package/transit_router/vpnAttachments.js.map +1 -0
  211. package/types/input.d.ts +299 -4
  212. package/types/output.d.ts +5396 -3373
  213. package/vke/index.d.ts +3 -0
  214. package/vke/index.js +4 -1
  215. package/vke/index.js.map +1 -1
  216. package/vke/nodePool.d.ts +3 -3
  217. package/vke/nodePool.js +3 -3
  218. package/vke/supportResourceTypes.d.ts +80 -0
  219. package/vke/supportResourceTypes.js +44 -0
  220. package/vke/supportResourceTypes.js.map +1 -0
  221. package/vpc/haVip.d.ts +206 -0
  222. package/vpc/haVip.js +120 -0
  223. package/vpc/haVip.js.map +1 -0
  224. package/vpc/haVipAssociate.d.ts +131 -0
  225. package/vpc/haVipAssociate.js +118 -0
  226. package/vpc/haVipAssociate.js.map +1 -0
  227. package/vpc/haVips.d.ts +192 -0
  228. package/vpc/haVips.js +90 -0
  229. package/vpc/haVips.js.map +1 -0
  230. package/vpc/index.d.ts +15 -0
  231. package/vpc/index.js +22 -1
  232. package/vpc/index.js.map +1 -1
  233. package/vpc/networkAcl.d.ts +1 -1
  234. package/vpc/networkInterface.d.ts +31 -1
  235. package/vpc/networkInterface.js +4 -0
  236. package/vpc/networkInterface.js.map +1 -1
  237. package/vpc/prefixList.d.ts +166 -0
  238. package/vpc/prefixList.js +106 -0
  239. package/vpc/prefixList.js.map +1 -0
  240. package/vpc/prefixLists.d.ts +151 -0
  241. package/vpc/prefixLists.js +92 -0
  242. package/vpc/prefixLists.js.map +1 -0
  243. package/vpc/routeTable.d.ts +1 -1
  244. package/vpn/connection.d.ts +1 -1
  245. package/vpn/customerGateway.d.ts +1 -1
  246. package/vpn/gateway.d.ts +37 -1
  247. package/vpn/gateway.js +6 -0
  248. package/vpn/gateway.js.map +1 -1
  249. package/vpn/index.d.ts +12 -0
  250. package/vpn/index.js +17 -1
  251. package/vpn/index.js.map +1 -1
  252. package/vpn/sslVpnClientCert.d.ts +201 -0
  253. package/vpn/sslVpnClientCert.js +131 -0
  254. package/vpn/sslVpnClientCert.js.map +1 -0
  255. package/vpn/sslVpnClientCerts.d.ts +192 -0
  256. package/vpn/sslVpnClientCerts.js +134 -0
  257. package/vpn/sslVpnClientCerts.js.map +1 -0
  258. package/vpn/sslVpnServer.d.ts +231 -0
  259. package/vpn/sslVpnServer.js +128 -0
  260. package/vpn/sslVpnServer.js.map +1 -0
  261. package/vpn/sslVpnServers.d.ts +167 -0
  262. package/vpn/sslVpnServers.js +117 -0
  263. package/vpn/sslVpnServers.js.map +1 -0
@@ -0,0 +1,179 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage transit router peer attachment
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@volcengine/pulumi";
9
+ *
10
+ * const foo = new volcengine.transit_router.PeerAttachment("foo", {
11
+ * bandwidth: 2,
12
+ * description: "tf-test",
13
+ * peerTransitRouterId: "tr-3jgsfiktn0feo3pncmfb5****",
14
+ * peerTransitRouterRegionId: "cn-beijing",
15
+ * transitRouterAttachmentName: "tf-test-tra",
16
+ * transitRouterBandwidthPackageId: "tbp-cd-2felfww0i6pkw59gp68bq****",
17
+ * transitRouterId: "tr-12bbdsa6ode6817q7y1f5****",
18
+ * });
19
+ * ```
20
+ *
21
+ * ## Import
22
+ *
23
+ * TransitRouterPeerAttachment can be imported using the id, e.g.
24
+ *
25
+ * ```sh
26
+ * $ pulumi import volcengine:transit_router/peerAttachment:PeerAttachment default tr-attach-12be67d0yh2io17q7y1au****
27
+ * ```
28
+ */
29
+ export declare class PeerAttachment extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing PeerAttachment resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param state Any extra arguments used during the lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PeerAttachmentState, opts?: pulumi.CustomResourceOptions): PeerAttachment;
40
+ /**
41
+ * Returns true if the given object is an instance of PeerAttachment. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj: any): obj is PeerAttachment;
45
+ /**
46
+ * The bandwidth of the transit router peer attachment. Unit: Mbps.
47
+ */
48
+ readonly bandwidth: pulumi.Output<number | undefined>;
49
+ /**
50
+ * The creation time of the transit router peer attachment.
51
+ */
52
+ readonly creationTime: pulumi.Output<string>;
53
+ /**
54
+ * The description of the transit router peer attachment.
55
+ */
56
+ readonly description: pulumi.Output<string>;
57
+ /**
58
+ * The id of the peer transit router.
59
+ */
60
+ readonly peerTransitRouterId: pulumi.Output<string>;
61
+ /**
62
+ * The region id of the peer transit router.
63
+ */
64
+ readonly peerTransitRouterRegionId: pulumi.Output<string>;
65
+ /**
66
+ * The status of the transit router peer attachment.
67
+ */
68
+ readonly status: pulumi.Output<string>;
69
+ /**
70
+ * The name of the transit router peer attachment.
71
+ */
72
+ readonly transitRouterAttachmentName: pulumi.Output<string>;
73
+ /**
74
+ * The bandwidth package id of the transit router peer attachment. When specifying this field, the field `bandwidth` must also be specified.
75
+ */
76
+ readonly transitRouterBandwidthPackageId: pulumi.Output<string | undefined>;
77
+ /**
78
+ * The id of the local transit router.
79
+ */
80
+ readonly transitRouterId: pulumi.Output<string>;
81
+ /**
82
+ * The route table id of the transit router peer attachment.
83
+ */
84
+ readonly transitRouterRouteTableId: pulumi.Output<string>;
85
+ /**
86
+ * The update time of the transit router peer attachment.
87
+ */
88
+ readonly updateTime: pulumi.Output<string>;
89
+ /**
90
+ * Create a PeerAttachment resource with the given unique name, arguments, and options.
91
+ *
92
+ * @param name The _unique_ name of the resource.
93
+ * @param args The arguments to use to populate this resource's properties.
94
+ * @param opts A bag of options that control this resource's behavior.
95
+ */
96
+ constructor(name: string, args: PeerAttachmentArgs, opts?: pulumi.CustomResourceOptions);
97
+ }
98
+ /**
99
+ * Input properties used for looking up and filtering PeerAttachment resources.
100
+ */
101
+ export interface PeerAttachmentState {
102
+ /**
103
+ * The bandwidth of the transit router peer attachment. Unit: Mbps.
104
+ */
105
+ bandwidth?: pulumi.Input<number>;
106
+ /**
107
+ * The creation time of the transit router peer attachment.
108
+ */
109
+ creationTime?: pulumi.Input<string>;
110
+ /**
111
+ * The description of the transit router peer attachment.
112
+ */
113
+ description?: pulumi.Input<string>;
114
+ /**
115
+ * The id of the peer transit router.
116
+ */
117
+ peerTransitRouterId?: pulumi.Input<string>;
118
+ /**
119
+ * The region id of the peer transit router.
120
+ */
121
+ peerTransitRouterRegionId?: pulumi.Input<string>;
122
+ /**
123
+ * The status of the transit router peer attachment.
124
+ */
125
+ status?: pulumi.Input<string>;
126
+ /**
127
+ * The name of the transit router peer attachment.
128
+ */
129
+ transitRouterAttachmentName?: pulumi.Input<string>;
130
+ /**
131
+ * The bandwidth package id of the transit router peer attachment. When specifying this field, the field `bandwidth` must also be specified.
132
+ */
133
+ transitRouterBandwidthPackageId?: pulumi.Input<string>;
134
+ /**
135
+ * The id of the local transit router.
136
+ */
137
+ transitRouterId?: pulumi.Input<string>;
138
+ /**
139
+ * The route table id of the transit router peer attachment.
140
+ */
141
+ transitRouterRouteTableId?: pulumi.Input<string>;
142
+ /**
143
+ * The update time of the transit router peer attachment.
144
+ */
145
+ updateTime?: pulumi.Input<string>;
146
+ }
147
+ /**
148
+ * The set of arguments for constructing a PeerAttachment resource.
149
+ */
150
+ export interface PeerAttachmentArgs {
151
+ /**
152
+ * The bandwidth of the transit router peer attachment. Unit: Mbps.
153
+ */
154
+ bandwidth?: pulumi.Input<number>;
155
+ /**
156
+ * The description of the transit router peer attachment.
157
+ */
158
+ description?: pulumi.Input<string>;
159
+ /**
160
+ * The id of the peer transit router.
161
+ */
162
+ peerTransitRouterId: pulumi.Input<string>;
163
+ /**
164
+ * The region id of the peer transit router.
165
+ */
166
+ peerTransitRouterRegionId: pulumi.Input<string>;
167
+ /**
168
+ * The name of the transit router peer attachment.
169
+ */
170
+ transitRouterAttachmentName?: pulumi.Input<string>;
171
+ /**
172
+ * The bandwidth package id of the transit router peer attachment. When specifying this field, the field `bandwidth` must also be specified.
173
+ */
174
+ transitRouterBandwidthPackageId?: pulumi.Input<string>;
175
+ /**
176
+ * The id of the local transit router.
177
+ */
178
+ transitRouterId: pulumi.Input<string>;
179
+ }
@@ -0,0 +1,105 @@
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.PeerAttachment = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage transit router peer attachment
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const foo = new volcengine.transit_router.PeerAttachment("foo", {
17
+ * bandwidth: 2,
18
+ * description: "tf-test",
19
+ * peerTransitRouterId: "tr-3jgsfiktn0feo3pncmfb5****",
20
+ * peerTransitRouterRegionId: "cn-beijing",
21
+ * transitRouterAttachmentName: "tf-test-tra",
22
+ * transitRouterBandwidthPackageId: "tbp-cd-2felfww0i6pkw59gp68bq****",
23
+ * transitRouterId: "tr-12bbdsa6ode6817q7y1f5****",
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * TransitRouterPeerAttachment can be imported using the id, e.g.
30
+ *
31
+ * ```sh
32
+ * $ pulumi import volcengine:transit_router/peerAttachment:PeerAttachment default tr-attach-12be67d0yh2io17q7y1au****
33
+ * ```
34
+ */
35
+ class PeerAttachment extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing PeerAttachment 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, id, state, opts) {
46
+ return new PeerAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
47
+ }
48
+ /**
49
+ * Returns true if the given object is an instance of PeerAttachment. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === PeerAttachment.__pulumiType;
57
+ }
58
+ constructor(name, argsOrState, opts) {
59
+ let resourceInputs = {};
60
+ opts = opts || {};
61
+ if (opts.id) {
62
+ const state = argsOrState;
63
+ resourceInputs["bandwidth"] = state ? state.bandwidth : undefined;
64
+ resourceInputs["creationTime"] = state ? state.creationTime : undefined;
65
+ resourceInputs["description"] = state ? state.description : undefined;
66
+ resourceInputs["peerTransitRouterId"] = state ? state.peerTransitRouterId : undefined;
67
+ resourceInputs["peerTransitRouterRegionId"] = state ? state.peerTransitRouterRegionId : undefined;
68
+ resourceInputs["status"] = state ? state.status : undefined;
69
+ resourceInputs["transitRouterAttachmentName"] = state ? state.transitRouterAttachmentName : undefined;
70
+ resourceInputs["transitRouterBandwidthPackageId"] = state ? state.transitRouterBandwidthPackageId : undefined;
71
+ resourceInputs["transitRouterId"] = state ? state.transitRouterId : undefined;
72
+ resourceInputs["transitRouterRouteTableId"] = state ? state.transitRouterRouteTableId : undefined;
73
+ resourceInputs["updateTime"] = state ? state.updateTime : undefined;
74
+ }
75
+ else {
76
+ const args = argsOrState;
77
+ if ((!args || args.peerTransitRouterId === undefined) && !opts.urn) {
78
+ throw new Error("Missing required property 'peerTransitRouterId'");
79
+ }
80
+ if ((!args || args.peerTransitRouterRegionId === undefined) && !opts.urn) {
81
+ throw new Error("Missing required property 'peerTransitRouterRegionId'");
82
+ }
83
+ if ((!args || args.transitRouterId === undefined) && !opts.urn) {
84
+ throw new Error("Missing required property 'transitRouterId'");
85
+ }
86
+ resourceInputs["bandwidth"] = args ? args.bandwidth : undefined;
87
+ resourceInputs["description"] = args ? args.description : undefined;
88
+ resourceInputs["peerTransitRouterId"] = args ? args.peerTransitRouterId : undefined;
89
+ resourceInputs["peerTransitRouterRegionId"] = args ? args.peerTransitRouterRegionId : undefined;
90
+ resourceInputs["transitRouterAttachmentName"] = args ? args.transitRouterAttachmentName : undefined;
91
+ resourceInputs["transitRouterBandwidthPackageId"] = args ? args.transitRouterBandwidthPackageId : undefined;
92
+ resourceInputs["transitRouterId"] = args ? args.transitRouterId : undefined;
93
+ resourceInputs["creationTime"] = undefined /*out*/;
94
+ resourceInputs["status"] = undefined /*out*/;
95
+ resourceInputs["transitRouterRouteTableId"] = undefined /*out*/;
96
+ resourceInputs["updateTime"] = undefined /*out*/;
97
+ }
98
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
99
+ super(PeerAttachment.__pulumiType, name, resourceInputs, opts);
100
+ }
101
+ }
102
+ exports.PeerAttachment = PeerAttachment;
103
+ /** @internal */
104
+ PeerAttachment.__pulumiType = 'volcengine:transit_router/peerAttachment:PeerAttachment';
105
+ //# sourceMappingURL=peerAttachment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"peerAttachment.js","sourceRoot":"","sources":["../../transit_router/peerAttachment.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,132 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to query detailed information of transit router peer attachments
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const foo = volcengine.transit_router.PeerAttachments({
12
+ * ids: ["tr-attach-12be67d0yh2io17q7y1au****"],
13
+ * });
14
+ * ```
15
+ */
16
+ export declare function peerAttachments(args?: PeerAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise<PeerAttachmentsResult>;
17
+ /**
18
+ * A collection of arguments for invoking PeerAttachments.
19
+ */
20
+ export interface PeerAttachmentsArgs {
21
+ /**
22
+ * A list of IDs.
23
+ */
24
+ ids?: string[];
25
+ /**
26
+ * A Name Regex of Resource.
27
+ */
28
+ nameRegex?: string;
29
+ /**
30
+ * File name where to save data source results.
31
+ */
32
+ outputFile?: string;
33
+ /**
34
+ * The id of peer transit router.
35
+ */
36
+ peerTransitRouterId?: string;
37
+ /**
38
+ * The region id of peer transit router.
39
+ */
40
+ peerTransitRouterRegionId?: string;
41
+ /**
42
+ * The name of transit router peer attachment.
43
+ */
44
+ transitRouterAttachmentName?: string;
45
+ /**
46
+ * The id of local transit router.
47
+ */
48
+ transitRouterId?: string;
49
+ }
50
+ /**
51
+ * A collection of values returned by PeerAttachments.
52
+ */
53
+ export interface PeerAttachmentsResult {
54
+ /**
55
+ * The provider-assigned unique ID for this managed resource.
56
+ */
57
+ readonly id: string;
58
+ readonly ids?: string[];
59
+ readonly nameRegex?: string;
60
+ readonly outputFile?: string;
61
+ /**
62
+ * The id of the peer transit router.
63
+ */
64
+ readonly peerTransitRouterId?: string;
65
+ /**
66
+ * The region id of the peer transit router.
67
+ */
68
+ readonly peerTransitRouterRegionId?: string;
69
+ /**
70
+ * The total count of query.
71
+ */
72
+ readonly totalCount: number;
73
+ /**
74
+ * The name of the transit router peer attachment.
75
+ */
76
+ readonly transitRouterAttachmentName?: string;
77
+ /**
78
+ * The collection of query.
79
+ */
80
+ readonly transitRouterAttachments: outputs.transit_router.PeerAttachmentsTransitRouterAttachment[];
81
+ /**
82
+ * The id of the local transit router.
83
+ */
84
+ readonly transitRouterId?: string;
85
+ }
86
+ /**
87
+ * Use this data source to query detailed information of transit router peer attachments
88
+ * ## Example Usage
89
+ *
90
+ * ```typescript
91
+ * import * as pulumi from "@pulumi/pulumi";
92
+ * import * as volcengine from "@pulumi/volcengine";
93
+ *
94
+ * const foo = volcengine.transit_router.PeerAttachments({
95
+ * ids: ["tr-attach-12be67d0yh2io17q7y1au****"],
96
+ * });
97
+ * ```
98
+ */
99
+ export declare function peerAttachmentsOutput(args?: PeerAttachmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<PeerAttachmentsResult>;
100
+ /**
101
+ * A collection of arguments for invoking PeerAttachments.
102
+ */
103
+ export interface PeerAttachmentsOutputArgs {
104
+ /**
105
+ * A list of IDs.
106
+ */
107
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
108
+ /**
109
+ * A Name Regex of Resource.
110
+ */
111
+ nameRegex?: pulumi.Input<string>;
112
+ /**
113
+ * File name where to save data source results.
114
+ */
115
+ outputFile?: pulumi.Input<string>;
116
+ /**
117
+ * The id of peer transit router.
118
+ */
119
+ peerTransitRouterId?: pulumi.Input<string>;
120
+ /**
121
+ * The region id of peer transit router.
122
+ */
123
+ peerTransitRouterRegionId?: pulumi.Input<string>;
124
+ /**
125
+ * The name of transit router peer attachment.
126
+ */
127
+ transitRouterAttachmentName?: pulumi.Input<string>;
128
+ /**
129
+ * The id of local transit router.
130
+ */
131
+ transitRouterId?: pulumi.Input<string>;
132
+ }
@@ -0,0 +1,52 @@
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.peerAttachmentsOutput = exports.peerAttachments = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of transit router peer attachments
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const foo = volcengine.transit_router.PeerAttachments({
17
+ * ids: ["tr-attach-12be67d0yh2io17q7y1au****"],
18
+ * });
19
+ * ```
20
+ */
21
+ function peerAttachments(args, opts) {
22
+ args = args || {};
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invoke("volcengine:transit_router/peerAttachments:PeerAttachments", {
25
+ "ids": args.ids,
26
+ "nameRegex": args.nameRegex,
27
+ "outputFile": args.outputFile,
28
+ "peerTransitRouterId": args.peerTransitRouterId,
29
+ "peerTransitRouterRegionId": args.peerTransitRouterRegionId,
30
+ "transitRouterAttachmentName": args.transitRouterAttachmentName,
31
+ "transitRouterId": args.transitRouterId,
32
+ }, opts);
33
+ }
34
+ exports.peerAttachments = peerAttachments;
35
+ /**
36
+ * Use this data source to query detailed information of transit router peer attachments
37
+ * ## Example Usage
38
+ *
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as volcengine from "@pulumi/volcengine";
42
+ *
43
+ * const foo = volcengine.transit_router.PeerAttachments({
44
+ * ids: ["tr-attach-12be67d0yh2io17q7y1au****"],
45
+ * });
46
+ * ```
47
+ */
48
+ function peerAttachmentsOutput(args, opts) {
49
+ return pulumi.output(args).apply((a) => peerAttachments(a, opts));
50
+ }
51
+ exports.peerAttachmentsOutput = peerAttachmentsOutput;
52
+ //# sourceMappingURL=peerAttachments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"peerAttachments.js","sourceRoot":"","sources":["../../transit_router/peerAttachments.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2DAA2D,EAAE;QACtF,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,2BAA2B,EAAE,IAAI,CAAC,yBAAyB;QAC3D,6BAA6B,EAAE,IAAI,CAAC,2BAA2B;QAC/D,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,0CAaC;AAwED;;;;;;;;;;;;GAYG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
@@ -0,0 +1,122 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to query detailed information of transit router route entries
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const default = volcengine.transit_router.RouteEntries({
12
+ * ids: ["tr-rte-12b7qd5eo3h1c17q7y1sq5ixv"],
13
+ * transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
14
+ * });
15
+ * ```
16
+ */
17
+ export declare function routeEntries(args: RouteEntriesArgs, opts?: pulumi.InvokeOptions): Promise<RouteEntriesResult>;
18
+ /**
19
+ * A collection of arguments for invoking RouteEntries.
20
+ */
21
+ export interface RouteEntriesArgs {
22
+ /**
23
+ * The target network segment of the route entry.
24
+ */
25
+ destinationCidrBlock?: string;
26
+ /**
27
+ * The ids of the transit router route entry.
28
+ */
29
+ ids?: string[];
30
+ /**
31
+ * File name where to save data source results.
32
+ */
33
+ outputFile?: string;
34
+ /**
35
+ * The status of the route entry.
36
+ */
37
+ status?: string;
38
+ /**
39
+ * The name of the route entry.
40
+ */
41
+ transitRouterRouteEntryName?: string;
42
+ /**
43
+ * The id of the route table.
44
+ */
45
+ transitRouterRouteTableId: string;
46
+ }
47
+ /**
48
+ * A collection of values returned by RouteEntries.
49
+ */
50
+ export interface RouteEntriesResult {
51
+ /**
52
+ * The target network segment of the route entry.
53
+ */
54
+ readonly destinationCidrBlock?: string;
55
+ /**
56
+ * The list of route entries.
57
+ */
58
+ readonly entries: outputs.transit_router.RouteEntriesEntry[];
59
+ /**
60
+ * The provider-assigned unique ID for this managed resource.
61
+ */
62
+ readonly id: string;
63
+ readonly ids?: string[];
64
+ readonly outputFile?: string;
65
+ /**
66
+ * The status of the route entry.
67
+ */
68
+ readonly status?: string;
69
+ /**
70
+ * The total count of data query.
71
+ */
72
+ readonly totalCount: number;
73
+ /**
74
+ * The name of the route entry.
75
+ */
76
+ readonly transitRouterRouteEntryName?: string;
77
+ readonly transitRouterRouteTableId: string;
78
+ }
79
+ /**
80
+ * Use this data source to query detailed information of transit router route entries
81
+ * ## Example Usage
82
+ *
83
+ * ```typescript
84
+ * import * as pulumi from "@pulumi/pulumi";
85
+ * import * as volcengine from "@pulumi/volcengine";
86
+ *
87
+ * const default = volcengine.transit_router.RouteEntries({
88
+ * ids: ["tr-rte-12b7qd5eo3h1c17q7y1sq5ixv"],
89
+ * transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
90
+ * });
91
+ * ```
92
+ */
93
+ export declare function routeEntriesOutput(args: RouteEntriesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RouteEntriesResult>;
94
+ /**
95
+ * A collection of arguments for invoking RouteEntries.
96
+ */
97
+ export interface RouteEntriesOutputArgs {
98
+ /**
99
+ * The target network segment of the route entry.
100
+ */
101
+ destinationCidrBlock?: pulumi.Input<string>;
102
+ /**
103
+ * The ids of the transit router route entry.
104
+ */
105
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
106
+ /**
107
+ * File name where to save data source results.
108
+ */
109
+ outputFile?: pulumi.Input<string>;
110
+ /**
111
+ * The status of the route entry.
112
+ */
113
+ status?: pulumi.Input<string>;
114
+ /**
115
+ * The name of the route entry.
116
+ */
117
+ transitRouterRouteEntryName?: pulumi.Input<string>;
118
+ /**
119
+ * The id of the route table.
120
+ */
121
+ transitRouterRouteTableId: pulumi.Input<string>;
122
+ }
@@ -0,0 +1,52 @@
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.routeEntriesOutput = exports.routeEntries = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of transit router route entries
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const default = volcengine.transit_router.RouteEntries({
17
+ * ids: ["tr-rte-12b7qd5eo3h1c17q7y1sq5ixv"],
18
+ * transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
19
+ * });
20
+ * ```
21
+ */
22
+ function routeEntries(args, opts) {
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invoke("volcengine:transit_router/routeEntries:RouteEntries", {
25
+ "destinationCidrBlock": args.destinationCidrBlock,
26
+ "ids": args.ids,
27
+ "outputFile": args.outputFile,
28
+ "status": args.status,
29
+ "transitRouterRouteEntryName": args.transitRouterRouteEntryName,
30
+ "transitRouterRouteTableId": args.transitRouterRouteTableId,
31
+ }, opts);
32
+ }
33
+ exports.routeEntries = routeEntries;
34
+ /**
35
+ * Use this data source to query detailed information of transit router route entries
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as volcengine from "@pulumi/volcengine";
41
+ *
42
+ * const default = volcengine.transit_router.RouteEntries({
43
+ * ids: ["tr-rte-12b7qd5eo3h1c17q7y1sq5ixv"],
44
+ * transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
45
+ * });
46
+ * ```
47
+ */
48
+ function routeEntriesOutput(args, opts) {
49
+ return pulumi.output(args).apply((a) => routeEntries(a, opts));
50
+ }
51
+ exports.routeEntriesOutput = routeEntriesOutput;
52
+ //# sourceMappingURL=routeEntries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routeEntries.js","sourceRoot":"","sources":["../../transit_router/routeEntries.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,6BAA6B,EAAE,IAAI,CAAC,2BAA2B;QAC/D,2BAA2B,EAAE,IAAI,CAAC,yBAAyB;KAC9D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oCAWC;AAgED;;;;;;;;;;;;;GAaG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}