@volcengine/pulumi 0.0.18 → 0.0.20

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 (247) hide show
  1. package/autoscaling/scalingGroup.d.ts +1 -1
  2. package/bioos/cluster.d.ts +11 -11
  3. package/bioos/cluster.js +6 -6
  4. package/bioos/cluster.js.map +1 -1
  5. package/bioos/clusters.d.ts +3 -0
  6. package/bioos/clusters.js.map +1 -1
  7. package/bioos/workspace.d.ts +1 -1
  8. package/cen/grantInstance.d.ts +1 -1
  9. package/cen/grantInstance.js +1 -1
  10. package/clb/acl.d.ts +1 -1
  11. package/clb/certificate.d.ts +1 -1
  12. package/clb/clb.d.ts +68 -18
  13. package/clb/clb.js +38 -17
  14. package/clb/clb.js.map +1 -1
  15. package/clb/listener.d.ts +101 -0
  16. package/clb/listener.js +26 -0
  17. package/clb/listener.js.map +1 -1
  18. package/clb/serverGroup.d.ts +12 -0
  19. package/clb/serverGroup.js +2 -0
  20. package/clb/serverGroup.js.map +1 -1
  21. package/direct_connect/bgpPeer.d.ts +175 -0
  22. package/direct_connect/bgpPeer.js +100 -0
  23. package/direct_connect/bgpPeer.js.map +1 -0
  24. package/direct_connect/bgpPeers.d.ts +129 -0
  25. package/direct_connect/bgpPeers.js +52 -0
  26. package/direct_connect/bgpPeers.js.map +1 -0
  27. package/direct_connect/connection.d.ts +217 -0
  28. package/direct_connect/connection.js +133 -0
  29. package/direct_connect/connection.js.map +1 -0
  30. package/direct_connect/connections.d.ts +154 -0
  31. package/direct_connect/connections.js +54 -0
  32. package/direct_connect/connections.js.map +1 -0
  33. package/direct_connect/gateway.d.ts +100 -0
  34. package/direct_connect/gateway.js +79 -0
  35. package/direct_connect/gateway.js.map +1 -0
  36. package/direct_connect/gatewayRoute.d.ts +143 -0
  37. package/direct_connect/gatewayRoute.js +97 -0
  38. package/direct_connect/gatewayRoute.js.map +1 -0
  39. package/direct_connect/gatewayRoutes.d.ts +141 -0
  40. package/direct_connect/gatewayRoutes.js +58 -0
  41. package/direct_connect/gatewayRoutes.js.map +1 -0
  42. package/direct_connect/gateways.d.ts +118 -0
  43. package/direct_connect/gateways.js +51 -0
  44. package/direct_connect/gateways.js.map +1 -0
  45. package/direct_connect/index.d.ts +30 -0
  46. package/direct_connect/index.js +57 -0
  47. package/direct_connect/index.js.map +1 -0
  48. package/direct_connect/virtualInterface.d.ts +263 -0
  49. package/direct_connect/virtualInterface.js +127 -0
  50. package/direct_connect/virtualInterface.js.map +1 -0
  51. package/direct_connect/virtualInterfaces.d.ts +178 -0
  52. package/direct_connect/virtualInterfaces.js +56 -0
  53. package/direct_connect/virtualInterfaces.js.map +1 -0
  54. package/ebs/volume.d.ts +1 -1
  55. package/ecs/availableResources.d.ts +114 -0
  56. package/ecs/availableResources.js +50 -0
  57. package/ecs/availableResources.js.map +1 -0
  58. package/ecs/index.d.ts +3 -0
  59. package/ecs/index.js +4 -1
  60. package/ecs/index.js.map +1 -1
  61. package/ecs/instance.d.ts +24 -3
  62. package/ecs/instance.js +2 -0
  63. package/ecs/instance.js.map +1 -1
  64. package/eip/address.d.ts +1 -1
  65. package/iam/index.d.ts +15 -0
  66. package/iam/index.js +22 -1
  67. package/iam/index.js.map +1 -1
  68. package/iam/userGroup.d.ts +95 -0
  69. package/iam/userGroup.js +79 -0
  70. package/iam/userGroup.js.map +1 -0
  71. package/iam/userGroupAttachment.d.ts +92 -0
  72. package/iam/userGroupAttachment.js +89 -0
  73. package/iam/userGroupAttachment.js.map +1 -0
  74. package/iam/userGroupPolicyAttachment.d.ts +105 -0
  75. package/iam/userGroupPolicyAttachment.js +95 -0
  76. package/iam/userGroupPolicyAttachment.js.map +1 -0
  77. package/iam/userGroupPolicyAttachments.d.ts +107 -0
  78. package/iam/userGroupPolicyAttachments.js +78 -0
  79. package/iam/userGroupPolicyAttachments.js.map +1 -0
  80. package/iam/userGroups.d.ts +87 -0
  81. package/iam/userGroups.js +59 -0
  82. package/iam/userGroups.js.map +1 -0
  83. package/index.d.ts +4 -1
  84. package/index.js +7 -1
  85. package/index.js.map +1 -1
  86. package/nas/fileSystem.d.ts +241 -0
  87. package/nas/fileSystem.js +123 -0
  88. package/nas/fileSystem.js.map +1 -0
  89. package/nas/fileSystems.d.ts +231 -0
  90. package/nas/fileSystems.js +90 -0
  91. package/nas/fileSystems.js.map +1 -0
  92. package/nas/index.d.ts +30 -0
  93. package/nas/index.js +55 -0
  94. package/nas/index.js.map +1 -0
  95. package/nas/mountPoint.d.ts +103 -0
  96. package/nas/mountPoint.js +80 -0
  97. package/nas/mountPoint.js.map +1 -0
  98. package/nas/mountPoints.d.ts +91 -0
  99. package/nas/mountPoints.js +29 -0
  100. package/nas/mountPoints.js.map +1 -0
  101. package/nas/permissionGroup.d.ts +116 -0
  102. package/nas/permissionGroup.js +92 -0
  103. package/nas/permissionGroup.js.map +1 -0
  104. package/nas/permissionGroups.d.ts +116 -0
  105. package/nas/permissionGroups.js +87 -0
  106. package/nas/permissionGroups.js.map +1 -0
  107. package/nas/regions.d.ts +62 -0
  108. package/nas/regions.js +42 -0
  109. package/nas/regions.js.map +1 -0
  110. package/nas/snapshot.d.ts +167 -0
  111. package/nas/snapshot.js +100 -0
  112. package/nas/snapshot.js.map +1 -0
  113. package/nas/snapshots.d.ts +131 -0
  114. package/nas/snapshots.js +59 -0
  115. package/nas/snapshots.js.map +1 -0
  116. package/nas/zones.d.ts +62 -0
  117. package/nas/zones.js +42 -0
  118. package/nas/zones.js.map +1 -0
  119. package/nat/gateway.d.ts +1 -1
  120. package/package.json +2 -2
  121. package/redis/instance.d.ts +7 -4
  122. package/redis/instance.js +1 -1
  123. package/redis/instance.js.map +1 -1
  124. package/tls/alarmNotifyGroup.d.ts +1 -1
  125. package/transit_router/bandwidthPackage.d.ts +211 -0
  126. package/transit_router/bandwidthPackage.js +102 -0
  127. package/transit_router/bandwidthPackage.js.map +1 -0
  128. package/transit_router/bandwidthPackages.d.ts +115 -0
  129. package/transit_router/bandwidthPackages.js +65 -0
  130. package/transit_router/bandwidthPackages.js.map +1 -0
  131. package/transit_router/directConnectGatewayAttachment.d.ts +116 -0
  132. package/transit_router/directConnectGatewayAttachment.js +87 -0
  133. package/transit_router/directConnectGatewayAttachment.js.map +1 -0
  134. package/transit_router/directConnectGatewayAttachments.d.ts +99 -0
  135. package/transit_router/directConnectGatewayAttachments.js +48 -0
  136. package/transit_router/directConnectGatewayAttachments.js.map +1 -0
  137. package/transit_router/grantRule.d.ts +95 -0
  138. package/transit_router/grantRule.js +82 -0
  139. package/transit_router/grantRule.js.map +1 -0
  140. package/transit_router/grantRules.d.ts +90 -0
  141. package/transit_router/grantRules.js +47 -0
  142. package/transit_router/grantRules.js.map +1 -0
  143. package/transit_router/index.d.ts +69 -0
  144. package/transit_router/index.js +110 -0
  145. package/transit_router/index.js.map +1 -0
  146. package/transit_router/peerAttachment.d.ts +179 -0
  147. package/transit_router/peerAttachment.js +105 -0
  148. package/transit_router/peerAttachment.js.map +1 -0
  149. package/transit_router/peerAttachments.d.ts +132 -0
  150. package/transit_router/peerAttachments.js +52 -0
  151. package/transit_router/peerAttachments.js.map +1 -0
  152. package/transit_router/routeEntries.d.ts +122 -0
  153. package/transit_router/routeEntries.js +52 -0
  154. package/transit_router/routeEntries.js.map +1 -0
  155. package/transit_router/routeEntry.d.ts +173 -0
  156. package/transit_router/routeEntry.js +103 -0
  157. package/transit_router/routeEntry.js.map +1 -0
  158. package/transit_router/routeTable.d.ts +135 -0
  159. package/transit_router/routeTable.js +89 -0
  160. package/transit_router/routeTable.js.map +1 -0
  161. package/transit_router/routeTableAssociation.d.ts +82 -0
  162. package/transit_router/routeTableAssociation.js +79 -0
  163. package/transit_router/routeTableAssociation.js.map +1 -0
  164. package/transit_router/routeTableAssociations.d.ts +92 -0
  165. package/transit_router/routeTableAssociations.js +49 -0
  166. package/transit_router/routeTableAssociations.js.map +1 -0
  167. package/transit_router/routeTablePropagation.d.ts +82 -0
  168. package/transit_router/routeTablePropagation.js +79 -0
  169. package/transit_router/routeTablePropagation.js.map +1 -0
  170. package/transit_router/routeTablePropagations.d.ts +92 -0
  171. package/transit_router/routeTablePropagations.js +49 -0
  172. package/transit_router/routeTablePropagations.js.map +1 -0
  173. package/transit_router/routeTables.d.ts +98 -0
  174. package/transit_router/routeTables.js +50 -0
  175. package/transit_router/routeTables.js.map +1 -0
  176. package/transit_router/sharedTransitRouterState.d.ts +82 -0
  177. package/transit_router/sharedTransitRouterState.js +79 -0
  178. package/transit_router/sharedTransitRouterState.js.map +1 -0
  179. package/transit_router/transitRouter.d.ts +148 -0
  180. package/transit_router/transitRouter.js +89 -0
  181. package/transit_router/transitRouter.js.map +1 -0
  182. package/transit_router/transitRouters.d.ts +89 -0
  183. package/transit_router/transitRouters.js +50 -0
  184. package/transit_router/transitRouters.js.map +1 -0
  185. package/transit_router/vpcAttachment.d.ts +164 -0
  186. package/transit_router/vpcAttachment.js +108 -0
  187. package/transit_router/vpcAttachment.js.map +1 -0
  188. package/transit_router/vpcAttachments.d.ts +101 -0
  189. package/transit_router/vpcAttachments.js +50 -0
  190. package/transit_router/vpcAttachments.js.map +1 -0
  191. package/transit_router/vpnAttachment.d.ts +153 -0
  192. package/transit_router/vpnAttachment.js +99 -0
  193. package/transit_router/vpnAttachment.js.map +1 -0
  194. package/transit_router/vpnAttachments.d.ts +101 -0
  195. package/transit_router/vpnAttachments.js +50 -0
  196. package/transit_router/vpnAttachments.js.map +1 -0
  197. package/types/input.d.ts +280 -2
  198. package/types/output.d.ts +5318 -3363
  199. package/vke/index.d.ts +3 -0
  200. package/vke/index.js +4 -1
  201. package/vke/index.js.map +1 -1
  202. package/vke/supportResourceTypes.d.ts +80 -0
  203. package/vke/supportResourceTypes.js +44 -0
  204. package/vke/supportResourceTypes.js.map +1 -0
  205. package/vpc/haVip.d.ts +206 -0
  206. package/vpc/haVip.js +120 -0
  207. package/vpc/haVip.js.map +1 -0
  208. package/vpc/haVipAssociate.d.ts +131 -0
  209. package/vpc/haVipAssociate.js +118 -0
  210. package/vpc/haVipAssociate.js.map +1 -0
  211. package/vpc/haVips.d.ts +192 -0
  212. package/vpc/haVips.js +90 -0
  213. package/vpc/haVips.js.map +1 -0
  214. package/vpc/index.d.ts +15 -0
  215. package/vpc/index.js +22 -1
  216. package/vpc/index.js.map +1 -1
  217. package/vpc/networkAcl.d.ts +1 -1
  218. package/vpc/networkInterface.d.ts +31 -1
  219. package/vpc/networkInterface.js +4 -0
  220. package/vpc/networkInterface.js.map +1 -1
  221. package/vpc/prefixList.d.ts +166 -0
  222. package/vpc/prefixList.js +106 -0
  223. package/vpc/prefixList.js.map +1 -0
  224. package/vpc/prefixLists.d.ts +151 -0
  225. package/vpc/prefixLists.js +92 -0
  226. package/vpc/prefixLists.js.map +1 -0
  227. package/vpc/routeTable.d.ts +1 -1
  228. package/vpn/connection.d.ts +1 -1
  229. package/vpn/customerGateway.d.ts +1 -1
  230. package/vpn/gateway.d.ts +37 -1
  231. package/vpn/gateway.js +6 -0
  232. package/vpn/gateway.js.map +1 -1
  233. package/vpn/index.d.ts +12 -0
  234. package/vpn/index.js +17 -1
  235. package/vpn/index.js.map +1 -1
  236. package/vpn/sslVpnClientCert.d.ts +201 -0
  237. package/vpn/sslVpnClientCert.js +131 -0
  238. package/vpn/sslVpnClientCert.js.map +1 -0
  239. package/vpn/sslVpnClientCerts.d.ts +192 -0
  240. package/vpn/sslVpnClientCerts.js +134 -0
  241. package/vpn/sslVpnClientCerts.js.map +1 -0
  242. package/vpn/sslVpnServer.d.ts +231 -0
  243. package/vpn/sslVpnServer.js +128 -0
  244. package/vpn/sslVpnServer.js.map +1 -0
  245. package/vpn/sslVpnServers.d.ts +167 -0
  246. package/vpn/sslVpnServers.js +117 -0
  247. package/vpn/sslVpnServers.js.map +1 -0
@@ -0,0 +1,116 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage transit router direct connect gateway 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.DirectConnectGatewayAttachment("foo", {
11
+ * description: "tf-test-modify",
12
+ * directConnectGatewayId: "dcg-3reaq6ymdzegw5zsk2igxzusb",
13
+ * transitRouterAttachmentName: "tf-test-modify",
14
+ * transitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05",
15
+ * });
16
+ * ```
17
+ *
18
+ * ## Import
19
+ *
20
+ * TransitRouterDirectConnectGatewayAttachment can be imported using the transitRouterId:attachmentId, e.g.
21
+ *
22
+ * ```sh
23
+ * $ pulumi import volcengine:transit_router/directConnectGatewayAttachment:DirectConnectGatewayAttachment default tr-2d6fr7mzya2gw58ozfes5g2oh:tr-attach-7qthudw0ll6jmc****
24
+ * ```
25
+ */
26
+ export declare class DirectConnectGatewayAttachment extends pulumi.CustomResource {
27
+ /**
28
+ * Get an existing DirectConnectGatewayAttachment resource's state with the given name, ID, and optional extra
29
+ * properties used to qualify the lookup.
30
+ *
31
+ * @param name The _unique_ name of the resulting resource.
32
+ * @param id The _unique_ provider ID of the resource to lookup.
33
+ * @param state Any extra arguments used during the lookup.
34
+ * @param opts Optional settings to control the behavior of the CustomResource.
35
+ */
36
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DirectConnectGatewayAttachmentState, opts?: pulumi.CustomResourceOptions): DirectConnectGatewayAttachment;
37
+ /**
38
+ * Returns true if the given object is an instance of DirectConnectGatewayAttachment. This is designed to work even
39
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
40
+ */
41
+ static isInstance(obj: any): obj is DirectConnectGatewayAttachment;
42
+ /**
43
+ * The description.
44
+ */
45
+ readonly description: pulumi.Output<string>;
46
+ /**
47
+ * The id of the direct connect gateway.
48
+ */
49
+ readonly directConnectGatewayId: pulumi.Output<string>;
50
+ /**
51
+ * The id of the transit router direct connect gateway attachment.
52
+ */
53
+ readonly transitRouterAttachmentId: pulumi.Output<string>;
54
+ /**
55
+ * The name of the transit router direct connect gateway attachment.
56
+ */
57
+ readonly transitRouterAttachmentName: pulumi.Output<string>;
58
+ /**
59
+ * The id of the transit router.
60
+ */
61
+ readonly transitRouterId: pulumi.Output<string>;
62
+ /**
63
+ * Create a DirectConnectGatewayAttachment resource with the given unique name, arguments, and options.
64
+ *
65
+ * @param name The _unique_ name of the resource.
66
+ * @param args The arguments to use to populate this resource's properties.
67
+ * @param opts A bag of options that control this resource's behavior.
68
+ */
69
+ constructor(name: string, args: DirectConnectGatewayAttachmentArgs, opts?: pulumi.CustomResourceOptions);
70
+ }
71
+ /**
72
+ * Input properties used for looking up and filtering DirectConnectGatewayAttachment resources.
73
+ */
74
+ export interface DirectConnectGatewayAttachmentState {
75
+ /**
76
+ * The description.
77
+ */
78
+ description?: pulumi.Input<string>;
79
+ /**
80
+ * The id of the direct connect gateway.
81
+ */
82
+ directConnectGatewayId?: pulumi.Input<string>;
83
+ /**
84
+ * The id of the transit router direct connect gateway attachment.
85
+ */
86
+ transitRouterAttachmentId?: pulumi.Input<string>;
87
+ /**
88
+ * The name of the transit router direct connect gateway attachment.
89
+ */
90
+ transitRouterAttachmentName?: pulumi.Input<string>;
91
+ /**
92
+ * The id of the transit router.
93
+ */
94
+ transitRouterId?: pulumi.Input<string>;
95
+ }
96
+ /**
97
+ * The set of arguments for constructing a DirectConnectGatewayAttachment resource.
98
+ */
99
+ export interface DirectConnectGatewayAttachmentArgs {
100
+ /**
101
+ * The description.
102
+ */
103
+ description?: pulumi.Input<string>;
104
+ /**
105
+ * The id of the direct connect gateway.
106
+ */
107
+ directConnectGatewayId: pulumi.Input<string>;
108
+ /**
109
+ * The name of the transit router direct connect gateway attachment.
110
+ */
111
+ transitRouterAttachmentName?: pulumi.Input<string>;
112
+ /**
113
+ * The id of the transit router.
114
+ */
115
+ transitRouterId: pulumi.Input<string>;
116
+ }
@@ -0,0 +1,87 @@
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.DirectConnectGatewayAttachment = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage transit router direct connect gateway 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.DirectConnectGatewayAttachment("foo", {
17
+ * description: "tf-test-modify",
18
+ * directConnectGatewayId: "dcg-3reaq6ymdzegw5zsk2igxzusb",
19
+ * transitRouterAttachmentName: "tf-test-modify",
20
+ * transitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05",
21
+ * });
22
+ * ```
23
+ *
24
+ * ## Import
25
+ *
26
+ * TransitRouterDirectConnectGatewayAttachment can be imported using the transitRouterId:attachmentId, e.g.
27
+ *
28
+ * ```sh
29
+ * $ pulumi import volcengine:transit_router/directConnectGatewayAttachment:DirectConnectGatewayAttachment default tr-2d6fr7mzya2gw58ozfes5g2oh:tr-attach-7qthudw0ll6jmc****
30
+ * ```
31
+ */
32
+ class DirectConnectGatewayAttachment extends pulumi.CustomResource {
33
+ /**
34
+ * Get an existing DirectConnectGatewayAttachment resource's state with the given name, ID, and optional extra
35
+ * properties used to qualify the lookup.
36
+ *
37
+ * @param name The _unique_ name of the resulting resource.
38
+ * @param id The _unique_ provider ID of the resource to lookup.
39
+ * @param state Any extra arguments used during the lookup.
40
+ * @param opts Optional settings to control the behavior of the CustomResource.
41
+ */
42
+ static get(name, id, state, opts) {
43
+ return new DirectConnectGatewayAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
44
+ }
45
+ /**
46
+ * Returns true if the given object is an instance of DirectConnectGatewayAttachment. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj) {
50
+ if (obj === undefined || obj === null) {
51
+ return false;
52
+ }
53
+ return obj['__pulumiType'] === DirectConnectGatewayAttachment.__pulumiType;
54
+ }
55
+ constructor(name, argsOrState, opts) {
56
+ let resourceInputs = {};
57
+ opts = opts || {};
58
+ if (opts.id) {
59
+ const state = argsOrState;
60
+ resourceInputs["description"] = state ? state.description : undefined;
61
+ resourceInputs["directConnectGatewayId"] = state ? state.directConnectGatewayId : undefined;
62
+ resourceInputs["transitRouterAttachmentId"] = state ? state.transitRouterAttachmentId : undefined;
63
+ resourceInputs["transitRouterAttachmentName"] = state ? state.transitRouterAttachmentName : undefined;
64
+ resourceInputs["transitRouterId"] = state ? state.transitRouterId : undefined;
65
+ }
66
+ else {
67
+ const args = argsOrState;
68
+ if ((!args || args.directConnectGatewayId === undefined) && !opts.urn) {
69
+ throw new Error("Missing required property 'directConnectGatewayId'");
70
+ }
71
+ if ((!args || args.transitRouterId === undefined) && !opts.urn) {
72
+ throw new Error("Missing required property 'transitRouterId'");
73
+ }
74
+ resourceInputs["description"] = args ? args.description : undefined;
75
+ resourceInputs["directConnectGatewayId"] = args ? args.directConnectGatewayId : undefined;
76
+ resourceInputs["transitRouterAttachmentName"] = args ? args.transitRouterAttachmentName : undefined;
77
+ resourceInputs["transitRouterId"] = args ? args.transitRouterId : undefined;
78
+ resourceInputs["transitRouterAttachmentId"] = undefined /*out*/;
79
+ }
80
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
81
+ super(DirectConnectGatewayAttachment.__pulumiType, name, resourceInputs, opts);
82
+ }
83
+ }
84
+ exports.DirectConnectGatewayAttachment = DirectConnectGatewayAttachment;
85
+ /** @internal */
86
+ DirectConnectGatewayAttachment.__pulumiType = 'volcengine:transit_router/directConnectGatewayAttachment:DirectConnectGatewayAttachment';
87
+ //# sourceMappingURL=directConnectGatewayAttachment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"directConnectGatewayAttachment.js","sourceRoot":"","sources":["../../transit_router/directConnect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AoFC;AAtEG,gBAAgB;AACO,2CAAY,GAAG,yFAAyF,CAAC"}
@@ -0,0 +1,99 @@
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 direct connect gateway 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.DirectConnectGatewayAttachments({
12
+ * transitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05",
13
+ * });
14
+ * ```
15
+ */
16
+ export declare function directConnectGatewayAttachments(args: DirectConnectGatewayAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise<DirectConnectGatewayAttachmentsResult>;
17
+ /**
18
+ * A collection of arguments for invoking DirectConnectGatewayAttachments.
19
+ */
20
+ export interface DirectConnectGatewayAttachmentsArgs {
21
+ /**
22
+ * ID of the direct connection gateway.
23
+ */
24
+ directConnectGatewayId?: string;
25
+ /**
26
+ * File name where to save data source results.
27
+ */
28
+ outputFile?: string;
29
+ /**
30
+ * ID of the network instance connection.
31
+ */
32
+ transitRouterAttachmentIds?: string[];
33
+ /**
34
+ * The id of the transit router.
35
+ */
36
+ transitRouterId: string;
37
+ }
38
+ /**
39
+ * A collection of values returned by DirectConnectGatewayAttachments.
40
+ */
41
+ export interface DirectConnectGatewayAttachmentsResult {
42
+ /**
43
+ * The collection of query.
44
+ */
45
+ readonly attachments: outputs.transit_router.DirectConnectGatewayAttachmentsAttachment[];
46
+ /**
47
+ * The direct connect gateway id.
48
+ */
49
+ readonly directConnectGatewayId?: string;
50
+ /**
51
+ * The provider-assigned unique ID for this managed resource.
52
+ */
53
+ readonly id: string;
54
+ readonly outputFile?: string;
55
+ /**
56
+ * The total count of query.
57
+ */
58
+ readonly totalCount: number;
59
+ readonly transitRouterAttachmentIds?: string[];
60
+ /**
61
+ * The id of the transit router.
62
+ */
63
+ readonly transitRouterId: string;
64
+ }
65
+ /**
66
+ * Use this data source to query detailed information of transit router direct connect gateway attachments
67
+ * ## Example Usage
68
+ *
69
+ * ```typescript
70
+ * import * as pulumi from "@pulumi/pulumi";
71
+ * import * as volcengine from "@pulumi/volcengine";
72
+ *
73
+ * const foo = volcengine.transit_router.DirectConnectGatewayAttachments({
74
+ * transitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05",
75
+ * });
76
+ * ```
77
+ */
78
+ export declare function directConnectGatewayAttachmentsOutput(args: DirectConnectGatewayAttachmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<DirectConnectGatewayAttachmentsResult>;
79
+ /**
80
+ * A collection of arguments for invoking DirectConnectGatewayAttachments.
81
+ */
82
+ export interface DirectConnectGatewayAttachmentsOutputArgs {
83
+ /**
84
+ * ID of the direct connection gateway.
85
+ */
86
+ directConnectGatewayId?: pulumi.Input<string>;
87
+ /**
88
+ * File name where to save data source results.
89
+ */
90
+ outputFile?: pulumi.Input<string>;
91
+ /**
92
+ * ID of the network instance connection.
93
+ */
94
+ transitRouterAttachmentIds?: pulumi.Input<pulumi.Input<string>[]>;
95
+ /**
96
+ * The id of the transit router.
97
+ */
98
+ transitRouterId: pulumi.Input<string>;
99
+ }
@@ -0,0 +1,48 @@
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.directConnectGatewayAttachmentsOutput = exports.directConnectGatewayAttachments = 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 direct connect gateway 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.DirectConnectGatewayAttachments({
17
+ * transitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05",
18
+ * });
19
+ * ```
20
+ */
21
+ function directConnectGatewayAttachments(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invoke("volcengine:transit_router/directConnectGatewayAttachments:DirectConnectGatewayAttachments", {
24
+ "directConnectGatewayId": args.directConnectGatewayId,
25
+ "outputFile": args.outputFile,
26
+ "transitRouterAttachmentIds": args.transitRouterAttachmentIds,
27
+ "transitRouterId": args.transitRouterId,
28
+ }, opts);
29
+ }
30
+ exports.directConnectGatewayAttachments = directConnectGatewayAttachments;
31
+ /**
32
+ * Use this data source to query detailed information of transit router direct connect gateway attachments
33
+ * ## Example Usage
34
+ *
35
+ * ```typescript
36
+ * import * as pulumi from "@pulumi/pulumi";
37
+ * import * as volcengine from "@pulumi/volcengine";
38
+ *
39
+ * const foo = volcengine.transit_router.DirectConnectGatewayAttachments({
40
+ * transitRouterId: "tr-2bzy39x27qtxc2dx0eg5qaj05",
41
+ * });
42
+ * ```
43
+ */
44
+ function directConnectGatewayAttachmentsOutput(args, opts) {
45
+ return pulumi.output(args).apply((a) => directConnectGatewayAttachments(a, opts));
46
+ }
47
+ exports.directConnectGatewayAttachmentsOutput = directConnectGatewayAttachmentsOutput;
48
+ //# sourceMappingURL=directConnectGatewayAttachments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"directConnectGatewayAttachments.js","sourceRoot":"","sources":["../../transit_router/directConnectGatewayAttachments.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAElH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2FAA2F,EAAE;QACtH,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,4BAA4B,EAAE,IAAI,CAAC,0BAA0B;QAC7D,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0EASC;AAmDD;;;;;;;;;;;;GAYG;AACH,SAAgB,qCAAqC,CAAC,IAA+C,EAAE,IAA2B;IAC9H,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,+BAA+B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1F,CAAC;AAFD,sFAEC"}
@@ -0,0 +1,95 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage transit router grant rule
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.GrantRule("foo", {
11
+ * description: "tf-test",
12
+ * grantAccountId: "200000xxxx",
13
+ * transitRouterId: "tr-2bzy39uy6u3282dx0efxiqyq0",
14
+ * });
15
+ * ```
16
+ *
17
+ * ## Import
18
+ *
19
+ * TransitRouterGrantRule can be imported using the transit router id and accountId, e.g.
20
+ *
21
+ * ```sh
22
+ * $ pulumi import volcengine:transit_router/grantRule:GrantRule default trId:accountId
23
+ * ```
24
+ */
25
+ export declare class GrantRule extends pulumi.CustomResource {
26
+ /**
27
+ * Get an existing GrantRule resource's state with the given name, ID, and optional extra
28
+ * properties used to qualify the lookup.
29
+ *
30
+ * @param name The _unique_ name of the resulting resource.
31
+ * @param id The _unique_ provider ID of the resource to lookup.
32
+ * @param state Any extra arguments used during the lookup.
33
+ * @param opts Optional settings to control the behavior of the CustomResource.
34
+ */
35
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GrantRuleState, opts?: pulumi.CustomResourceOptions): GrantRule;
36
+ /**
37
+ * Returns true if the given object is an instance of GrantRule. This is designed to work even
38
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
39
+ */
40
+ static isInstance(obj: any): obj is GrantRule;
41
+ /**
42
+ * The description of the rule.
43
+ */
44
+ readonly description: pulumi.Output<string>;
45
+ /**
46
+ * Account ID awaiting authorization for intermediate router instance.
47
+ */
48
+ readonly grantAccountId: pulumi.Output<string>;
49
+ /**
50
+ * The id of the transit router.
51
+ */
52
+ readonly transitRouterId: pulumi.Output<string>;
53
+ /**
54
+ * Create a GrantRule resource with the given unique name, arguments, and options.
55
+ *
56
+ * @param name The _unique_ name of the resource.
57
+ * @param args The arguments to use to populate this resource's properties.
58
+ * @param opts A bag of options that control this resource's behavior.
59
+ */
60
+ constructor(name: string, args: GrantRuleArgs, opts?: pulumi.CustomResourceOptions);
61
+ }
62
+ /**
63
+ * Input properties used for looking up and filtering GrantRule resources.
64
+ */
65
+ export interface GrantRuleState {
66
+ /**
67
+ * The description of the rule.
68
+ */
69
+ description?: pulumi.Input<string>;
70
+ /**
71
+ * Account ID awaiting authorization for intermediate router instance.
72
+ */
73
+ grantAccountId?: pulumi.Input<string>;
74
+ /**
75
+ * The id of the transit router.
76
+ */
77
+ transitRouterId?: pulumi.Input<string>;
78
+ }
79
+ /**
80
+ * The set of arguments for constructing a GrantRule resource.
81
+ */
82
+ export interface GrantRuleArgs {
83
+ /**
84
+ * The description of the rule.
85
+ */
86
+ description?: pulumi.Input<string>;
87
+ /**
88
+ * Account ID awaiting authorization for intermediate router instance.
89
+ */
90
+ grantAccountId: pulumi.Input<string>;
91
+ /**
92
+ * The id of the transit router.
93
+ */
94
+ transitRouterId: pulumi.Input<string>;
95
+ }
@@ -0,0 +1,82 @@
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.GrantRule = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage transit router grant rule
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.GrantRule("foo", {
17
+ * description: "tf-test",
18
+ * grantAccountId: "200000xxxx",
19
+ * transitRouterId: "tr-2bzy39uy6u3282dx0efxiqyq0",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * TransitRouterGrantRule can be imported using the transit router id and accountId, e.g.
26
+ *
27
+ * ```sh
28
+ * $ pulumi import volcengine:transit_router/grantRule:GrantRule default trId:accountId
29
+ * ```
30
+ */
31
+ class GrantRule extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing GrantRule resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name, id, state, opts) {
42
+ return new GrantRule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
43
+ }
44
+ /**
45
+ * Returns true if the given object is an instance of GrantRule. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj) {
49
+ if (obj === undefined || obj === null) {
50
+ return false;
51
+ }
52
+ return obj['__pulumiType'] === GrantRule.__pulumiType;
53
+ }
54
+ constructor(name, argsOrState, opts) {
55
+ let resourceInputs = {};
56
+ opts = opts || {};
57
+ if (opts.id) {
58
+ const state = argsOrState;
59
+ resourceInputs["description"] = state ? state.description : undefined;
60
+ resourceInputs["grantAccountId"] = state ? state.grantAccountId : undefined;
61
+ resourceInputs["transitRouterId"] = state ? state.transitRouterId : undefined;
62
+ }
63
+ else {
64
+ const args = argsOrState;
65
+ if ((!args || args.grantAccountId === undefined) && !opts.urn) {
66
+ throw new Error("Missing required property 'grantAccountId'");
67
+ }
68
+ if ((!args || args.transitRouterId === undefined) && !opts.urn) {
69
+ throw new Error("Missing required property 'transitRouterId'");
70
+ }
71
+ resourceInputs["description"] = args ? args.description : undefined;
72
+ resourceInputs["grantAccountId"] = args ? args.grantAccountId : undefined;
73
+ resourceInputs["transitRouterId"] = args ? args.transitRouterId : undefined;
74
+ }
75
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
76
+ super(GrantRule.__pulumiType, name, resourceInputs, opts);
77
+ }
78
+ }
79
+ exports.GrantRule = GrantRule;
80
+ /** @internal */
81
+ GrantRule.__pulumiType = 'volcengine:transit_router/grantRule:GrantRule';
82
+ //# sourceMappingURL=grantRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grantRule.js","sourceRoot":"","sources":["../../transit_router/grantRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,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C,CAAC,CAAC,SAAS,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAvEL,8BAwEC;AA1DG,gBAAgB;AACO,sBAAY,GAAG,+CAA+C,CAAC"}
@@ -0,0 +1,90 @@
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 grant rules
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.GrantRules({
12
+ * transitRouterId: "tr-2bzy39uy6u3282dx0efxiqyq0",
13
+ * });
14
+ * ```
15
+ */
16
+ export declare function grantRules(args: GrantRulesArgs, opts?: pulumi.InvokeOptions): Promise<GrantRulesResult>;
17
+ /**
18
+ * A collection of arguments for invoking GrantRules.
19
+ */
20
+ export interface GrantRulesArgs {
21
+ /**
22
+ * The id of the grant account.
23
+ */
24
+ grantAccountId?: string;
25
+ /**
26
+ * File name where to save data source results.
27
+ */
28
+ outputFile?: string;
29
+ /**
30
+ * The id of the transit router.
31
+ */
32
+ transitRouterId: string;
33
+ }
34
+ /**
35
+ * A collection of values returned by GrantRules.
36
+ */
37
+ export interface GrantRulesResult {
38
+ /**
39
+ * The id of the grant account.
40
+ */
41
+ readonly grantAccountId?: string;
42
+ /**
43
+ * The provider-assigned unique ID for this managed resource.
44
+ */
45
+ readonly id: string;
46
+ readonly outputFile?: string;
47
+ /**
48
+ * The collection of query.
49
+ */
50
+ readonly rules: outputs.transit_router.GrantRulesRule[];
51
+ /**
52
+ * The total count of query.
53
+ */
54
+ readonly totalCount: number;
55
+ /**
56
+ * The id of the transaction router.
57
+ */
58
+ readonly transitRouterId: string;
59
+ }
60
+ /**
61
+ * Use this data source to query detailed information of transit router grant rules
62
+ * ## Example Usage
63
+ *
64
+ * ```typescript
65
+ * import * as pulumi from "@pulumi/pulumi";
66
+ * import * as volcengine from "@pulumi/volcengine";
67
+ *
68
+ * const foo = volcengine.transit_router.GrantRules({
69
+ * transitRouterId: "tr-2bzy39uy6u3282dx0efxiqyq0",
70
+ * });
71
+ * ```
72
+ */
73
+ export declare function grantRulesOutput(args: GrantRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GrantRulesResult>;
74
+ /**
75
+ * A collection of arguments for invoking GrantRules.
76
+ */
77
+ export interface GrantRulesOutputArgs {
78
+ /**
79
+ * The id of the grant account.
80
+ */
81
+ grantAccountId?: pulumi.Input<string>;
82
+ /**
83
+ * File name where to save data source results.
84
+ */
85
+ outputFile?: pulumi.Input<string>;
86
+ /**
87
+ * The id of the transit router.
88
+ */
89
+ transitRouterId: pulumi.Input<string>;
90
+ }