@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/provider.js ADDED
@@ -0,0 +1,61 @@
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.Provider = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * The provider type for the volcenginecc package. By default, resources use package-wide configuration
10
+ * settings, however an explicit `Provider` instance may be created and passed during resource
11
+ * construction to achieve fine-grained programmatic control over provider settings. See the
12
+ * [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
13
+ */
14
+ class Provider extends pulumi.ProviderResource {
15
+ /**
16
+ * Returns true if the given object is an instance of Provider. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj) {
20
+ if (obj === undefined || obj === null) {
21
+ return false;
22
+ }
23
+ return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
24
+ }
25
+ /**
26
+ * Create a Provider resource with the given unique name, arguments, and options.
27
+ *
28
+ * @param name The _unique_ name of the resource.
29
+ * @param args The arguments to use to populate this resource's properties.
30
+ * @param opts A bag of options that control this resource's behavior.
31
+ */
32
+ constructor(name, args, opts) {
33
+ var _a, _b, _c, _d, _e, _f;
34
+ let resourceInputs = {};
35
+ opts = opts || {};
36
+ {
37
+ resourceInputs["accessKey"] = (_a = (args ? args.accessKey : undefined)) !== null && _a !== void 0 ? _a : utilities.getEnv("VOLCENGINE_ACCESS_KEY");
38
+ resourceInputs["assumeRole"] = pulumi.output(args ? args.assumeRole : undefined).apply(JSON.stringify);
39
+ resourceInputs["customerHeaders"] = (_b = (args ? args.customerHeaders : undefined)) !== null && _b !== void 0 ? _b : utilities.getEnv("VOLCENGINE_CUSTOMER_HEADERS");
40
+ resourceInputs["disableSsl"] = pulumi.output((_c = (args ? args.disableSsl : undefined)) !== null && _c !== void 0 ? _c : utilities.getEnvBoolean("VOLCENGINE_DISABLE_SSL")).apply(JSON.stringify);
41
+ resourceInputs["endpoints"] = pulumi.output(args ? args.endpoints : undefined).apply(JSON.stringify);
42
+ resourceInputs["proxyUrl"] = (_d = (args ? args.proxyUrl : undefined)) !== null && _d !== void 0 ? _d : utilities.getEnv("VOLCENGINE_PROXY_URL");
43
+ resourceInputs["region"] = (_e = (args ? args.region : undefined)) !== null && _e !== void 0 ? _e : utilities.getEnv("VOLCENGINE_REGION");
44
+ resourceInputs["secretKey"] = (_f = (args ? args.secretKey : undefined)) !== null && _f !== void 0 ? _f : utilities.getEnv("VOLCENGINE_SECRET_KEY");
45
+ }
46
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
47
+ super(Provider.__pulumiType, name, resourceInputs, opts);
48
+ }
49
+ /**
50
+ * This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
51
+ */
52
+ terraformConfig() {
53
+ return pulumi.runtime.call("pulumi:providers:volcenginecc/terraformConfig", {
54
+ "__self__": this,
55
+ }, this);
56
+ }
57
+ }
58
+ exports.Provider = Provider;
59
+ /** @internal */
60
+ Provider.__pulumiType = 'volcenginecc';
61
+ //# sourceMappingURL=provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,153 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Volcengine::StorageEBS::Volume
5
+ */
6
+ export declare function getVolume(args: GetVolumeArgs, opts?: pulumi.InvokeOptions): Promise<GetVolumeResult>;
7
+ /**
8
+ * A collection of arguments for invoking getVolume.
9
+ */
10
+ export interface GetVolumeArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getVolume.
18
+ */
19
+ export interface GetVolumeResult {
20
+ /**
21
+ * 自动快照策略ID。
22
+ */
23
+ readonly autoSnapshotPolicyId: string;
24
+ /**
25
+ * 自动快照策略名称。
26
+ */
27
+ readonly autoSnapshotPolicyName: string;
28
+ /**
29
+ * 基本性能。
30
+ */
31
+ readonly baselinePerformance: outputs.storageebs.GetVolumeBaselinePerformance;
32
+ /**
33
+ * 云盘创建时间。
34
+ */
35
+ readonly createdAt: string;
36
+ /**
37
+ * 释放实例时,该云盘是否随实例一起释放,取值说明如下:true:云盘随实例一起释放。false:云盘不随实例一起释放。
38
+ */
39
+ readonly deleteWithInstance: boolean;
40
+ /**
41
+ * 云盘的描述信息,默认为空,长度限制在1 ~ 255字符之间。
42
+ */
43
+ readonly description: string;
44
+ /**
45
+ * 设备名称
46
+ */
47
+ readonly deviceName: string;
48
+ /**
49
+ * 具体错误
50
+ */
51
+ readonly errorDetail: string;
52
+ /**
53
+ * 包年包月到期时间。
54
+ */
55
+ readonly expiredTime: string;
56
+ /**
57
+ * 额外性能。
58
+ */
59
+ readonly extraPerformance: outputs.storageebs.GetVolumeExtraPerformance;
60
+ /**
61
+ * Uniquely identifies the resource.
62
+ */
63
+ readonly id: string;
64
+ /**
65
+ * 云盘中的镜像ID。
66
+ */
67
+ readonly imageId: string;
68
+ /**
69
+ * 创建云盘的同时挂载的ECS实例ID。
70
+ */
71
+ readonly instanceId: string;
72
+ /**
73
+ * 云盘属性,data表示数据盘。默认值为data。说明: 仅支持创建数据盘。
74
+ */
75
+ readonly kind: string;
76
+ /**
77
+ * 云盘欠费回收时间。
78
+ */
79
+ readonly overdueReclaimTime: string;
80
+ /**
81
+ * 云盘欠费关停时间。
82
+ */
83
+ readonly overdueTime: string;
84
+ /**
85
+ * 付费类型,说明如下: Pre:预付费(包年包月) Post:后付费(按量计费)。
86
+ */
87
+ readonly payType: string;
88
+ /**
89
+ * 云盘所要加入的Project(项目)名称。
90
+ */
91
+ readonly projectName: string;
92
+ /**
93
+ * 续费方式 1:手动续费 2 :自动续费 3 :到期不续费。
94
+ */
95
+ readonly renewType: number;
96
+ /**
97
+ * Size,数据盘容量大小,单位为GiB。不同类型的数据盘容量范围如下:ESSD*PL0:10~65536 GiB;ESSD*FlexPL:10~65536 GiB;TSSD_TL0:40~65536 GiB
98
+ */
99
+ readonly size: number;
100
+ /**
101
+ * 快照计数
102
+ */
103
+ readonly snapshotCount: number;
104
+ /**
105
+ * 源快照。
106
+ */
107
+ readonly sourceSnapshotId: string;
108
+ /**
109
+ * 云盘状态
110
+ */
111
+ readonly status: string;
112
+ /**
113
+ * 总性能。
114
+ */
115
+ readonly totalPerformance: outputs.storageebs.GetVolumeTotalPerformance;
116
+ /**
117
+ * 交易状态 0:创建中 1:运行中 2:创建失败
118
+ */
119
+ readonly tradeStatus: number;
120
+ /**
121
+ * 云盘更新时间。
122
+ */
123
+ readonly updatedAt: string;
124
+ /**
125
+ * 云盘id。
126
+ */
127
+ readonly volumeId: string;
128
+ /**
129
+ * 云盘显示名称。命名规则如下:首字符仅支持中文、字母或下划线(*)。可包含中文、字母、数字、下划线(*)或中划线(-)。长度限制在1~128字符之间。
130
+ */
131
+ readonly volumeName: string;
132
+ /**
133
+ * 云盘类型,取值说明如下:ESSD*PL0:极速型SSD云盘,PL0规格。ESSD*FlexPL: 极速型SSD云盘,FlexPL规格。TSSD_TL0: 吞吐型SSD云盘。
134
+ */
135
+ readonly volumeType: string;
136
+ /**
137
+ * 可用区ID。
138
+ */
139
+ readonly zoneId: string;
140
+ }
141
+ /**
142
+ * Data Source schema for Volcengine::StorageEBS::Volume
143
+ */
144
+ export declare function getVolumeOutput(args: GetVolumeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVolumeResult>;
145
+ /**
146
+ * A collection of arguments for invoking getVolume.
147
+ */
148
+ export interface GetVolumeOutputArgs {
149
+ /**
150
+ * Uniquely identifies the resource.
151
+ */
152
+ id: pulumi.Input<string>;
153
+ }
@@ -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.getVolumeOutput = exports.getVolume = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::StorageEBS::Volume
10
+ */
11
+ function getVolume(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:storageebs/getVolume:getVolume", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getVolume = getVolume;
18
+ /**
19
+ * Data Source schema for Volcengine::StorageEBS::Volume
20
+ */
21
+ function getVolumeOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:storageebs/getVolume:getVolume", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getVolumeOutput = getVolumeOutput;
28
+ //# sourceMappingURL=getVolume.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getVolume.js","sourceRoot":"","sources":["../../storageebs/getVolume.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC;AAyID;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6CAA6C,EAAE;QAC9E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::StorageEBS::Volume
4
+ */
5
+ export declare function getVolumes(opts?: pulumi.InvokeOptions): Promise<GetVolumesResult>;
6
+ /**
7
+ * A collection of values returned by getVolumes.
8
+ */
9
+ export interface GetVolumesResult {
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::StorageEBS::Volume
21
+ */
22
+ export declare function getVolumesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVolumesResult>;
@@ -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.getVolumesOutput = exports.getVolumes = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::StorageEBS::Volume
10
+ */
11
+ function getVolumes(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:storageebs/getVolumes:getVolumes", {}, opts);
14
+ }
15
+ exports.getVolumes = getVolumes;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::StorageEBS::Volume
18
+ */
19
+ function getVolumesOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:storageebs/getVolumes:getVolumes", {}, opts);
22
+ }
23
+ exports.getVolumesOutput = getVolumesOutput;
24
+ //# sourceMappingURL=getVolumes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getVolumes.js","sourceRoot":"","sources":["../../storageebs/getVolumes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAA2B;IAClD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE,EAC7E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gCAIC;AAeD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAAiC;IAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+CAA+C,EAAE,EACnF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4CAIC"}
@@ -0,0 +1,9 @@
1
+ export { GetVolumeArgs, GetVolumeResult, GetVolumeOutputArgs } from "./getVolume";
2
+ export declare const getVolume: typeof import("./getVolume").getVolume;
3
+ export declare const getVolumeOutput: typeof import("./getVolume").getVolumeOutput;
4
+ export { GetVolumesResult } from "./getVolumes";
5
+ export declare const getVolumes: typeof import("./getVolumes").getVolumes;
6
+ export declare const getVolumesOutput: typeof import("./getVolumes").getVolumesOutput;
7
+ export { VolumeArgs, VolumeState } from "./volume";
8
+ export type Volume = import("./volume").Volume;
9
+ export declare const Volume: typeof import("./volume").Volume;
@@ -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.Volume = exports.getVolumesOutput = exports.getVolumes = exports.getVolumeOutput = exports.getVolume = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ exports.getVolume = null;
9
+ exports.getVolumeOutput = null;
10
+ utilities.lazyLoad(exports, ["getVolume", "getVolumeOutput"], () => require("./getVolume"));
11
+ exports.getVolumes = null;
12
+ exports.getVolumesOutput = null;
13
+ utilities.lazyLoad(exports, ["getVolumes", "getVolumesOutput"], () => require("./getVolumes"));
14
+ exports.Volume = null;
15
+ utilities.lazyLoad(exports, ["Volume"], () => require("./volume"));
16
+ const _module = {
17
+ version: utilities.getVersion(),
18
+ construct: (name, type, urn) => {
19
+ switch (type) {
20
+ case "volcenginecc:storageebs/volume:Volume":
21
+ return new exports.Volume(name, undefined, { urn });
22
+ default:
23
+ throw new Error(`unknown resource type ${type}`);
24
+ }
25
+ },
26
+ };
27
+ pulumi.runtime.registerResourceModule("volcenginecc", "storageebs/volume", _module);
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../storageebs/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,SAAS,GAA2C,IAAW,CAAC;AAChE,QAAA,eAAe,GAAiD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,EAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAG9E,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,QAAA,gBAAgB,GAAmD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,EAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAIjF,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAGnE,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,uCAAuC;gBACxC,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA"}