@volcengine/pulumi-volcenginecc 0.0.1

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 (333) hide show
  1. package/LICENSE +373 -0
  2. package/README.md +77 -0
  3. package/alb/certificate.d.ts +197 -0
  4. package/alb/certificate.js +109 -0
  5. package/alb/certificate.js.map +1 -0
  6. package/alb/getCertificate.d.ts +93 -0
  7. package/alb/getCertificate.js +28 -0
  8. package/alb/getCertificate.js.map +1 -0
  9. package/alb/getCertificates.d.ts +22 -0
  10. package/alb/getCertificates.js +24 -0
  11. package/alb/getCertificates.js.map +1 -0
  12. package/alb/index.d.ts +9 -0
  13. package/alb/index.js +28 -0
  14. package/alb/index.js.map +1 -0
  15. package/ark/endpoint.d.ts +230 -0
  16. package/ark/endpoint.js +102 -0
  17. package/ark/endpoint.js.map +1 -0
  18. package/ark/getEndpoint.d.ts +117 -0
  19. package/ark/getEndpoint.js +28 -0
  20. package/ark/getEndpoint.js.map +1 -0
  21. package/ark/getEndpoints.d.ts +22 -0
  22. package/ark/getEndpoints.js +24 -0
  23. package/ark/getEndpoints.js.map +1 -0
  24. package/ark/index.d.ts +9 -0
  25. package/ark/index.js +28 -0
  26. package/ark/index.js.map +1 -0
  27. package/clb/clb.d.ts +512 -0
  28. package/clb/clb.js +148 -0
  29. package/clb/clb.js.map +1 -0
  30. package/clb/getClb.d.ts +221 -0
  31. package/clb/getClb.js +28 -0
  32. package/clb/getClb.js.map +1 -0
  33. package/clb/getClbs.d.ts +22 -0
  34. package/clb/getClbs.js +24 -0
  35. package/clb/getClbs.js.map +1 -0
  36. package/clb/getNlb.d.ts +141 -0
  37. package/clb/getNlb.js +28 -0
  38. package/clb/getNlb.js.map +1 -0
  39. package/clb/getNlbListener.d.ts +109 -0
  40. package/clb/getNlbListener.js +28 -0
  41. package/clb/getNlbListener.js.map +1 -0
  42. package/clb/getNlbListeners.d.ts +22 -0
  43. package/clb/getNlbListeners.js +24 -0
  44. package/clb/getNlbListeners.js.map +1 -0
  45. package/clb/getNlbServerGroup.d.ts +145 -0
  46. package/clb/getNlbServerGroup.js +28 -0
  47. package/clb/getNlbServerGroup.js.map +1 -0
  48. package/clb/getNlbServerGroups.d.ts +22 -0
  49. package/clb/getNlbServerGroups.js +24 -0
  50. package/clb/getNlbServerGroups.js.map +1 -0
  51. package/clb/getNlbs.d.ts +22 -0
  52. package/clb/getNlbs.js +24 -0
  53. package/clb/getNlbs.js.map +1 -0
  54. package/clb/getServerGroup.d.ts +85 -0
  55. package/clb/getServerGroup.js +28 -0
  56. package/clb/getServerGroup.js.map +1 -0
  57. package/clb/getServerGroups.d.ts +22 -0
  58. package/clb/getServerGroups.js +24 -0
  59. package/clb/getServerGroups.js.map +1 -0
  60. package/clb/index.d.ts +45 -0
  61. package/clb/index.js +72 -0
  62. package/clb/index.js.map +1 -0
  63. package/clb/nlb.d.ts +297 -0
  64. package/clb/nlb.js +120 -0
  65. package/clb/nlb.js.map +1 -0
  66. package/clb/nlbListener.d.ts +251 -0
  67. package/clb/nlbListener.js +126 -0
  68. package/clb/nlbListener.js.map +1 -0
  69. package/clb/nlbServerGroup.d.ts +337 -0
  70. package/clb/nlbServerGroup.js +116 -0
  71. package/clb/nlbServerGroup.js.map +1 -0
  72. package/clb/serverGroup.d.ts +151 -0
  73. package/clb/serverGroup.js +83 -0
  74. package/clb/serverGroup.js.map +1 -0
  75. package/config/index.d.ts +1 -0
  76. package/config/index.js +21 -0
  77. package/config/index.js.map +1 -0
  78. package/config/vars.d.ts +37 -0
  79. package/config/vars.js +62 -0
  80. package/config/vars.js.map +1 -0
  81. package/cr/getRepositories.d.ts +22 -0
  82. package/cr/getRepositories.js +24 -0
  83. package/cr/getRepositories.js.map +1 -0
  84. package/cr/getRepository.d.ts +64 -0
  85. package/cr/getRepository.js +28 -0
  86. package/cr/getRepository.js.map +1 -0
  87. package/cr/index.d.ts +9 -0
  88. package/cr/index.js +28 -0
  89. package/cr/index.js.map +1 -0
  90. package/cr/repository.d.ts +136 -0
  91. package/cr/repository.js +94 -0
  92. package/cr/repository.js.map +1 -0
  93. package/ecs/command.d.ts +213 -0
  94. package/ecs/command.js +99 -0
  95. package/ecs/command.js.map +1 -0
  96. package/ecs/getCommand.d.ts +105 -0
  97. package/ecs/getCommand.js +28 -0
  98. package/ecs/getCommand.js.map +1 -0
  99. package/ecs/getCommands.d.ts +22 -0
  100. package/ecs/getCommands.js +24 -0
  101. package/ecs/getCommands.js.map +1 -0
  102. package/ecs/getHpcCluster.d.ts +64 -0
  103. package/ecs/getHpcCluster.js +28 -0
  104. package/ecs/getHpcCluster.js.map +1 -0
  105. package/ecs/getHpcClusters.d.ts +22 -0
  106. package/ecs/getHpcClusters.js +24 -0
  107. package/ecs/getHpcClusters.js.map +1 -0
  108. package/ecs/getImage.d.ts +157 -0
  109. package/ecs/getImage.js +28 -0
  110. package/ecs/getImage.js.map +1 -0
  111. package/ecs/getImages.d.ts +22 -0
  112. package/ecs/getImages.js +24 -0
  113. package/ecs/getImages.js.map +1 -0
  114. package/ecs/getInvocation.d.ts +143 -0
  115. package/ecs/getInvocation.js +28 -0
  116. package/ecs/getInvocation.js.map +1 -0
  117. package/ecs/getInvocations.d.ts +22 -0
  118. package/ecs/getInvocations.js +24 -0
  119. package/ecs/getInvocations.js.map +1 -0
  120. package/ecs/getKeypair.d.ts +81 -0
  121. package/ecs/getKeypair.js +28 -0
  122. package/ecs/getKeypair.js.map +1 -0
  123. package/ecs/getKeypairs.d.ts +22 -0
  124. package/ecs/getKeypairs.js +24 -0
  125. package/ecs/getKeypairs.js.map +1 -0
  126. package/ecs/hpcCluster.d.ts +134 -0
  127. package/ecs/hpcCluster.js +89 -0
  128. package/ecs/hpcCluster.js.map +1 -0
  129. package/ecs/image.d.ts +332 -0
  130. package/ecs/image.js +119 -0
  131. package/ecs/image.js.map +1 -0
  132. package/ecs/index.d.ts +45 -0
  133. package/ecs/index.js +72 -0
  134. package/ecs/index.js.map +1 -0
  135. package/ecs/invocation.d.ts +338 -0
  136. package/ecs/invocation.js +149 -0
  137. package/ecs/invocation.js.map +1 -0
  138. package/ecs/keypair.d.ts +171 -0
  139. package/ecs/keypair.js +98 -0
  140. package/ecs/keypair.js.map +1 -0
  141. package/filenas/getInstance.d.ts +109 -0
  142. package/filenas/getInstance.js +28 -0
  143. package/filenas/getInstance.js.map +1 -0
  144. package/filenas/getInstances.d.ts +22 -0
  145. package/filenas/getInstances.js +24 -0
  146. package/filenas/getInstances.js.map +1 -0
  147. package/filenas/index.d.ts +9 -0
  148. package/filenas/index.js +28 -0
  149. package/filenas/index.js.map +1 -0
  150. package/filenas/instance.d.ts +256 -0
  151. package/filenas/instance.js +125 -0
  152. package/filenas/instance.js.map +1 -0
  153. package/iam/accesskey.d.ts +136 -0
  154. package/iam/accesskey.js +81 -0
  155. package/iam/accesskey.js.map +1 -0
  156. package/iam/getAccesskey.d.ts +72 -0
  157. package/iam/getAccesskey.js +28 -0
  158. package/iam/getAccesskey.js.map +1 -0
  159. package/iam/getAccesskeys.d.ts +22 -0
  160. package/iam/getAccesskeys.js +24 -0
  161. package/iam/getAccesskeys.js.map +1 -0
  162. package/iam/getGroup.d.ts +73 -0
  163. package/iam/getGroup.js +28 -0
  164. package/iam/getGroup.js.map +1 -0
  165. package/iam/getGroups.d.ts +22 -0
  166. package/iam/getGroups.js +24 -0
  167. package/iam/getGroups.js.map +1 -0
  168. package/iam/getPolicies.d.ts +22 -0
  169. package/iam/getPolicies.js +24 -0
  170. package/iam/getPolicies.js.map +1 -0
  171. package/iam/getPolicy.d.ts +89 -0
  172. package/iam/getPolicy.js +28 -0
  173. package/iam/getPolicy.js.map +1 -0
  174. package/iam/getRole.d.ts +79 -0
  175. package/iam/getRole.js +28 -0
  176. package/iam/getRole.js.map +1 -0
  177. package/iam/getRoles.d.ts +22 -0
  178. package/iam/getRoles.js +24 -0
  179. package/iam/getRoles.js.map +1 -0
  180. package/iam/getUser.d.ts +97 -0
  181. package/iam/getUser.js +28 -0
  182. package/iam/getUser.js.map +1 -0
  183. package/iam/getUsers.d.ts +22 -0
  184. package/iam/getUsers.js +24 -0
  185. package/iam/getUsers.js.map +1 -0
  186. package/iam/group.d.ts +121 -0
  187. package/iam/group.js +77 -0
  188. package/iam/group.js.map +1 -0
  189. package/iam/index.d.ts +45 -0
  190. package/iam/index.js +72 -0
  191. package/iam/index.js.map +1 -0
  192. package/iam/policy.d.ts +156 -0
  193. package/iam/policy.js +91 -0
  194. package/iam/policy.js.map +1 -0
  195. package/iam/role.d.ts +185 -0
  196. package/iam/role.js +115 -0
  197. package/iam/role.js.map +1 -0
  198. package/iam/user.d.ts +189 -0
  199. package/iam/user.js +89 -0
  200. package/iam/user.js.map +1 -0
  201. package/index.d.ts +16 -0
  202. package/index.js +63 -0
  203. package/index.js.map +1 -0
  204. package/package.json +29 -0
  205. package/provider.d.ts +102 -0
  206. package/provider.js +61 -0
  207. package/provider.js.map +1 -0
  208. package/storageebs/getVolume.d.ts +153 -0
  209. package/storageebs/getVolume.js +28 -0
  210. package/storageebs/getVolume.js.map +1 -0
  211. package/storageebs/getVolumes.d.ts +22 -0
  212. package/storageebs/getVolumes.js +24 -0
  213. package/storageebs/getVolumes.js.map +1 -0
  214. package/storageebs/index.d.ts +9 -0
  215. package/storageebs/index.js +28 -0
  216. package/storageebs/index.js.map +1 -0
  217. package/storageebs/volume.d.ts +345 -0
  218. package/storageebs/volume.js +140 -0
  219. package/storageebs/volume.js.map +1 -0
  220. package/tos/bucket.d.ts +172 -0
  221. package/tos/bucket.js +87 -0
  222. package/tos/bucket.js.map +1 -0
  223. package/tos/getBucket.d.ts +90 -0
  224. package/tos/getBucket.js +28 -0
  225. package/tos/getBucket.js.map +1 -0
  226. package/tos/getBuckets.d.ts +22 -0
  227. package/tos/getBuckets.js +24 -0
  228. package/tos/getBuckets.js.map +1 -0
  229. package/tos/index.d.ts +9 -0
  230. package/tos/index.js +28 -0
  231. package/tos/index.js.map +1 -0
  232. package/transitrouter/getTransitRouter.d.ts +97 -0
  233. package/transitrouter/getTransitRouter.js +28 -0
  234. package/transitrouter/getTransitRouter.js.map +1 -0
  235. package/transitrouter/getTransitRouters.d.ts +22 -0
  236. package/transitrouter/getTransitRouters.js +24 -0
  237. package/transitrouter/getTransitRouters.js.map +1 -0
  238. package/transitrouter/index.d.ts +9 -0
  239. package/transitrouter/index.js +28 -0
  240. package/transitrouter/index.js.map +1 -0
  241. package/transitrouter/transitRouter.d.ts +194 -0
  242. package/transitrouter/transitRouter.js +104 -0
  243. package/transitrouter/transitRouter.js.map +1 -0
  244. package/types/index.d.ts +3 -0
  245. package/types/index.js +11 -0
  246. package/types/index.js.map +1 -0
  247. package/types/input.d.ts +1581 -0
  248. package/types/input.js +5 -0
  249. package/types/input.js.map +1 -0
  250. package/types/output.d.ts +3321 -0
  251. package/types/output.js +5 -0
  252. package/types/output.js.map +1 -0
  253. package/utilities.d.ts +8 -0
  254. package/utilities.js +101 -0
  255. package/utilities.js.map +1 -0
  256. package/vmp/getWorkspace.d.ts +109 -0
  257. package/vmp/getWorkspace.js +28 -0
  258. package/vmp/getWorkspace.js.map +1 -0
  259. package/vmp/getWorkspaces.d.ts +22 -0
  260. package/vmp/getWorkspaces.js +24 -0
  261. package/vmp/getWorkspaces.js.map +1 -0
  262. package/vmp/index.d.ts +9 -0
  263. package/vmp/index.js +28 -0
  264. package/vmp/index.js.map +1 -0
  265. package/vmp/workspace.d.ts +235 -0
  266. package/vmp/workspace.js +119 -0
  267. package/vmp/workspace.js.map +1 -0
  268. package/vpc/bandwidthPackage.d.ts +257 -0
  269. package/vpc/bandwidthPackage.js +103 -0
  270. package/vpc/bandwidthPackage.js.map +1 -0
  271. package/vpc/eip.d.ts +415 -0
  272. package/vpc/eip.js +150 -0
  273. package/vpc/eip.js.map +1 -0
  274. package/vpc/eni.d.ts +289 -0
  275. package/vpc/eni.js +106 -0
  276. package/vpc/eni.js.map +1 -0
  277. package/vpc/getBandwidthPackage.d.ts +125 -0
  278. package/vpc/getBandwidthPackage.js +28 -0
  279. package/vpc/getBandwidthPackage.js.map +1 -0
  280. package/vpc/getBandwidthPackages.d.ts +22 -0
  281. package/vpc/getBandwidthPackages.js +24 -0
  282. package/vpc/getBandwidthPackages.js.map +1 -0
  283. package/vpc/getEip.d.ts +169 -0
  284. package/vpc/getEip.js +28 -0
  285. package/vpc/getEip.js.map +1 -0
  286. package/vpc/getEips.d.ts +22 -0
  287. package/vpc/getEips.js +24 -0
  288. package/vpc/getEips.js.map +1 -0
  289. package/vpc/getEni.d.ts +134 -0
  290. package/vpc/getEni.js +28 -0
  291. package/vpc/getEni.js.map +1 -0
  292. package/vpc/getEnis.d.ts +22 -0
  293. package/vpc/getEnis.js +24 -0
  294. package/vpc/getEnis.js.map +1 -0
  295. package/vpc/getRouteTable.d.ts +105 -0
  296. package/vpc/getRouteTable.js +28 -0
  297. package/vpc/getRouteTable.js.map +1 -0
  298. package/vpc/getRouteTables.d.ts +22 -0
  299. package/vpc/getRouteTables.js +24 -0
  300. package/vpc/getRouteTables.js.map +1 -0
  301. package/vpc/getSecurityGroup.d.ts +82 -0
  302. package/vpc/getSecurityGroup.js +28 -0
  303. package/vpc/getSecurityGroup.js.map +1 -0
  304. package/vpc/getSecurityGroups.d.ts +22 -0
  305. package/vpc/getSecurityGroups.js +24 -0
  306. package/vpc/getSecurityGroups.js.map +1 -0
  307. package/vpc/getSubnet.d.ts +110 -0
  308. package/vpc/getSubnet.js +28 -0
  309. package/vpc/getSubnet.js.map +1 -0
  310. package/vpc/getSubnets.d.ts +22 -0
  311. package/vpc/getSubnets.js +24 -0
  312. package/vpc/getSubnets.js.map +1 -0
  313. package/vpc/getVpc.d.ts +129 -0
  314. package/vpc/getVpc.js +28 -0
  315. package/vpc/getVpc.js.map +1 -0
  316. package/vpc/getVpcs.d.ts +22 -0
  317. package/vpc/getVpcs.js +24 -0
  318. package/vpc/getVpcs.js.map +1 -0
  319. package/vpc/index.d.ts +63 -0
  320. package/vpc/index.js +94 -0
  321. package/vpc/index.js.map +1 -0
  322. package/vpc/routeTable.d.ts +203 -0
  323. package/vpc/routeTable.js +93 -0
  324. package/vpc/routeTable.js.map +1 -0
  325. package/vpc/securityGroup.d.ts +144 -0
  326. package/vpc/securityGroup.js +83 -0
  327. package/vpc/securityGroup.js.map +1 -0
  328. package/vpc/subnet.d.ts +241 -0
  329. package/vpc/subnet.js +122 -0
  330. package/vpc/subnet.js.map +1 -0
  331. package/vpc/vpc.d.ts +277 -0
  332. package/vpc/vpc.js +102 -0
  333. package/vpc/vpc.js.map +1 -0
package/ecs/keypair.js ADDED
@@ -0,0 +1,98 @@
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.Keypair = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ECS 密钥对(Keypair)默认采用 RSA 2048 位加密算法生成一对关联密钥,包含公钥(public key)和私钥(private key)。其中,公钥用于对数据进行加密处理,可将明文转换为不可直接读取的密文;私钥则作为解密的唯一凭证,能将密文还原为原始明文,实现安全的身份验证与数据传输。
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 eCSKeypairDemo = new volcenginecc.ecs.Keypair("ECSKeypairDemo", {
18
+ * keyPairName: "ECSKeypairDemo",
19
+ * projectName: "default",
20
+ * description: "ECSKeypairDemo Description",
21
+ * tags: [{
22
+ * key: "env",
23
+ * value: "test",
24
+ * }],
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * ```sh
31
+ * $ pulumi import volcenginecc:ecs/keypair:Keypair example "key_pair_name"
32
+ * ```
33
+ */
34
+ class Keypair extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing Keypair resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name, id, state, opts) {
45
+ return new Keypair(name, state, Object.assign(Object.assign({}, opts), { id: id }));
46
+ }
47
+ /**
48
+ * Returns true if the given object is an instance of Keypair. This is designed to work even
49
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
50
+ */
51
+ static isInstance(obj) {
52
+ if (obj === undefined || obj === null) {
53
+ return false;
54
+ }
55
+ return obj['__pulumiType'] === Keypair.__pulumiType;
56
+ }
57
+ constructor(name, argsOrState, opts) {
58
+ let resourceInputs = {};
59
+ opts = opts || {};
60
+ if (opts.id) {
61
+ const state = argsOrState;
62
+ resourceInputs["createdTime"] = state ? state.createdTime : undefined;
63
+ resourceInputs["description"] = state ? state.description : undefined;
64
+ resourceInputs["fingerPrint"] = state ? state.fingerPrint : undefined;
65
+ resourceInputs["instanceIds"] = state ? state.instanceIds : undefined;
66
+ resourceInputs["keyPairId"] = state ? state.keyPairId : undefined;
67
+ resourceInputs["keyPairName"] = state ? state.keyPairName : undefined;
68
+ resourceInputs["privateKey"] = state ? state.privateKey : undefined;
69
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
70
+ resourceInputs["publicKey"] = state ? state.publicKey : undefined;
71
+ resourceInputs["tags"] = state ? state.tags : undefined;
72
+ resourceInputs["updatedTime"] = state ? state.updatedTime : undefined;
73
+ }
74
+ else {
75
+ const args = argsOrState;
76
+ if ((!args || args.keyPairName === undefined) && !opts.urn) {
77
+ throw new Error("Missing required property 'keyPairName'");
78
+ }
79
+ resourceInputs["description"] = args ? args.description : undefined;
80
+ resourceInputs["instanceIds"] = args ? args.instanceIds : undefined;
81
+ resourceInputs["keyPairName"] = args ? args.keyPairName : undefined;
82
+ resourceInputs["privateKey"] = args ? args.privateKey : undefined;
83
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
84
+ resourceInputs["publicKey"] = args ? args.publicKey : undefined;
85
+ resourceInputs["tags"] = args ? args.tags : undefined;
86
+ resourceInputs["createdTime"] = undefined /*out*/;
87
+ resourceInputs["fingerPrint"] = undefined /*out*/;
88
+ resourceInputs["keyPairId"] = undefined /*out*/;
89
+ resourceInputs["updatedTime"] = undefined /*out*/;
90
+ }
91
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
92
+ super(Keypair.__pulumiType, name, resourceInputs, opts);
93
+ }
94
+ }
95
+ exports.Keypair = Keypair;
96
+ /** @internal */
97
+ Keypair.__pulumiType = 'volcenginecc:ecs/keypair:Keypair';
98
+ //# sourceMappingURL=keypair.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keypair.js","sourceRoot":"","sources":["../../ecs/keypair.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,109 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Volcengine::FileNAS::Instance
5
+ */
6
+ export declare function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceResult>;
7
+ /**
8
+ * A collection of arguments for invoking getInstance.
9
+ */
10
+ export interface GetInstanceArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getInstance.
18
+ */
19
+ export interface GetInstanceResult {
20
+ /**
21
+ * 缓存型性能信息。
22
+ */
23
+ readonly cachePerformance: outputs.filenas.GetInstanceCachePerformance;
24
+ /**
25
+ * 文件系统容量。
26
+ */
27
+ readonly capacity: outputs.filenas.GetInstanceCapacity;
28
+ /**
29
+ * 计费类型,取值 PayAsYouGo,表示按量计费。
30
+ */
31
+ readonly chargeType: string;
32
+ /**
33
+ * 创建时间
34
+ */
35
+ readonly createTime: string;
36
+ /**
37
+ * 描述信息。
38
+ */
39
+ readonly description: string;
40
+ /**
41
+ * 文件系统 ID。
42
+ */
43
+ readonly fileSystemId: string;
44
+ /**
45
+ * 文件系统名称。
46
+ */
47
+ readonly fileSystemName: string;
48
+ /**
49
+ * 文件系统类型。取值说明:Extreme:NAS 极速型;Capacity:NAS 容量型;Cache:NAS 缓存型。
50
+ */
51
+ readonly fileSystemType: string;
52
+ /**
53
+ * Uniquely identifies the resource.
54
+ */
55
+ readonly id: string;
56
+ /**
57
+ * 所属项目,默认值为 default 项目。
58
+ */
59
+ readonly projectName: string;
60
+ /**
61
+ * 文件系统协议类型。取值 NFS,表示 NFS 协议,常用于 Linux 客户端。
62
+ */
63
+ readonly protocolType: string;
64
+ /**
65
+ * 快照数量
66
+ */
67
+ readonly snapshotCount: number;
68
+ /**
69
+ * 创建时使用的快照 ID。传入该参数后,将使用该快照新建文件系统。
70
+ */
71
+ readonly snapshotId: string;
72
+ /**
73
+ * 文件系统状态
74
+ */
75
+ readonly status: string;
76
+ /**
77
+ * 存储类型,取值Standard,表示标准型。
78
+ */
79
+ readonly storageType: string;
80
+ /**
81
+ * 文件系统的标签信息
82
+ */
83
+ readonly tags: outputs.filenas.GetInstanceTag[];
84
+ /**
85
+ * 更新时间
86
+ */
87
+ readonly updateTime: string;
88
+ /**
89
+ * 可用区 ID。
90
+ */
91
+ readonly zoneId: string;
92
+ /**
93
+ * 可用区名称。
94
+ */
95
+ readonly zoneName: string;
96
+ }
97
+ /**
98
+ * Data Source schema for Volcengine::FileNAS::Instance
99
+ */
100
+ export declare function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstanceResult>;
101
+ /**
102
+ * A collection of arguments for invoking getInstance.
103
+ */
104
+ export interface GetInstanceOutputArgs {
105
+ /**
106
+ * Uniquely identifies the resource.
107
+ */
108
+ id: pulumi.Input<string>;
109
+ }
@@ -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.getInstanceOutput = exports.getInstance = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::FileNAS::Instance
10
+ */
11
+ function getInstance(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:filenas/getInstance:getInstance", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getInstance = getInstance;
18
+ /**
19
+ * Data Source schema for Volcengine::FileNAS::Instance
20
+ */
21
+ function getInstanceOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:filenas/getInstance:getInstance", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getInstanceOutput = getInstanceOutput;
28
+ //# sourceMappingURL=getInstance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getInstance.js","sourceRoot":"","sources":["../../filenas/getInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AA6FD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE;QAC/E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::FileNAS::Instance
4
+ */
5
+ export declare function getInstances(opts?: pulumi.InvokeOptions): Promise<GetInstancesResult>;
6
+ /**
7
+ * A collection of values returned by getInstances.
8
+ */
9
+ export interface GetInstancesResult {
10
+ /**
11
+ * Uniquely identifies the data source.
12
+ */
13
+ readonly id: string;
14
+ /**
15
+ * Set of Resource Identifiers.
16
+ */
17
+ readonly ids: string[];
18
+ }
19
+ /**
20
+ * Plural Data Source schema for Volcengine::FileNAS::Instance
21
+ */
22
+ export declare function getInstancesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstancesResult>;
@@ -0,0 +1,24 @@
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.getInstancesOutput = exports.getInstances = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::FileNAS::Instance
10
+ */
11
+ function getInstances(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:filenas/getInstances:getInstances", {}, opts);
14
+ }
15
+ exports.getInstances = getInstances;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::FileNAS::Instance
18
+ */
19
+ function getInstancesOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:filenas/getInstances:getInstances", {}, opts);
22
+ }
23
+ exports.getInstancesOutput = getInstancesOutput;
24
+ //# sourceMappingURL=getInstances.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getInstances.js","sourceRoot":"","sources":["../../filenas/getInstances.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,YAAY,CAAC,IAA2B;IACpD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oCAIC;AAeD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAAiC;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE,EACpF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gDAIC"}
@@ -0,0 +1,9 @@
1
+ export { GetInstanceArgs, GetInstanceResult, GetInstanceOutputArgs } from "./getInstance";
2
+ export declare const getInstance: typeof import("./getInstance").getInstance;
3
+ export declare const getInstanceOutput: typeof import("./getInstance").getInstanceOutput;
4
+ export { GetInstancesResult } from "./getInstances";
5
+ export declare const getInstances: typeof import("./getInstances").getInstances;
6
+ export declare const getInstancesOutput: typeof import("./getInstances").getInstancesOutput;
7
+ export { InstanceArgs, InstanceState } from "./instance";
8
+ export type Instance = import("./instance").Instance;
9
+ export declare const Instance: typeof import("./instance").Instance;
@@ -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.Instance = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ exports.getInstance = null;
9
+ exports.getInstanceOutput = null;
10
+ utilities.lazyLoad(exports, ["getInstance", "getInstanceOutput"], () => require("./getInstance"));
11
+ exports.getInstances = null;
12
+ exports.getInstancesOutput = null;
13
+ utilities.lazyLoad(exports, ["getInstances", "getInstancesOutput"], () => require("./getInstances"));
14
+ exports.Instance = null;
15
+ utilities.lazyLoad(exports, ["Instance"], () => require("./instance"));
16
+ const _module = {
17
+ version: utilities.getVersion(),
18
+ construct: (name, type, urn) => {
19
+ switch (type) {
20
+ case "volcenginecc:filenas/instance:Instance":
21
+ return new exports.Instance(name, undefined, { urn });
22
+ default:
23
+ throw new Error(`unknown resource type ${type}`);
24
+ }
25
+ },
26
+ };
27
+ pulumi.runtime.registerResourceModule("volcenginecc", "filenas/instance", _module);
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../filenas/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,EAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAGpF,QAAA,YAAY,GAAiD,IAAW,CAAC;AACzE,QAAA,kBAAkB,GAAuD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,EAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAIvF,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,wCAAwC;gBACzC,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,256 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * 文件系统通过标准的 NFS 协议为您提供文件存储服务,用于网络文件远程访问,通过管理控制台创建挂载地址后,即可按需在客户端中通过标准的 POSIX 接口对文件系统进行访问。
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 fileNASInstanceDemo = new volcenginecc.filenas.Instance("FileNASInstanceDemo", {
14
+ * fileSystemName: "FileNASInstanceDemo",
15
+ * capacity: {
16
+ * total: 105,
17
+ * },
18
+ * chargeType: "PayAsYouGo",
19
+ * fileSystemType: "Extreme",
20
+ * protocolType: "NFS",
21
+ * zoneId: "cn-beijing-x",
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * ```sh
28
+ * $ pulumi import volcenginecc:filenas/instance:Instance example "file_system_id"
29
+ * ```
30
+ */
31
+ export declare class Instance extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing Instance 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: string, id: pulumi.Input<pulumi.ID>, state?: InstanceState, opts?: pulumi.CustomResourceOptions): Instance;
42
+ /**
43
+ * Returns true if the given object is an instance of Instance. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj: any): obj is Instance;
47
+ /**
48
+ * 缓存型性能信息。
49
+ */
50
+ readonly cachePerformance: pulumi.Output<outputs.filenas.InstanceCachePerformance>;
51
+ /**
52
+ * 文件系统容量。
53
+ */
54
+ readonly capacity: pulumi.Output<outputs.filenas.InstanceCapacity>;
55
+ /**
56
+ * 计费类型,取值 PayAsYouGo,表示按量计费。
57
+ */
58
+ readonly chargeType: pulumi.Output<string>;
59
+ /**
60
+ * 创建时间
61
+ */
62
+ readonly createTime: pulumi.Output<string>;
63
+ /**
64
+ * 描述信息。
65
+ */
66
+ readonly description: pulumi.Output<string>;
67
+ /**
68
+ * 文件系统 ID。
69
+ */
70
+ readonly fileSystemId: pulumi.Output<string>;
71
+ /**
72
+ * 文件系统名称。
73
+ */
74
+ readonly fileSystemName: pulumi.Output<string>;
75
+ /**
76
+ * 文件系统类型。取值说明:Extreme:NAS 极速型;Capacity:NAS 容量型;Cache:NAS 缓存型。
77
+ */
78
+ readonly fileSystemType: pulumi.Output<string>;
79
+ /**
80
+ * 所属项目,默认值为 default 项目。
81
+ */
82
+ readonly projectName: pulumi.Output<string>;
83
+ /**
84
+ * 文件系统协议类型。取值 NFS,表示 NFS 协议,常用于 Linux 客户端。
85
+ */
86
+ readonly protocolType: pulumi.Output<string>;
87
+ /**
88
+ * 快照数量
89
+ */
90
+ readonly snapshotCount: pulumi.Output<number>;
91
+ /**
92
+ * 创建时使用的快照 ID。传入该参数后,将使用该快照新建文件系统。
93
+ */
94
+ readonly snapshotId: pulumi.Output<string>;
95
+ /**
96
+ * 文件系统状态
97
+ */
98
+ readonly status: pulumi.Output<string>;
99
+ /**
100
+ * 存储类型,取值Standard,表示标准型。
101
+ */
102
+ readonly storageType: pulumi.Output<string>;
103
+ readonly tags: pulumi.Output<outputs.filenas.InstanceTag[]>;
104
+ /**
105
+ * 更新时间
106
+ */
107
+ readonly updateTime: pulumi.Output<string>;
108
+ /**
109
+ * 可用区 ID。
110
+ */
111
+ readonly zoneId: pulumi.Output<string>;
112
+ /**
113
+ * 可用区名称。
114
+ */
115
+ readonly zoneName: pulumi.Output<string>;
116
+ /**
117
+ * Create a Instance resource with the given unique name, arguments, and options.
118
+ *
119
+ * @param name The _unique_ name of the resource.
120
+ * @param args The arguments to use to populate this resource's properties.
121
+ * @param opts A bag of options that control this resource's behavior.
122
+ */
123
+ constructor(name: string, args: InstanceArgs, opts?: pulumi.CustomResourceOptions);
124
+ }
125
+ /**
126
+ * Input properties used for looking up and filtering Instance resources.
127
+ */
128
+ export interface InstanceState {
129
+ /**
130
+ * 缓存型性能信息。
131
+ */
132
+ cachePerformance?: pulumi.Input<inputs.filenas.InstanceCachePerformance>;
133
+ /**
134
+ * 文件系统容量。
135
+ */
136
+ capacity?: pulumi.Input<inputs.filenas.InstanceCapacity>;
137
+ /**
138
+ * 计费类型,取值 PayAsYouGo,表示按量计费。
139
+ */
140
+ chargeType?: pulumi.Input<string>;
141
+ /**
142
+ * 创建时间
143
+ */
144
+ createTime?: pulumi.Input<string>;
145
+ /**
146
+ * 描述信息。
147
+ */
148
+ description?: pulumi.Input<string>;
149
+ /**
150
+ * 文件系统 ID。
151
+ */
152
+ fileSystemId?: pulumi.Input<string>;
153
+ /**
154
+ * 文件系统名称。
155
+ */
156
+ fileSystemName?: pulumi.Input<string>;
157
+ /**
158
+ * 文件系统类型。取值说明:Extreme:NAS 极速型;Capacity:NAS 容量型;Cache:NAS 缓存型。
159
+ */
160
+ fileSystemType?: pulumi.Input<string>;
161
+ /**
162
+ * 所属项目,默认值为 default 项目。
163
+ */
164
+ projectName?: pulumi.Input<string>;
165
+ /**
166
+ * 文件系统协议类型。取值 NFS,表示 NFS 协议,常用于 Linux 客户端。
167
+ */
168
+ protocolType?: pulumi.Input<string>;
169
+ /**
170
+ * 快照数量
171
+ */
172
+ snapshotCount?: pulumi.Input<number>;
173
+ /**
174
+ * 创建时使用的快照 ID。传入该参数后,将使用该快照新建文件系统。
175
+ */
176
+ snapshotId?: pulumi.Input<string>;
177
+ /**
178
+ * 文件系统状态
179
+ */
180
+ status?: pulumi.Input<string>;
181
+ /**
182
+ * 存储类型,取值Standard,表示标准型。
183
+ */
184
+ storageType?: pulumi.Input<string>;
185
+ tags?: pulumi.Input<pulumi.Input<inputs.filenas.InstanceTag>[]>;
186
+ /**
187
+ * 更新时间
188
+ */
189
+ updateTime?: pulumi.Input<string>;
190
+ /**
191
+ * 可用区 ID。
192
+ */
193
+ zoneId?: pulumi.Input<string>;
194
+ /**
195
+ * 可用区名称。
196
+ */
197
+ zoneName?: pulumi.Input<string>;
198
+ }
199
+ /**
200
+ * The set of arguments for constructing a Instance resource.
201
+ */
202
+ export interface InstanceArgs {
203
+ /**
204
+ * 缓存型性能信息。
205
+ */
206
+ cachePerformance?: pulumi.Input<inputs.filenas.InstanceCachePerformance>;
207
+ /**
208
+ * 文件系统容量。
209
+ */
210
+ capacity?: pulumi.Input<inputs.filenas.InstanceCapacity>;
211
+ /**
212
+ * 计费类型,取值 PayAsYouGo,表示按量计费。
213
+ */
214
+ chargeType: pulumi.Input<string>;
215
+ /**
216
+ * 描述信息。
217
+ */
218
+ description?: pulumi.Input<string>;
219
+ /**
220
+ * 文件系统 ID。
221
+ */
222
+ fileSystemId?: pulumi.Input<string>;
223
+ /**
224
+ * 文件系统名称。
225
+ */
226
+ fileSystemName: pulumi.Input<string>;
227
+ /**
228
+ * 文件系统类型。取值说明:Extreme:NAS 极速型;Capacity:NAS 容量型;Cache:NAS 缓存型。
229
+ */
230
+ fileSystemType: pulumi.Input<string>;
231
+ /**
232
+ * 所属项目,默认值为 default 项目。
233
+ */
234
+ projectName?: pulumi.Input<string>;
235
+ /**
236
+ * 文件系统协议类型。取值 NFS,表示 NFS 协议,常用于 Linux 客户端。
237
+ */
238
+ protocolType: pulumi.Input<string>;
239
+ /**
240
+ * 创建时使用的快照 ID。传入该参数后,将使用该快照新建文件系统。
241
+ */
242
+ snapshotId?: pulumi.Input<string>;
243
+ /**
244
+ * 存储类型,取值Standard,表示标准型。
245
+ */
246
+ storageType?: pulumi.Input<string>;
247
+ tags?: pulumi.Input<pulumi.Input<inputs.filenas.InstanceTag>[]>;
248
+ /**
249
+ * 可用区 ID。
250
+ */
251
+ zoneId: pulumi.Input<string>;
252
+ /**
253
+ * 可用区名称。
254
+ */
255
+ zoneName?: pulumi.Input<string>;
256
+ }