@cloudyskysoftware/pulumi-render 0.2.1 → 0.3.0

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 (265) hide show
  1. package/README.md +1 -5
  2. package/blueprints/getBlueprint.d.ts +19 -0
  3. package/blueprints/getBlueprint.js +19 -0
  4. package/blueprints/getBlueprint.js.map +1 -0
  5. package/blueprints/index.d.ts +10 -0
  6. package/blueprints/index.js +32 -0
  7. package/blueprints/index.js.map +1 -0
  8. package/blueprints/listBlueprintSyncs.d.ts +19 -0
  9. package/blueprints/listBlueprintSyncs.js +19 -0
  10. package/blueprints/listBlueprintSyncs.js.map +1 -0
  11. package/blueprints/listBlueprints.d.ts +9 -0
  12. package/blueprints/listBlueprints.js +18 -0
  13. package/blueprints/listBlueprints.js.map +1 -0
  14. package/cronjobs/index.d.ts +4 -0
  15. package/cronjobs/index.js +38 -0
  16. package/cronjobs/index.js.map +1 -0
  17. package/cronjobs/runCronJob.d.ts +46 -0
  18. package/cronjobs/runCronJob.js +62 -0
  19. package/cronjobs/runCronJob.js.map +1 -0
  20. package/disks/disk.d.ts +40 -0
  21. package/disks/disk.js +72 -0
  22. package/disks/disk.js.map +1 -0
  23. package/disks/getDisk.d.ts +19 -0
  24. package/disks/getDisk.js +19 -0
  25. package/disks/getDisk.js.map +1 -0
  26. package/disks/index.d.ts +12 -0
  27. package/disks/index.js +32 -0
  28. package/disks/index.js.map +1 -0
  29. package/disks/listDisks.d.ts +9 -0
  30. package/disks/listDisks.js +18 -0
  31. package/disks/listDisks.js.map +1 -0
  32. package/disks/restoreSnapshot.d.ts +50 -0
  33. package/disks/restoreSnapshot.js +71 -0
  34. package/disks/restoreSnapshot.js.map +1 -0
  35. package/envgroups/envGroup.d.ts +50 -0
  36. package/envgroups/envGroup.js +75 -0
  37. package/envgroups/envGroup.js.map +1 -0
  38. package/envgroups/getEnvGroup.d.ts +19 -0
  39. package/envgroups/getEnvGroup.js +19 -0
  40. package/envgroups/getEnvGroup.js.map +1 -0
  41. package/envgroups/getEnvGroupEnvVar.d.ts +27 -0
  42. package/envgroups/getEnvGroupEnvVar.js +20 -0
  43. package/envgroups/getEnvGroupEnvVar.js.map +1 -0
  44. package/envgroups/getEnvGroupSecretFile.d.ts +27 -0
  45. package/envgroups/getEnvGroupSecretFile.js +20 -0
  46. package/envgroups/getEnvGroupSecretFile.js.map +1 -0
  47. package/envgroups/index.d.ts +19 -0
  48. package/envgroups/index.js +54 -0
  49. package/envgroups/index.js.map +1 -0
  50. package/envgroups/linkServiceToEnvGroup.d.ts +50 -0
  51. package/envgroups/linkServiceToEnvGroup.js +69 -0
  52. package/envgroups/linkServiceToEnvGroup.js.map +1 -0
  53. package/envgroups/listEnvGroups.d.ts +9 -0
  54. package/envgroups/listEnvGroups.js +18 -0
  55. package/envgroups/listEnvGroups.js.map +1 -0
  56. package/environments/environment.d.ts +47 -0
  57. package/environments/environment.js +68 -0
  58. package/environments/environment.js.map +1 -0
  59. package/environments/getEnvironment.d.ts +13 -0
  60. package/environments/getEnvironment.js +19 -0
  61. package/environments/getEnvironment.js.map +1 -0
  62. package/environments/index.d.ts +13 -0
  63. package/environments/index.js +48 -0
  64. package/environments/index.js.map +1 -0
  65. package/environments/listEnvironments.d.ts +9 -0
  66. package/environments/listEnvironments.js +18 -0
  67. package/environments/listEnvironments.js.map +1 -0
  68. package/environments/resourcesToEnvironment.d.ts +44 -0
  69. package/environments/resourcesToEnvironment.js +71 -0
  70. package/environments/resourcesToEnvironment.js.map +1 -0
  71. package/index.d.ts +11 -1
  72. package/index.js +21 -1
  73. package/index.js.map +1 -1
  74. package/metrics/index.d.ts +6 -0
  75. package/metrics/index.js +13 -0
  76. package/metrics/index.js.map +1 -0
  77. package/metrics/listActiveConnections.d.ts +9 -0
  78. package/metrics/listActiveConnections.js +18 -0
  79. package/metrics/listActiveConnections.js.map +1 -0
  80. package/metrics/listReplicationLag.d.ts +9 -0
  81. package/metrics/listReplicationLag.js +18 -0
  82. package/metrics/listReplicationLag.js.map +1 -0
  83. package/notificationsettings/getOwnerNotificationSetting.d.ts +19 -0
  84. package/notificationsettings/getOwnerNotificationSetting.js +19 -0
  85. package/notificationsettings/getOwnerNotificationSetting.js.map +1 -0
  86. package/notificationsettings/getServiceNotificationOverride.d.ts +19 -0
  87. package/notificationsettings/getServiceNotificationOverride.js +19 -0
  88. package/notificationsettings/getServiceNotificationOverride.js.map +1 -0
  89. package/notificationsettings/index.d.ts +10 -0
  90. package/notificationsettings/index.js +32 -0
  91. package/notificationsettings/index.js.map +1 -0
  92. package/notificationsettings/listNotificationOverrides.d.ts +9 -0
  93. package/notificationsettings/listNotificationOverrides.js +18 -0
  94. package/notificationsettings/listNotificationOverrides.js.map +1 -0
  95. package/package.json +1 -1
  96. package/postgres/failoverPostgres.d.ts +31 -0
  97. package/postgres/failoverPostgres.js +52 -0
  98. package/postgres/failoverPostgres.js.map +1 -0
  99. package/postgres/getPostgres.d.ts +13 -0
  100. package/postgres/getPostgres.js +19 -0
  101. package/postgres/getPostgres.js.map +1 -0
  102. package/postgres/getPostgresConnectionInfo.d.ts +13 -0
  103. package/postgres/getPostgresConnectionInfo.js +19 -0
  104. package/postgres/getPostgresConnectionInfo.js.map +1 -0
  105. package/postgres/getPostgresRecoveryInfo.d.ts +13 -0
  106. package/postgres/getPostgresRecoveryInfo.js +19 -0
  107. package/postgres/getPostgresRecoveryInfo.js.map +1 -0
  108. package/postgres/index.d.ts +37 -0
  109. package/postgres/index.js +77 -0
  110. package/postgres/index.js.map +1 -0
  111. package/postgres/listPostgres.d.ts +9 -0
  112. package/postgres/listPostgres.js +18 -0
  113. package/postgres/listPostgres.js.map +1 -0
  114. package/postgres/listPostgresBackup.d.ts +13 -0
  115. package/postgres/listPostgresBackup.js +19 -0
  116. package/postgres/listPostgresBackup.js.map +1 -0
  117. package/postgres/postgres.d.ts +101 -0
  118. package/postgres/postgres.js +114 -0
  119. package/postgres/postgres.js.map +1 -0
  120. package/postgres/postgresBackup.d.ts +31 -0
  121. package/postgres/postgresBackup.js +52 -0
  122. package/postgres/postgresBackup.js.map +1 -0
  123. package/postgres/recoverPostgres.d.ts +99 -0
  124. package/postgres/recoverPostgres.js +105 -0
  125. package/postgres/recoverPostgres.js.map +1 -0
  126. package/postgres/restartPostgres.d.ts +31 -0
  127. package/postgres/restartPostgres.js +52 -0
  128. package/postgres/restartPostgres.js.map +1 -0
  129. package/postgres/resumePostgres.d.ts +31 -0
  130. package/postgres/resumePostgres.js +52 -0
  131. package/postgres/resumePostgres.js.map +1 -0
  132. package/postgres/suspendPostgres.d.ts +31 -0
  133. package/postgres/suspendPostgres.js +52 -0
  134. package/postgres/suspendPostgres.js.map +1 -0
  135. package/projects/getProject.d.ts +13 -0
  136. package/projects/getProject.js +19 -0
  137. package/projects/getProject.js.map +1 -0
  138. package/projects/index.d.ts +10 -0
  139. package/projects/index.js +44 -0
  140. package/projects/index.js.map +1 -0
  141. package/projects/listProjects.d.ts +9 -0
  142. package/projects/listProjects.js +18 -0
  143. package/projects/listProjects.js.map +1 -0
  144. package/projects/project.d.ts +63 -0
  145. package/projects/project.js +71 -0
  146. package/projects/project.js.map +1 -0
  147. package/redis/getRedi.d.ts +13 -0
  148. package/redis/getRedi.js +19 -0
  149. package/redis/getRedi.js.map +1 -0
  150. package/redis/getRedisConnectionInfo.d.ts +13 -0
  151. package/redis/getRedisConnectionInfo.js +19 -0
  152. package/redis/getRedisConnectionInfo.js.map +1 -0
  153. package/redis/index.d.ts +13 -0
  154. package/redis/index.js +47 -0
  155. package/redis/index.js.map +1 -0
  156. package/redis/listRedis.d.ts +9 -0
  157. package/redis/listRedis.js +18 -0
  158. package/redis/listRedis.js.map +1 -0
  159. package/redis/redi.d.ts +99 -0
  160. package/redis/redi.js +88 -0
  161. package/redis/redi.js.map +1 -0
  162. package/registrycredentials/registryCredential.d.ts +3 -0
  163. package/services/autoscaleService.d.ts +2 -2
  164. package/services/autoscaleService.js +1 -1
  165. package/services/autoscaleService.js.map +1 -1
  166. package/services/backgroundWorker.d.ts +10 -7
  167. package/services/backgroundWorker.js +6 -0
  168. package/services/backgroundWorker.js.map +1 -1
  169. package/services/cancelJob.d.ts +2 -1
  170. package/services/cancelJob.js.map +1 -1
  171. package/services/cronJob.d.ts +10 -7
  172. package/services/cronJob.js +8 -1
  173. package/services/cronJob.js.map +1 -1
  174. package/services/deploy.d.ts +22 -6
  175. package/services/deploy.js.map +1 -1
  176. package/services/envVarsForService.d.ts +2 -2
  177. package/services/getEnvVar.d.ts +27 -0
  178. package/services/getEnvVar.js +20 -0
  179. package/services/getEnvVar.js.map +1 -0
  180. package/services/getSecretFile.d.ts +27 -0
  181. package/services/getSecretFile.js +20 -0
  182. package/services/getSecretFile.js.map +1 -0
  183. package/services/header.d.ts +60 -0
  184. package/services/header.js +66 -0
  185. package/services/header.js.map +1 -0
  186. package/services/index.d.ts +27 -9
  187. package/services/index.js +33 -11
  188. package/services/index.js.map +1 -1
  189. package/services/job.d.ts +2 -1
  190. package/services/job.js.map +1 -1
  191. package/services/listCustomDomains.d.ts +1 -1
  192. package/services/listHeaders.d.ts +19 -0
  193. package/services/listHeaders.js +19 -0
  194. package/services/listHeaders.js.map +1 -0
  195. package/services/listRoutes.d.ts +19 -0
  196. package/services/listRoutes.js +19 -0
  197. package/services/listRoutes.js.map +1 -0
  198. package/services/listSecretFilesForService.d.ts +19 -0
  199. package/services/listSecretFilesForService.js +19 -0
  200. package/services/listSecretFilesForService.js.map +1 -0
  201. package/services/privateService.d.ts +10 -7
  202. package/services/privateService.js +6 -0
  203. package/services/privateService.js.map +1 -1
  204. package/services/{restartServer.d.ts → restartService.d.ts} +9 -9
  205. package/services/{restartServer.js → restartService.js} +11 -11
  206. package/services/restartService.js.map +1 -0
  207. package/services/rollbackDeploy.d.ts +2 -2
  208. package/services/route.d.ts +49 -0
  209. package/services/route.js +69 -0
  210. package/services/route.js.map +1 -0
  211. package/services/secretFilesForService.d.ts +34 -0
  212. package/services/secretFilesForService.js +52 -0
  213. package/services/secretFilesForService.js.map +1 -0
  214. package/services/staticSite.d.ts +10 -7
  215. package/services/staticSite.js +6 -0
  216. package/services/staticSite.js.map +1 -1
  217. package/services/webService.d.ts +10 -7
  218. package/services/webService.js +6 -0
  219. package/services/webService.js.map +1 -1
  220. package/types/enums/blueprints/index.d.ts +38 -0
  221. package/types/enums/blueprints/index.js +37 -0
  222. package/types/enums/blueprints/index.js.map +1 -0
  223. package/types/enums/cronjobs/index.d.ts +7 -0
  224. package/types/enums/cronjobs/index.js +12 -0
  225. package/types/enums/cronjobs/index.js.map +1 -0
  226. package/types/enums/envgroups/index.d.ts +8 -0
  227. package/types/enums/envgroups/index.js +13 -0
  228. package/types/enums/envgroups/index.js.map +1 -0
  229. package/types/enums/environments/index.d.ts +16 -0
  230. package/types/enums/environments/index.js +14 -0
  231. package/types/enums/environments/index.js.map +1 -0
  232. package/types/enums/index.d.ts +9 -1
  233. package/types/enums/index.js +17 -1
  234. package/types/enums/index.js.map +1 -1
  235. package/types/enums/notificationsettings/index.d.ts +32 -0
  236. package/types/enums/notificationsettings/index.js +33 -0
  237. package/types/enums/notificationsettings/index.js.map +1 -0
  238. package/types/enums/postgres/index.d.ts +286 -0
  239. package/types/enums/postgres/index.js +246 -0
  240. package/types/enums/postgres/index.js.map +1 -0
  241. package/types/enums/projects/index.d.ts +13 -0
  242. package/types/enums/projects/index.js +14 -0
  243. package/types/enums/projects/index.js.map +1 -0
  244. package/types/enums/redis/index.d.ts +139 -0
  245. package/types/enums/redis/index.js +120 -0
  246. package/types/enums/redis/index.js.map +1 -0
  247. package/types/enums/registrycredentials/index.d.ts +5 -0
  248. package/types/enums/registrycredentials/index.js +2 -0
  249. package/types/enums/registrycredentials/index.js.map +1 -1
  250. package/types/enums/services/index.d.ts +175 -12
  251. package/types/enums/services/index.js +94 -1
  252. package/types/enums/services/index.js.map +1 -1
  253. package/types/input.d.ts +222 -78
  254. package/types/input.js +54 -15
  255. package/types/input.js.map +1 -1
  256. package/types/output.d.ts +885 -87
  257. package/types/output.js +163 -38
  258. package/types/output.js.map +1 -1
  259. package/services/listRetrieveHeaders.d.ts +0 -19
  260. package/services/listRetrieveHeaders.js +0 -19
  261. package/services/listRetrieveHeaders.js.map +0 -1
  262. package/services/listRetrieveRoutes.d.ts +0 -19
  263. package/services/listRetrieveRoutes.js +0 -19
  264. package/services/listRetrieveRoutes.js.map +0 -1
  265. package/services/restartServer.js.map +0 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Pulumi Native Provider for Render (Preview)
1
+ # Pulumi Native Provider for Render
2
2
 
3
3
  [Render](https://render.com/) is a unified cloud to build and run all your apps and websites with free TLS certificates, a global CDN, DDoS protection, private networks, and auto deploys from Git.
4
4
 
@@ -16,10 +16,6 @@
16
16
  You'll need an API key. Follow Render's [docs](https://render.com/docs/api#getting-started) for creating one.
17
17
  Then set the API key as a secret with `pulumi config set --secret render:apiKey`.
18
18
 
19
- ## Preview Status
20
-
21
- See [`cloudy-sky-software/pulumi-render#100`](https://github.com/cloudy-sky-software/pulumi-render/issues/100).
22
-
23
19
  ## Releasing A New Version
24
20
 
25
21
  :info: Switch to the `main` branch first and get the latest `git pull origin main && git fetch`. Check what the last release tag was.
@@ -0,0 +1,19 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ export declare function getBlueprint(args: GetBlueprintArgs, opts?: pulumi.InvokeOptions): Promise<GetBlueprintResult>;
4
+ export interface GetBlueprintArgs {
5
+ /**
6
+ * The ID of the blueprint
7
+ */
8
+ blueprintId: string;
9
+ }
10
+ export interface GetBlueprintResult {
11
+ readonly items: outputs.blueprints.GetBlueprintProperties;
12
+ }
13
+ export declare function getBlueprintOutput(args: GetBlueprintOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBlueprintResult>;
14
+ export interface GetBlueprintOutputArgs {
15
+ /**
16
+ * The ID of the blueprint
17
+ */
18
+ blueprintId: pulumi.Input<string>;
19
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumigen. ***
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.getBlueprintOutput = exports.getBlueprint = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ function getBlueprint(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("render:blueprints:getBlueprint", {
11
+ "blueprintId": args.blueprintId,
12
+ }, opts);
13
+ }
14
+ exports.getBlueprint = getBlueprint;
15
+ function getBlueprintOutput(args, opts) {
16
+ return pulumi.output(args).apply((a) => getBlueprint(a, opts));
17
+ }
18
+ exports.getBlueprintOutput = getBlueprintOutput;
19
+ //# sourceMappingURL=getBlueprint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBlueprint.js","sourceRoot":"","sources":["../../blueprints/getBlueprint.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oCAMC;AAYD,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
@@ -0,0 +1,10 @@
1
+ export { GetBlueprintArgs, GetBlueprintResult, GetBlueprintOutputArgs } from "./getBlueprint";
2
+ export declare const getBlueprint: typeof import("./getBlueprint").getBlueprint;
3
+ export declare const getBlueprintOutput: typeof import("./getBlueprint").getBlueprintOutput;
4
+ export { ListBlueprintSyncsArgs, ListBlueprintSyncsResult, ListBlueprintSyncsOutputArgs } from "./listBlueprintSyncs";
5
+ export declare const listBlueprintSyncs: typeof import("./listBlueprintSyncs").listBlueprintSyncs;
6
+ export declare const listBlueprintSyncsOutput: typeof import("./listBlueprintSyncs").listBlueprintSyncsOutput;
7
+ export { ListBlueprintsArgs, ListBlueprintsResult } from "./listBlueprints";
8
+ export declare const listBlueprints: typeof import("./listBlueprints").listBlueprints;
9
+ export declare const listBlueprintsOutput: typeof import("./listBlueprints").listBlueprintsOutput;
10
+ export * from "../types/enums/blueprints";
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumigen. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.listBlueprintsOutput = exports.listBlueprints = exports.listBlueprintSyncsOutput = exports.listBlueprintSyncs = exports.getBlueprintOutput = exports.getBlueprint = void 0;
20
+ const utilities = require("../utilities");
21
+ exports.getBlueprint = null;
22
+ exports.getBlueprintOutput = null;
23
+ utilities.lazyLoad(exports, ["getBlueprint", "getBlueprintOutput"], () => require("./getBlueprint"));
24
+ exports.listBlueprintSyncs = null;
25
+ exports.listBlueprintSyncsOutput = null;
26
+ utilities.lazyLoad(exports, ["listBlueprintSyncs", "listBlueprintSyncsOutput"], () => require("./listBlueprintSyncs"));
27
+ exports.listBlueprints = null;
28
+ exports.listBlueprintsOutput = null;
29
+ utilities.lazyLoad(exports, ["listBlueprints", "listBlueprintsOutput"], () => require("./listBlueprints"));
30
+ // Export enums:
31
+ __exportStar(require("../types/enums/blueprints"), exports);
32
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../blueprints/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,0CAA0C;AAI7B,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;AAGvF,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AAC3F,QAAA,wBAAwB,GAAmE,IAAW,CAAC;AACpH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,EAAC,0BAA0B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAGzG,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC/E,QAAA,oBAAoB,GAA2D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,EAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAG1G,gBAAgB;AAChB,4DAA0C"}
@@ -0,0 +1,19 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ export declare function listBlueprintSyncs(args: ListBlueprintSyncsArgs, opts?: pulumi.InvokeOptions): Promise<ListBlueprintSyncsResult>;
4
+ export interface ListBlueprintSyncsArgs {
5
+ /**
6
+ * The ID of the blueprint
7
+ */
8
+ blueprintId: string;
9
+ }
10
+ export interface ListBlueprintSyncsResult {
11
+ readonly items: outputs.blueprints.SyncWithCursor[];
12
+ }
13
+ export declare function listBlueprintSyncsOutput(args: ListBlueprintSyncsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ListBlueprintSyncsResult>;
14
+ export interface ListBlueprintSyncsOutputArgs {
15
+ /**
16
+ * The ID of the blueprint
17
+ */
18
+ blueprintId: pulumi.Input<string>;
19
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumigen. ***
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.listBlueprintSyncsOutput = exports.listBlueprintSyncs = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ function listBlueprintSyncs(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("render:blueprints:listBlueprintSyncs", {
11
+ "blueprintId": args.blueprintId,
12
+ }, opts);
13
+ }
14
+ exports.listBlueprintSyncs = listBlueprintSyncs;
15
+ function listBlueprintSyncsOutput(args, opts) {
16
+ return pulumi.output(args).apply((a) => listBlueprintSyncs(a, opts));
17
+ }
18
+ exports.listBlueprintSyncsOutput = listBlueprintSyncsOutput;
19
+ //# sourceMappingURL=listBlueprintSyncs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listBlueprintSyncs.js","sourceRoot":"","sources":["../../blueprints/listBlueprintSyncs.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC;AAYD,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
@@ -0,0 +1,9 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ export declare function listBlueprints(args?: ListBlueprintsArgs, opts?: pulumi.InvokeOptions): Promise<ListBlueprintsResult>;
4
+ export interface ListBlueprintsArgs {
5
+ }
6
+ export interface ListBlueprintsResult {
7
+ readonly items: outputs.blueprints.BlueprintWithCursor[];
8
+ }
9
+ export declare function listBlueprintsOutput(opts?: pulumi.InvokeOptions): pulumi.Output<ListBlueprintsResult>;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumigen. ***
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.listBlueprintsOutput = exports.listBlueprints = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ function listBlueprints(args, opts) {
9
+ args = args || {};
10
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
11
+ return pulumi.runtime.invoke("render:blueprints:listBlueprints", {}, opts);
12
+ }
13
+ exports.listBlueprints = listBlueprints;
14
+ function listBlueprintsOutput(opts) {
15
+ return pulumi.output(listBlueprints(opts));
16
+ }
17
+ exports.listBlueprintsOutput = listBlueprintsOutput;
18
+ //# sourceMappingURL=listBlueprints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listBlueprints.js","sourceRoot":"","sources":["../../blueprints/listBlueprints.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE,EAChE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AAQD,SAAgB,oBAAoB,CAAC,IAA2B;IAC5D,OAAO,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAA;AAC9C,CAAC;AAFD,oDAEC"}
@@ -0,0 +1,4 @@
1
+ export { RunCronJobArgs } from "./runCronJob";
2
+ export type RunCronJob = import("./runCronJob").RunCronJob;
3
+ export declare const RunCronJob: typeof import("./runCronJob").RunCronJob;
4
+ export * from "../types/enums/cronjobs";
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumigen. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.RunCronJob = void 0;
20
+ const pulumi = require("@pulumi/pulumi");
21
+ const utilities = require("../utilities");
22
+ exports.RunCronJob = null;
23
+ utilities.lazyLoad(exports, ["RunCronJob"], () => require("./runCronJob"));
24
+ // Export enums:
25
+ __exportStar(require("../types/enums/cronjobs"), exports);
26
+ const _module = {
27
+ version: utilities.getVersion(),
28
+ construct: (name, type, urn) => {
29
+ switch (type) {
30
+ case "render:cron-jobs:RunCronJob":
31
+ return new exports.RunCronJob(name, undefined, { urn });
32
+ default:
33
+ throw new Error(`unknown resource type ${type}`);
34
+ }
35
+ },
36
+ };
37
+ pulumi.runtime.registerResourceModule("render", "cron-jobs", _module);
38
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../cronjobs/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAG3E,gBAAgB;AAChB,0DAAwC;AAExC,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,6BAA6B;gBAC9B,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,46 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as enums from "../types/enums";
3
+ export declare class RunCronJob extends pulumi.CustomResource {
4
+ /**
5
+ * Get an existing RunCronJob resource's state with the given name, ID, and optional extra
6
+ * properties used to qualify the lookup.
7
+ *
8
+ * @param name The _unique_ name of the resulting resource.
9
+ * @param id The _unique_ provider ID of the resource to lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): RunCronJob;
13
+ /**
14
+ * Returns true if the given object is an instance of RunCronJob. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is RunCronJob;
18
+ /**
19
+ * user who cancelled the cron job run
20
+ */
21
+ readonly canceledBy: pulumi.Output<string | undefined>;
22
+ readonly finishedAt: pulumi.Output<string | undefined>;
23
+ readonly startedAt: pulumi.Output<string | undefined>;
24
+ readonly status: pulumi.Output<enums.cronjobs.Status>;
25
+ /**
26
+ * user who triggered the cron job run
27
+ */
28
+ readonly triggeredBy: pulumi.Output<string | undefined>;
29
+ /**
30
+ * Create a RunCronJob resource with the given unique name, arguments, and options.
31
+ *
32
+ * @param name The _unique_ name of the resource.
33
+ * @param args The arguments to use to populate this resource's properties.
34
+ * @param opts A bag of options that control this resource's behavior.
35
+ */
36
+ constructor(name: string, args?: RunCronJobArgs, opts?: pulumi.CustomResourceOptions);
37
+ }
38
+ /**
39
+ * The set of arguments for constructing a RunCronJob resource.
40
+ */
41
+ export interface RunCronJobArgs {
42
+ /**
43
+ * The ID of the cron job
44
+ */
45
+ cronJobId?: pulumi.Input<string>;
46
+ }
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumigen. ***
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.RunCronJob = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ class RunCronJob extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing RunCronJob resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name, id, opts) {
18
+ return new RunCronJob(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
19
+ }
20
+ /**
21
+ * Returns true if the given object is an instance of RunCronJob. This is designed to work even
22
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
23
+ */
24
+ static isInstance(obj) {
25
+ if (obj === undefined || obj === null) {
26
+ return false;
27
+ }
28
+ return obj['__pulumiType'] === RunCronJob.__pulumiType;
29
+ }
30
+ /**
31
+ * Create a RunCronJob resource with the given unique name, arguments, and options.
32
+ *
33
+ * @param name The _unique_ name of the resource.
34
+ * @param args The arguments to use to populate this resource's properties.
35
+ * @param opts A bag of options that control this resource's behavior.
36
+ */
37
+ constructor(name, args, opts) {
38
+ let resourceInputs = {};
39
+ opts = opts || {};
40
+ if (!opts.id) {
41
+ resourceInputs["cronJobId"] = args ? args.cronJobId : undefined;
42
+ resourceInputs["canceledBy"] = undefined /*out*/;
43
+ resourceInputs["finishedAt"] = undefined /*out*/;
44
+ resourceInputs["startedAt"] = undefined /*out*/;
45
+ resourceInputs["status"] = undefined /*out*/;
46
+ resourceInputs["triggeredBy"] = undefined /*out*/;
47
+ }
48
+ else {
49
+ resourceInputs["canceledBy"] = undefined /*out*/;
50
+ resourceInputs["finishedAt"] = undefined /*out*/;
51
+ resourceInputs["startedAt"] = undefined /*out*/;
52
+ resourceInputs["status"] = undefined /*out*/;
53
+ resourceInputs["triggeredBy"] = undefined /*out*/;
54
+ }
55
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
56
+ super(RunCronJob.__pulumiType, name, resourceInputs, opts);
57
+ }
58
+ }
59
+ exports.RunCronJob = RunCronJob;
60
+ /** @internal */
61
+ RunCronJob.__pulumiType = 'render:cron-jobs:RunCronJob';
62
+ //# sourceMappingURL=runCronJob.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runCronJob.js","sourceRoot":"","sources":["../../cronjobs/runCronJob.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,UAAU,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAcD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAqB,EAAE,IAAmC;QAChF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;aAAM;YACH,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAjEL,gCAkEC;AArDG,gBAAgB;AACO,uBAAY,GAAG,6BAA6B,CAAC"}
@@ -0,0 +1,40 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class Disk extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing Disk resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param opts Optional settings to control the behavior of the CustomResource.
10
+ */
11
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Disk;
12
+ /**
13
+ * Returns true if the given object is an instance of Disk. This is designed to work even
14
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
15
+ */
16
+ static isInstance(obj: any): obj is Disk;
17
+ readonly createdAt: pulumi.Output<string>;
18
+ readonly mountPath: pulumi.Output<string>;
19
+ readonly name: pulumi.Output<string>;
20
+ readonly serviceId: pulumi.Output<string>;
21
+ readonly sizeGB: pulumi.Output<number>;
22
+ readonly updatedAt: pulumi.Output<string>;
23
+ /**
24
+ * Create a Disk resource with the given unique name, arguments, and options.
25
+ *
26
+ * @param name The _unique_ name of the resource.
27
+ * @param args The arguments to use to populate this resource's properties.
28
+ * @param opts A bag of options that control this resource's behavior.
29
+ */
30
+ constructor(name: string, args: DiskArgs, opts?: pulumi.CustomResourceOptions);
31
+ }
32
+ /**
33
+ * The set of arguments for constructing a Disk resource.
34
+ */
35
+ export interface DiskArgs {
36
+ mountPath: pulumi.Input<string>;
37
+ name?: pulumi.Input<string>;
38
+ serviceId: pulumi.Input<string>;
39
+ sizeGB: pulumi.Input<number>;
40
+ }
package/disks/disk.js ADDED
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumigen. ***
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.Disk = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ class Disk extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing Disk resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name, id, opts) {
18
+ return new Disk(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
19
+ }
20
+ /**
21
+ * Returns true if the given object is an instance of Disk. This is designed to work even
22
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
23
+ */
24
+ static isInstance(obj) {
25
+ if (obj === undefined || obj === null) {
26
+ return false;
27
+ }
28
+ return obj['__pulumiType'] === Disk.__pulumiType;
29
+ }
30
+ /**
31
+ * Create a Disk resource with the given unique name, arguments, and options.
32
+ *
33
+ * @param name The _unique_ name of the resource.
34
+ * @param args The arguments to use to populate this resource's properties.
35
+ * @param opts A bag of options that control this resource's behavior.
36
+ */
37
+ constructor(name, args, opts) {
38
+ let resourceInputs = {};
39
+ opts = opts || {};
40
+ if (!opts.id) {
41
+ if ((!args || args.mountPath === undefined) && !opts.urn) {
42
+ throw new Error("Missing required property 'mountPath'");
43
+ }
44
+ if ((!args || args.serviceId === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'serviceId'");
46
+ }
47
+ if ((!args || args.sizeGB === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'sizeGB'");
49
+ }
50
+ resourceInputs["mountPath"] = args ? args.mountPath : undefined;
51
+ resourceInputs["name"] = args ? args.name : undefined;
52
+ resourceInputs["serviceId"] = args ? args.serviceId : undefined;
53
+ resourceInputs["sizeGB"] = args ? args.sizeGB : undefined;
54
+ resourceInputs["createdAt"] = undefined /*out*/;
55
+ resourceInputs["updatedAt"] = undefined /*out*/;
56
+ }
57
+ else {
58
+ resourceInputs["createdAt"] = undefined /*out*/;
59
+ resourceInputs["mountPath"] = undefined /*out*/;
60
+ resourceInputs["name"] = undefined /*out*/;
61
+ resourceInputs["serviceId"] = undefined /*out*/;
62
+ resourceInputs["sizeGB"] = undefined /*out*/;
63
+ resourceInputs["updatedAt"] = undefined /*out*/;
64
+ }
65
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
66
+ super(Disk.__pulumiType, name, resourceInputs, opts);
67
+ }
68
+ }
69
+ exports.Disk = Disk;
70
+ /** @internal */
71
+ Disk.__pulumiType = 'render:disks:Disk';
72
+ //# sourceMappingURL=disk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"disk.js","sourceRoot":"","sources":["../../disks/disk.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,19 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ export declare function getDisk(args: GetDiskArgs, opts?: pulumi.InvokeOptions): Promise<GetDiskResult>;
4
+ export interface GetDiskArgs {
5
+ /**
6
+ * The ID of the disk
7
+ */
8
+ diskId: string;
9
+ }
10
+ export interface GetDiskResult {
11
+ readonly items: outputs.disks.DiskWithCursorpropertiesdisk;
12
+ }
13
+ export declare function getDiskOutput(args: GetDiskOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDiskResult>;
14
+ export interface GetDiskOutputArgs {
15
+ /**
16
+ * The ID of the disk
17
+ */
18
+ diskId: pulumi.Input<string>;
19
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumigen. ***
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.getDiskOutput = exports.getDisk = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ function getDisk(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("render:disks:getDisk", {
11
+ "diskId": args.diskId,
12
+ }, opts);
13
+ }
14
+ exports.getDisk = getDisk;
15
+ function getDiskOutput(args, opts) {
16
+ return pulumi.output(args).apply((a) => getDisk(a, opts));
17
+ }
18
+ exports.getDiskOutput = getDiskOutput;
19
+ //# sourceMappingURL=getDisk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDisk.js","sourceRoot":"","sources":["../../disks/getDisk.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sBAAsB,EAAE;QACjD,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0BAMC;AAYD,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
@@ -0,0 +1,12 @@
1
+ export { DiskArgs } from "./disk";
2
+ export type Disk = import("./disk").Disk;
3
+ export declare const Disk: typeof import("./disk").Disk;
4
+ export { GetDiskArgs, GetDiskResult, GetDiskOutputArgs } from "./getDisk";
5
+ export declare const getDisk: typeof import("./getDisk").getDisk;
6
+ export declare const getDiskOutput: typeof import("./getDisk").getDiskOutput;
7
+ export { ListDisksArgs, ListDisksResult } from "./listDisks";
8
+ export declare const listDisks: typeof import("./listDisks").listDisks;
9
+ export declare const listDisksOutput: typeof import("./listDisks").listDisksOutput;
10
+ export { RestoreSnapshotArgs } from "./restoreSnapshot";
11
+ export type RestoreSnapshot = import("./restoreSnapshot").RestoreSnapshot;
12
+ export declare const RestoreSnapshot: typeof import("./restoreSnapshot").RestoreSnapshot;
package/disks/index.js ADDED
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumigen. ***
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.RestoreSnapshot = exports.listDisksOutput = exports.listDisks = exports.getDiskOutput = exports.getDisk = exports.Disk = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ exports.Disk = null;
9
+ utilities.lazyLoad(exports, ["Disk"], () => require("./disk"));
10
+ exports.getDisk = null;
11
+ exports.getDiskOutput = null;
12
+ utilities.lazyLoad(exports, ["getDisk", "getDiskOutput"], () => require("./getDisk"));
13
+ exports.listDisks = null;
14
+ exports.listDisksOutput = null;
15
+ utilities.lazyLoad(exports, ["listDisks", "listDisksOutput"], () => require("./listDisks"));
16
+ exports.RestoreSnapshot = null;
17
+ utilities.lazyLoad(exports, ["RestoreSnapshot"], () => require("./restoreSnapshot"));
18
+ const _module = {
19
+ version: utilities.getVersion(),
20
+ construct: (name, type, urn) => {
21
+ switch (type) {
22
+ case "render:disks:Disk":
23
+ return new exports.Disk(name, undefined, { urn });
24
+ case "render:disks:RestoreSnapshot":
25
+ return new exports.RestoreSnapshot(name, undefined, { urn });
26
+ default:
27
+ throw new Error(`unknown resource type ${type}`);
28
+ }
29
+ },
30
+ };
31
+ pulumi.runtime.registerResourceModule("render", "disks", _module);
32
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../disks/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,IAAI,GAAiC,IAAW,CAAC;AAC9D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;AAGlD,QAAA,OAAO,GAAuC,IAAW,CAAC;AAC1D,QAAA,aAAa,GAA6C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,EAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGxE,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;AAI9E,QAAA,eAAe,GAAuD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAGrF,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,mBAAmB;gBACpB,OAAO,IAAI,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD,KAAK,8BAA8B;gBAC/B,OAAO,IAAI,uBAAe,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC7D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,9 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ export declare function listDisks(args?: ListDisksArgs, opts?: pulumi.InvokeOptions): Promise<ListDisksResult>;
4
+ export interface ListDisksArgs {
5
+ }
6
+ export interface ListDisksResult {
7
+ readonly items: outputs.disks.DiskWithCursor[];
8
+ }
9
+ export declare function listDisksOutput(opts?: pulumi.InvokeOptions): pulumi.Output<ListDisksResult>;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumigen. ***
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.listDisksOutput = exports.listDisks = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ function listDisks(args, opts) {
9
+ args = args || {};
10
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
11
+ return pulumi.runtime.invoke("render:disks:listDisks", {}, opts);
12
+ }
13
+ exports.listDisks = listDisks;
14
+ function listDisksOutput(opts) {
15
+ return pulumi.output(listDisks(opts));
16
+ }
17
+ exports.listDisksOutput = listDisksOutput;
18
+ //# sourceMappingURL=listDisks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listDisks.js","sourceRoot":"","sources":["../../disks/listDisks.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wBAAwB,EAAE,EACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8BAMC;AAQD,SAAgB,eAAe,CAAC,IAA2B;IACvD,OAAO,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAA;AACzC,CAAC;AAFD,0CAEC"}