@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
@@ -0,0 +1,19 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ export declare function getServiceNotificationOverride(args: GetServiceNotificationOverrideArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceNotificationOverrideResult>;
4
+ export interface GetServiceNotificationOverrideArgs {
5
+ /**
6
+ * The ID of the service
7
+ */
8
+ serviceId: string;
9
+ }
10
+ export interface GetServiceNotificationOverrideResult {
11
+ readonly items: outputs.notificationsettings.GetServiceNotificationOverrideProperties;
12
+ }
13
+ export declare function getServiceNotificationOverrideOutput(args: GetServiceNotificationOverrideOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServiceNotificationOverrideResult>;
14
+ export interface GetServiceNotificationOverrideOutputArgs {
15
+ /**
16
+ * The ID of the service
17
+ */
18
+ serviceId: 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.getServiceNotificationOverrideOutput = exports.getServiceNotificationOverride = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ function getServiceNotificationOverride(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("render:notification-settings:getServiceNotificationOverride", {
11
+ "serviceId": args.serviceId,
12
+ }, opts);
13
+ }
14
+ exports.getServiceNotificationOverride = getServiceNotificationOverride;
15
+ function getServiceNotificationOverrideOutput(args, opts) {
16
+ return pulumi.output(args).apply((a) => getServiceNotificationOverride(a, opts));
17
+ }
18
+ exports.getServiceNotificationOverrideOutput = getServiceNotificationOverrideOutput;
19
+ //# sourceMappingURL=getServiceNotificationOverride.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getServiceNotificationOverride.js","sourceRoot":"","sources":["../../notificationsettings/getServiceNotificationOverride.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAEhH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6DAA6D,EAAE;QACxF,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wEAMC;AAYD,SAAgB,oCAAoC,CAAC,IAA8C,EAAE,IAA2B;IAC5H,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,8BAA8B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzF,CAAC;AAFD,oFAEC"}
@@ -0,0 +1,10 @@
1
+ export { GetOwnerNotificationSettingArgs, GetOwnerNotificationSettingResult, GetOwnerNotificationSettingOutputArgs } from "./getOwnerNotificationSetting";
2
+ export declare const getOwnerNotificationSetting: typeof import("./getOwnerNotificationSetting").getOwnerNotificationSetting;
3
+ export declare const getOwnerNotificationSettingOutput: typeof import("./getOwnerNotificationSetting").getOwnerNotificationSettingOutput;
4
+ export { GetServiceNotificationOverrideArgs, GetServiceNotificationOverrideResult, GetServiceNotificationOverrideOutputArgs } from "./getServiceNotificationOverride";
5
+ export declare const getServiceNotificationOverride: typeof import("./getServiceNotificationOverride").getServiceNotificationOverride;
6
+ export declare const getServiceNotificationOverrideOutput: typeof import("./getServiceNotificationOverride").getServiceNotificationOverrideOutput;
7
+ export { ListNotificationOverridesArgs, ListNotificationOverridesResult } from "./listNotificationOverrides";
8
+ export declare const listNotificationOverrides: typeof import("./listNotificationOverrides").listNotificationOverrides;
9
+ export declare const listNotificationOverridesOutput: typeof import("./listNotificationOverrides").listNotificationOverridesOutput;
10
+ export * from "../types/enums/notificationsettings";
@@ -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.listNotificationOverridesOutput = exports.listNotificationOverrides = exports.getServiceNotificationOverrideOutput = exports.getServiceNotificationOverride = exports.getOwnerNotificationSettingOutput = exports.getOwnerNotificationSetting = void 0;
20
+ const utilities = require("../utilities");
21
+ exports.getOwnerNotificationSetting = null;
22
+ exports.getOwnerNotificationSettingOutput = null;
23
+ utilities.lazyLoad(exports, ["getOwnerNotificationSetting", "getOwnerNotificationSettingOutput"], () => require("./getOwnerNotificationSetting"));
24
+ exports.getServiceNotificationOverride = null;
25
+ exports.getServiceNotificationOverrideOutput = null;
26
+ utilities.lazyLoad(exports, ["getServiceNotificationOverride", "getServiceNotificationOverrideOutput"], () => require("./getServiceNotificationOverride"));
27
+ exports.listNotificationOverrides = null;
28
+ exports.listNotificationOverridesOutput = null;
29
+ utilities.lazyLoad(exports, ["listNotificationOverrides", "listNotificationOverridesOutput"], () => require("./listNotificationOverrides"));
30
+ // Export enums:
31
+ __exportStar(require("../types/enums/notificationsettings"), exports);
32
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../notificationsettings/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,0CAA0C;AAI7B,QAAA,2BAA2B,GAA+E,IAAW,CAAC;AACtH,QAAA,iCAAiC,GAAqF,IAAW,CAAC;AAC/I,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,6BAA6B,EAAC,mCAAmC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,+BAA+B,CAAC,CAAC,CAAC;AAGpI,QAAA,8BAA8B,GAAqF,IAAW,CAAC;AAC/H,QAAA,oCAAoC,GAA2F,IAAW,CAAC;AACxJ,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gCAAgC,EAAC,sCAAsC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kCAAkC,CAAC,CAAC,CAAC;AAG7I,QAAA,yBAAyB,GAA2E,IAAW,CAAC;AAChH,QAAA,+BAA+B,GAAiF,IAAW,CAAC;AACzI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,2BAA2B,EAAC,iCAAiC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,6BAA6B,CAAC,CAAC,CAAC;AAG3I,gBAAgB;AAChB,sEAAoD"}
@@ -0,0 +1,9 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ export declare function listNotificationOverrides(args?: ListNotificationOverridesArgs, opts?: pulumi.InvokeOptions): Promise<ListNotificationOverridesResult>;
4
+ export interface ListNotificationOverridesArgs {
5
+ }
6
+ export interface ListNotificationOverridesResult {
7
+ readonly items: outputs.notificationsettings.NotificationOverrideWithCursor[];
8
+ }
9
+ export declare function listNotificationOverridesOutput(opts?: pulumi.InvokeOptions): pulumi.Output<ListNotificationOverridesResult>;
@@ -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.listNotificationOverridesOutput = exports.listNotificationOverrides = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ function listNotificationOverrides(args, opts) {
9
+ args = args || {};
10
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
11
+ return pulumi.runtime.invoke("render:notification-settings:listNotificationOverrides", {}, opts);
12
+ }
13
+ exports.listNotificationOverrides = listNotificationOverrides;
14
+ function listNotificationOverridesOutput(opts) {
15
+ return pulumi.output(listNotificationOverrides(opts));
16
+ }
17
+ exports.listNotificationOverridesOutput = listNotificationOverridesOutput;
18
+ //# sourceMappingURL=listNotificationOverrides.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listNotificationOverrides.js","sourceRoot":"","sources":["../../notificationsettings/listNotificationOverrides.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,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,wDAAwD,EAAE,EACtF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC;AAQD,SAAgB,+BAA+B,CAAC,IAA2B;IACvE,OAAO,MAAM,CAAC,MAAM,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC,CAAA;AACzD,CAAC;AAFD,0EAEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudyskysoftware/pulumi-render",
3
- "version": "v0.2.1",
3
+ "version": "v0.3.0",
4
4
  "keywords": [
5
5
  "pulumi",
6
6
  "render",
@@ -0,0 +1,31 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class FailoverPostgres extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing FailoverPostgres 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): FailoverPostgres;
12
+ /**
13
+ * Returns true if the given object is an instance of FailoverPostgres. 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 FailoverPostgres;
17
+ /**
18
+ * Create a FailoverPostgres resource with the given unique name, arguments, and options.
19
+ *
20
+ * @param name The _unique_ name of the resource.
21
+ * @param args The arguments to use to populate this resource's properties.
22
+ * @param opts A bag of options that control this resource's behavior.
23
+ */
24
+ constructor(name: string, args?: FailoverPostgresArgs, opts?: pulumi.CustomResourceOptions);
25
+ }
26
+ /**
27
+ * The set of arguments for constructing a FailoverPostgres resource.
28
+ */
29
+ export interface FailoverPostgresArgs {
30
+ postgresId?: pulumi.Input<string>;
31
+ }
@@ -0,0 +1,52 @@
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.FailoverPostgres = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ class FailoverPostgres extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing FailoverPostgres 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 FailoverPostgres(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
19
+ }
20
+ /**
21
+ * Returns true if the given object is an instance of FailoverPostgres. 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'] === FailoverPostgres.__pulumiType;
29
+ }
30
+ /**
31
+ * Create a FailoverPostgres 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["postgresId"] = args ? args.postgresId : undefined;
42
+ }
43
+ else {
44
+ }
45
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
46
+ super(FailoverPostgres.__pulumiType, name, resourceInputs, opts);
47
+ }
48
+ }
49
+ exports.FailoverPostgres = FailoverPostgres;
50
+ /** @internal */
51
+ FailoverPostgres.__pulumiType = 'render:postgres:FailoverPostgres';
52
+ //# sourceMappingURL=failoverPostgres.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"failoverPostgres.js","sourceRoot":"","sources":["../../postgres/failoverPostgres.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAGD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA2B,EAAE,IAAmC;QACtF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;aAAM;SACN;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA5CL,4CA6CC;AAhCG,gBAAgB;AACO,6BAAY,GAAG,kCAAkC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ export declare function getPostgres(args: GetPostgresArgs, opts?: pulumi.InvokeOptions): Promise<GetPostgresResult>;
4
+ export interface GetPostgresArgs {
5
+ postgresId: string;
6
+ }
7
+ export interface GetPostgresResult {
8
+ readonly items: outputs.postgres.PostgresDetail;
9
+ }
10
+ export declare function getPostgresOutput(args: GetPostgresOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPostgresResult>;
11
+ export interface GetPostgresOutputArgs {
12
+ postgresId: pulumi.Input<string>;
13
+ }
@@ -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.getPostgresOutput = exports.getPostgres = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ function getPostgres(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("render:postgres:getPostgres", {
11
+ "postgresId": args.postgresId,
12
+ }, opts);
13
+ }
14
+ exports.getPostgres = getPostgres;
15
+ function getPostgresOutput(args, opts) {
16
+ return pulumi.output(args).apply((a) => getPostgres(a, opts));
17
+ }
18
+ exports.getPostgresOutput = getPostgresOutput;
19
+ //# sourceMappingURL=getPostgres.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPostgres.js","sourceRoot":"","sources":["../../postgres/getPostgres.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6BAA6B,EAAE;QACxD,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AASD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
@@ -0,0 +1,13 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ export declare function getPostgresConnectionInfo(args: GetPostgresConnectionInfoArgs, opts?: pulumi.InvokeOptions): Promise<GetPostgresConnectionInfoResult>;
4
+ export interface GetPostgresConnectionInfoArgs {
5
+ postgresId: string;
6
+ }
7
+ export interface GetPostgresConnectionInfoResult {
8
+ readonly items: outputs.postgres.PostgresConnectionInfo;
9
+ }
10
+ export declare function getPostgresConnectionInfoOutput(args: GetPostgresConnectionInfoOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPostgresConnectionInfoResult>;
11
+ export interface GetPostgresConnectionInfoOutputArgs {
12
+ postgresId: pulumi.Input<string>;
13
+ }
@@ -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.getPostgresConnectionInfoOutput = exports.getPostgresConnectionInfo = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ function getPostgresConnectionInfo(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("render:postgres:getPostgresConnectionInfo", {
11
+ "postgresId": args.postgresId,
12
+ }, opts);
13
+ }
14
+ exports.getPostgresConnectionInfo = getPostgresConnectionInfo;
15
+ function getPostgresConnectionInfoOutput(args, opts) {
16
+ return pulumi.output(args).apply((a) => getPostgresConnectionInfo(a, opts));
17
+ }
18
+ exports.getPostgresConnectionInfoOutput = getPostgresConnectionInfoOutput;
19
+ //# sourceMappingURL=getPostgresConnectionInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPostgresConnectionInfo.js","sourceRoot":"","sources":["../../postgres/getPostgresConnectionInfo.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IAEtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC;AASD,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,yBAAyB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpF,CAAC;AAFD,0EAEC"}
@@ -0,0 +1,13 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ export declare function getPostgresRecoveryInfo(args: GetPostgresRecoveryInfoArgs, opts?: pulumi.InvokeOptions): Promise<GetPostgresRecoveryInfoResult>;
4
+ export interface GetPostgresRecoveryInfoArgs {
5
+ postgresId: string;
6
+ }
7
+ export interface GetPostgresRecoveryInfoResult {
8
+ readonly items: outputs.postgres.GetPostgresRecoveryInfoProperties;
9
+ }
10
+ export declare function getPostgresRecoveryInfoOutput(args: GetPostgresRecoveryInfoOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPostgresRecoveryInfoResult>;
11
+ export interface GetPostgresRecoveryInfoOutputArgs {
12
+ postgresId: pulumi.Input<string>;
13
+ }
@@ -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.getPostgresRecoveryInfoOutput = exports.getPostgresRecoveryInfo = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ function getPostgresRecoveryInfo(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("render:postgres:getPostgresRecoveryInfo", {
11
+ "postgresId": args.postgresId,
12
+ }, opts);
13
+ }
14
+ exports.getPostgresRecoveryInfo = getPostgresRecoveryInfo;
15
+ function getPostgresRecoveryInfoOutput(args, opts) {
16
+ return pulumi.output(args).apply((a) => getPostgresRecoveryInfo(a, opts));
17
+ }
18
+ exports.getPostgresRecoveryInfoOutput = getPostgresRecoveryInfoOutput;
19
+ //# sourceMappingURL=getPostgresRecoveryInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPostgresRecoveryInfo.js","sourceRoot":"","sources":["../../postgres/getPostgresRecoveryInfo.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAElG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC;AASD,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClF,CAAC;AAFD,sEAEC"}
@@ -0,0 +1,37 @@
1
+ export { FailoverPostgresArgs } from "./failoverPostgres";
2
+ export type FailoverPostgres = import("./failoverPostgres").FailoverPostgres;
3
+ export declare const FailoverPostgres: typeof import("./failoverPostgres").FailoverPostgres;
4
+ export { GetPostgresArgs, GetPostgresResult, GetPostgresOutputArgs } from "./getPostgres";
5
+ export declare const getPostgres: typeof import("./getPostgres").getPostgres;
6
+ export declare const getPostgresOutput: typeof import("./getPostgres").getPostgresOutput;
7
+ export { GetPostgresConnectionInfoArgs, GetPostgresConnectionInfoResult, GetPostgresConnectionInfoOutputArgs } from "./getPostgresConnectionInfo";
8
+ export declare const getPostgresConnectionInfo: typeof import("./getPostgresConnectionInfo").getPostgresConnectionInfo;
9
+ export declare const getPostgresConnectionInfoOutput: typeof import("./getPostgresConnectionInfo").getPostgresConnectionInfoOutput;
10
+ export { GetPostgresRecoveryInfoArgs, GetPostgresRecoveryInfoResult, GetPostgresRecoveryInfoOutputArgs } from "./getPostgresRecoveryInfo";
11
+ export declare const getPostgresRecoveryInfo: typeof import("./getPostgresRecoveryInfo").getPostgresRecoveryInfo;
12
+ export declare const getPostgresRecoveryInfoOutput: typeof import("./getPostgresRecoveryInfo").getPostgresRecoveryInfoOutput;
13
+ export { ListPostgresArgs, ListPostgresResult } from "./listPostgres";
14
+ export declare const listPostgres: typeof import("./listPostgres").listPostgres;
15
+ export declare const listPostgresOutput: typeof import("./listPostgres").listPostgresOutput;
16
+ export { ListPostgresBackupArgs, ListPostgresBackupResult, ListPostgresBackupOutputArgs } from "./listPostgresBackup";
17
+ export declare const listPostgresBackup: typeof import("./listPostgresBackup").listPostgresBackup;
18
+ export declare const listPostgresBackupOutput: typeof import("./listPostgresBackup").listPostgresBackupOutput;
19
+ export { PostgresArgs } from "./postgres";
20
+ export type Postgres = import("./postgres").Postgres;
21
+ export declare const Postgres: typeof import("./postgres").Postgres;
22
+ export { PostgresBackupArgs } from "./postgresBackup";
23
+ export type PostgresBackup = import("./postgresBackup").PostgresBackup;
24
+ export declare const PostgresBackup: typeof import("./postgresBackup").PostgresBackup;
25
+ export { RecoverPostgresArgs } from "./recoverPostgres";
26
+ export type RecoverPostgres = import("./recoverPostgres").RecoverPostgres;
27
+ export declare const RecoverPostgres: typeof import("./recoverPostgres").RecoverPostgres;
28
+ export { RestartPostgresArgs } from "./restartPostgres";
29
+ export type RestartPostgres = import("./restartPostgres").RestartPostgres;
30
+ export declare const RestartPostgres: typeof import("./restartPostgres").RestartPostgres;
31
+ export { ResumePostgresArgs } from "./resumePostgres";
32
+ export type ResumePostgres = import("./resumePostgres").ResumePostgres;
33
+ export declare const ResumePostgres: typeof import("./resumePostgres").ResumePostgres;
34
+ export { SuspendPostgresArgs } from "./suspendPostgres";
35
+ export type SuspendPostgres = import("./suspendPostgres").SuspendPostgres;
36
+ export declare const SuspendPostgres: typeof import("./suspendPostgres").SuspendPostgres;
37
+ export * from "../types/enums/postgres";
@@ -0,0 +1,77 @@
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.SuspendPostgres = exports.ResumePostgres = exports.RestartPostgres = exports.RecoverPostgres = exports.PostgresBackup = exports.Postgres = exports.listPostgresBackupOutput = exports.listPostgresBackup = exports.listPostgresOutput = exports.listPostgres = exports.getPostgresRecoveryInfoOutput = exports.getPostgresRecoveryInfo = exports.getPostgresConnectionInfoOutput = exports.getPostgresConnectionInfo = exports.getPostgresOutput = exports.getPostgres = exports.FailoverPostgres = void 0;
20
+ const pulumi = require("@pulumi/pulumi");
21
+ const utilities = require("../utilities");
22
+ exports.FailoverPostgres = null;
23
+ utilities.lazyLoad(exports, ["FailoverPostgres"], () => require("./failoverPostgres"));
24
+ exports.getPostgres = null;
25
+ exports.getPostgresOutput = null;
26
+ utilities.lazyLoad(exports, ["getPostgres", "getPostgresOutput"], () => require("./getPostgres"));
27
+ exports.getPostgresConnectionInfo = null;
28
+ exports.getPostgresConnectionInfoOutput = null;
29
+ utilities.lazyLoad(exports, ["getPostgresConnectionInfo", "getPostgresConnectionInfoOutput"], () => require("./getPostgresConnectionInfo"));
30
+ exports.getPostgresRecoveryInfo = null;
31
+ exports.getPostgresRecoveryInfoOutput = null;
32
+ utilities.lazyLoad(exports, ["getPostgresRecoveryInfo", "getPostgresRecoveryInfoOutput"], () => require("./getPostgresRecoveryInfo"));
33
+ exports.listPostgres = null;
34
+ exports.listPostgresOutput = null;
35
+ utilities.lazyLoad(exports, ["listPostgres", "listPostgresOutput"], () => require("./listPostgres"));
36
+ exports.listPostgresBackup = null;
37
+ exports.listPostgresBackupOutput = null;
38
+ utilities.lazyLoad(exports, ["listPostgresBackup", "listPostgresBackupOutput"], () => require("./listPostgresBackup"));
39
+ exports.Postgres = null;
40
+ utilities.lazyLoad(exports, ["Postgres"], () => require("./postgres"));
41
+ exports.PostgresBackup = null;
42
+ utilities.lazyLoad(exports, ["PostgresBackup"], () => require("./postgresBackup"));
43
+ exports.RecoverPostgres = null;
44
+ utilities.lazyLoad(exports, ["RecoverPostgres"], () => require("./recoverPostgres"));
45
+ exports.RestartPostgres = null;
46
+ utilities.lazyLoad(exports, ["RestartPostgres"], () => require("./restartPostgres"));
47
+ exports.ResumePostgres = null;
48
+ utilities.lazyLoad(exports, ["ResumePostgres"], () => require("./resumePostgres"));
49
+ exports.SuspendPostgres = null;
50
+ utilities.lazyLoad(exports, ["SuspendPostgres"], () => require("./suspendPostgres"));
51
+ // Export enums:
52
+ __exportStar(require("../types/enums/postgres"), exports);
53
+ const _module = {
54
+ version: utilities.getVersion(),
55
+ construct: (name, type, urn) => {
56
+ switch (type) {
57
+ case "render:postgres:FailoverPostgres":
58
+ return new exports.FailoverPostgres(name, undefined, { urn });
59
+ case "render:postgres:Postgres":
60
+ return new exports.Postgres(name, undefined, { urn });
61
+ case "render:postgres:PostgresBackup":
62
+ return new exports.PostgresBackup(name, undefined, { urn });
63
+ case "render:postgres:RecoverPostgres":
64
+ return new exports.RecoverPostgres(name, undefined, { urn });
65
+ case "render:postgres:RestartPostgres":
66
+ return new exports.RestartPostgres(name, undefined, { urn });
67
+ case "render:postgres:ResumePostgres":
68
+ return new exports.ResumePostgres(name, undefined, { urn });
69
+ case "render:postgres:SuspendPostgres":
70
+ return new exports.SuspendPostgres(name, undefined, { urn });
71
+ default:
72
+ throw new Error(`unknown resource type ${type}`);
73
+ }
74
+ },
75
+ };
76
+ pulumi.runtime.registerResourceModule("render", "postgres", _module);
77
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../postgres/index.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,9 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ export declare function listPostgres(args?: ListPostgresArgs, opts?: pulumi.InvokeOptions): Promise<ListPostgresResult>;
4
+ export interface ListPostgresArgs {
5
+ }
6
+ export interface ListPostgresResult {
7
+ readonly items: outputs.postgres.ListPostgresItemProperties[];
8
+ }
9
+ export declare function listPostgresOutput(opts?: pulumi.InvokeOptions): pulumi.Output<ListPostgresResult>;
@@ -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.listPostgresOutput = exports.listPostgres = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ function listPostgres(args, opts) {
9
+ args = args || {};
10
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
11
+ return pulumi.runtime.invoke("render:postgres:listPostgres", {}, opts);
12
+ }
13
+ exports.listPostgres = listPostgres;
14
+ function listPostgresOutput(opts) {
15
+ return pulumi.output(listPostgres(opts));
16
+ }
17
+ exports.listPostgresOutput = listPostgresOutput;
18
+ //# sourceMappingURL=listPostgres.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listPostgres.js","sourceRoot":"","sources":["../../postgres/listPostgres.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,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,8BAA8B,EAAE,EAC5D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oCAMC;AAQD,SAAgB,kBAAkB,CAAC,IAA2B;IAC1D,OAAO,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAA;AAC5C,CAAC;AAFD,gDAEC"}
@@ -0,0 +1,13 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ export declare function listPostgresBackup(args: ListPostgresBackupArgs, opts?: pulumi.InvokeOptions): Promise<ListPostgresBackupResult>;
4
+ export interface ListPostgresBackupArgs {
5
+ postgresId: string;
6
+ }
7
+ export interface ListPostgresBackupResult {
8
+ readonly items: outputs.postgres.ListPostgresBackupItemProperties[];
9
+ }
10
+ export declare function listPostgresBackupOutput(args: ListPostgresBackupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ListPostgresBackupResult>;
11
+ export interface ListPostgresBackupOutputArgs {
12
+ postgresId: pulumi.Input<string>;
13
+ }
@@ -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.listPostgresBackupOutput = exports.listPostgresBackup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ function listPostgresBackup(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("render:postgres:listPostgresBackup", {
11
+ "postgresId": args.postgresId,
12
+ }, opts);
13
+ }
14
+ exports.listPostgresBackup = listPostgresBackup;
15
+ function listPostgresBackupOutput(args, opts) {
16
+ return pulumi.output(args).apply((a) => listPostgresBackup(a, opts));
17
+ }
18
+ exports.listPostgresBackupOutput = listPostgresBackupOutput;
19
+ //# sourceMappingURL=listPostgresBackup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listPostgresBackup.js","sourceRoot":"","sources":["../../postgres/listPostgresBackup.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,oCAAoC,EAAE;QAC/D,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC;AASD,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"}