@cloudyskysoftware/pulumi-render 0.2.0 → 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.
- package/README.md +1 -5
- package/blueprints/getBlueprint.d.ts +19 -0
- package/blueprints/getBlueprint.js +19 -0
- package/blueprints/getBlueprint.js.map +1 -0
- package/blueprints/index.d.ts +10 -0
- package/blueprints/index.js +32 -0
- package/blueprints/index.js.map +1 -0
- package/blueprints/listBlueprintSyncs.d.ts +19 -0
- package/blueprints/listBlueprintSyncs.js +19 -0
- package/blueprints/listBlueprintSyncs.js.map +1 -0
- package/blueprints/listBlueprints.d.ts +9 -0
- package/blueprints/listBlueprints.js +18 -0
- package/blueprints/listBlueprints.js.map +1 -0
- package/cronjobs/index.d.ts +4 -0
- package/cronjobs/index.js +38 -0
- package/cronjobs/index.js.map +1 -0
- package/cronjobs/runCronJob.d.ts +46 -0
- package/cronjobs/runCronJob.js +62 -0
- package/cronjobs/runCronJob.js.map +1 -0
- package/disks/disk.d.ts +40 -0
- package/disks/disk.js +72 -0
- package/disks/disk.js.map +1 -0
- package/disks/getDisk.d.ts +19 -0
- package/disks/getDisk.js +19 -0
- package/disks/getDisk.js.map +1 -0
- package/disks/index.d.ts +12 -0
- package/disks/index.js +32 -0
- package/disks/index.js.map +1 -0
- package/disks/listDisks.d.ts +9 -0
- package/disks/listDisks.js +18 -0
- package/disks/listDisks.js.map +1 -0
- package/disks/restoreSnapshot.d.ts +50 -0
- package/disks/restoreSnapshot.js +71 -0
- package/disks/restoreSnapshot.js.map +1 -0
- package/envgroups/envGroup.d.ts +50 -0
- package/envgroups/envGroup.js +75 -0
- package/envgroups/envGroup.js.map +1 -0
- package/envgroups/getEnvGroup.d.ts +19 -0
- package/envgroups/getEnvGroup.js +19 -0
- package/envgroups/getEnvGroup.js.map +1 -0
- package/envgroups/getEnvGroupEnvVar.d.ts +27 -0
- package/envgroups/getEnvGroupEnvVar.js +20 -0
- package/envgroups/getEnvGroupEnvVar.js.map +1 -0
- package/envgroups/getEnvGroupSecretFile.d.ts +27 -0
- package/envgroups/getEnvGroupSecretFile.js +20 -0
- package/envgroups/getEnvGroupSecretFile.js.map +1 -0
- package/envgroups/index.d.ts +19 -0
- package/envgroups/index.js +54 -0
- package/envgroups/index.js.map +1 -0
- package/envgroups/linkServiceToEnvGroup.d.ts +50 -0
- package/envgroups/linkServiceToEnvGroup.js +69 -0
- package/envgroups/linkServiceToEnvGroup.js.map +1 -0
- package/envgroups/listEnvGroups.d.ts +9 -0
- package/envgroups/listEnvGroups.js +18 -0
- package/envgroups/listEnvGroups.js.map +1 -0
- package/environments/environment.d.ts +47 -0
- package/environments/environment.js +68 -0
- package/environments/environment.js.map +1 -0
- package/environments/getEnvironment.d.ts +13 -0
- package/environments/getEnvironment.js +19 -0
- package/environments/getEnvironment.js.map +1 -0
- package/environments/index.d.ts +13 -0
- package/environments/index.js +48 -0
- package/environments/index.js.map +1 -0
- package/environments/listEnvironments.d.ts +9 -0
- package/environments/listEnvironments.js +18 -0
- package/environments/listEnvironments.js.map +1 -0
- package/environments/resourcesToEnvironment.d.ts +44 -0
- package/environments/resourcesToEnvironment.js +71 -0
- package/environments/resourcesToEnvironment.js.map +1 -0
- package/index.d.ts +11 -1
- package/index.js +21 -1
- package/index.js.map +1 -1
- package/metrics/index.d.ts +6 -0
- package/metrics/index.js +13 -0
- package/metrics/index.js.map +1 -0
- package/metrics/listActiveConnections.d.ts +9 -0
- package/metrics/listActiveConnections.js +18 -0
- package/metrics/listActiveConnections.js.map +1 -0
- package/metrics/listReplicationLag.d.ts +9 -0
- package/metrics/listReplicationLag.js +18 -0
- package/metrics/listReplicationLag.js.map +1 -0
- package/notificationsettings/getOwnerNotificationSetting.d.ts +19 -0
- package/notificationsettings/getOwnerNotificationSetting.js +19 -0
- package/notificationsettings/getOwnerNotificationSetting.js.map +1 -0
- package/notificationsettings/getServiceNotificationOverride.d.ts +19 -0
- package/notificationsettings/getServiceNotificationOverride.js +19 -0
- package/notificationsettings/getServiceNotificationOverride.js.map +1 -0
- package/notificationsettings/index.d.ts +10 -0
- package/notificationsettings/index.js +32 -0
- package/notificationsettings/index.js.map +1 -0
- package/notificationsettings/listNotificationOverrides.d.ts +9 -0
- package/notificationsettings/listNotificationOverrides.js +18 -0
- package/notificationsettings/listNotificationOverrides.js.map +1 -0
- package/package.json +1 -1
- package/postgres/failoverPostgres.d.ts +31 -0
- package/postgres/failoverPostgres.js +52 -0
- package/postgres/failoverPostgres.js.map +1 -0
- package/postgres/getPostgres.d.ts +13 -0
- package/postgres/getPostgres.js +19 -0
- package/postgres/getPostgres.js.map +1 -0
- package/postgres/getPostgresConnectionInfo.d.ts +13 -0
- package/postgres/getPostgresConnectionInfo.js +19 -0
- package/postgres/getPostgresConnectionInfo.js.map +1 -0
- package/postgres/getPostgresRecoveryInfo.d.ts +13 -0
- package/postgres/getPostgresRecoveryInfo.js +19 -0
- package/postgres/getPostgresRecoveryInfo.js.map +1 -0
- package/postgres/index.d.ts +37 -0
- package/postgres/index.js +77 -0
- package/postgres/index.js.map +1 -0
- package/postgres/listPostgres.d.ts +9 -0
- package/postgres/listPostgres.js +18 -0
- package/postgres/listPostgres.js.map +1 -0
- package/postgres/listPostgresBackup.d.ts +13 -0
- package/postgres/listPostgresBackup.js +19 -0
- package/postgres/listPostgresBackup.js.map +1 -0
- package/postgres/postgres.d.ts +101 -0
- package/postgres/postgres.js +114 -0
- package/postgres/postgres.js.map +1 -0
- package/postgres/postgresBackup.d.ts +31 -0
- package/postgres/postgresBackup.js +52 -0
- package/postgres/postgresBackup.js.map +1 -0
- package/postgres/recoverPostgres.d.ts +99 -0
- package/postgres/recoverPostgres.js +105 -0
- package/postgres/recoverPostgres.js.map +1 -0
- package/postgres/restartPostgres.d.ts +31 -0
- package/postgres/restartPostgres.js +52 -0
- package/postgres/restartPostgres.js.map +1 -0
- package/postgres/resumePostgres.d.ts +31 -0
- package/postgres/resumePostgres.js +52 -0
- package/postgres/resumePostgres.js.map +1 -0
- package/postgres/suspendPostgres.d.ts +31 -0
- package/postgres/suspendPostgres.js +52 -0
- package/postgres/suspendPostgres.js.map +1 -0
- package/projects/getProject.d.ts +13 -0
- package/projects/getProject.js +19 -0
- package/projects/getProject.js.map +1 -0
- package/projects/index.d.ts +10 -0
- package/projects/index.js +44 -0
- package/projects/index.js.map +1 -0
- package/projects/listProjects.d.ts +9 -0
- package/projects/listProjects.js +18 -0
- package/projects/listProjects.js.map +1 -0
- package/projects/project.d.ts +63 -0
- package/projects/project.js +71 -0
- package/projects/project.js.map +1 -0
- package/redis/getRedi.d.ts +13 -0
- package/redis/getRedi.js +19 -0
- package/redis/getRedi.js.map +1 -0
- package/redis/getRedisConnectionInfo.d.ts +13 -0
- package/redis/getRedisConnectionInfo.js +19 -0
- package/redis/getRedisConnectionInfo.js.map +1 -0
- package/redis/index.d.ts +13 -0
- package/redis/index.js +47 -0
- package/redis/index.js.map +1 -0
- package/redis/listRedis.d.ts +9 -0
- package/redis/listRedis.js +18 -0
- package/redis/listRedis.js.map +1 -0
- package/redis/redi.d.ts +99 -0
- package/redis/redi.js +88 -0
- package/redis/redi.js.map +1 -0
- package/registrycredentials/registryCredential.d.ts +3 -0
- package/services/autoscaleService.d.ts +2 -2
- package/services/autoscaleService.js +1 -1
- package/services/autoscaleService.js.map +1 -1
- package/services/backgroundWorker.d.ts +10 -7
- package/services/backgroundWorker.js +6 -0
- package/services/backgroundWorker.js.map +1 -1
- package/services/cancelJob.d.ts +2 -1
- package/services/cancelJob.js.map +1 -1
- package/services/cronJob.d.ts +10 -7
- package/services/cronJob.js +8 -1
- package/services/cronJob.js.map +1 -1
- package/services/deploy.d.ts +22 -6
- package/services/deploy.js.map +1 -1
- package/services/envVarsForService.d.ts +2 -2
- package/services/getEnvVar.d.ts +27 -0
- package/services/getEnvVar.js +20 -0
- package/services/getEnvVar.js.map +1 -0
- package/services/getSecretFile.d.ts +27 -0
- package/services/getSecretFile.js +20 -0
- package/services/getSecretFile.js.map +1 -0
- package/services/header.d.ts +60 -0
- package/services/header.js +66 -0
- package/services/header.js.map +1 -0
- package/services/index.d.ts +27 -9
- package/services/index.js +33 -11
- package/services/index.js.map +1 -1
- package/services/job.d.ts +2 -1
- package/services/job.js.map +1 -1
- package/services/listCustomDomains.d.ts +1 -1
- package/services/listHeaders.d.ts +19 -0
- package/services/listHeaders.js +19 -0
- package/services/listHeaders.js.map +1 -0
- package/services/listRoutes.d.ts +19 -0
- package/services/listRoutes.js +19 -0
- package/services/listRoutes.js.map +1 -0
- package/services/listSecretFilesForService.d.ts +19 -0
- package/services/listSecretFilesForService.js +19 -0
- package/services/listSecretFilesForService.js.map +1 -0
- package/services/privateService.d.ts +10 -7
- package/services/privateService.js +6 -0
- package/services/privateService.js.map +1 -1
- package/services/{restartServer.d.ts → restartService.d.ts} +9 -9
- package/services/{restartServer.js → restartService.js} +11 -11
- package/services/restartService.js.map +1 -0
- package/services/rollbackDeploy.d.ts +2 -2
- package/services/route.d.ts +49 -0
- package/services/route.js +69 -0
- package/services/route.js.map +1 -0
- package/services/secretFilesForService.d.ts +34 -0
- package/services/secretFilesForService.js +52 -0
- package/services/secretFilesForService.js.map +1 -0
- package/services/staticSite.d.ts +10 -7
- package/services/staticSite.js +6 -0
- package/services/staticSite.js.map +1 -1
- package/services/webService.d.ts +10 -7
- package/services/webService.js +6 -0
- package/services/webService.js.map +1 -1
- package/types/enums/blueprints/index.d.ts +38 -0
- package/types/enums/blueprints/index.js +37 -0
- package/types/enums/blueprints/index.js.map +1 -0
- package/types/enums/cronjobs/index.d.ts +7 -0
- package/types/enums/cronjobs/index.js +12 -0
- package/types/enums/cronjobs/index.js.map +1 -0
- package/types/enums/envgroups/index.d.ts +8 -0
- package/types/enums/envgroups/index.js +13 -0
- package/types/enums/envgroups/index.js.map +1 -0
- package/types/enums/environments/index.d.ts +16 -0
- package/types/enums/environments/index.js +14 -0
- package/types/enums/environments/index.js.map +1 -0
- package/types/enums/index.d.ts +9 -1
- package/types/enums/index.js +17 -1
- package/types/enums/index.js.map +1 -1
- package/types/enums/notificationsettings/index.d.ts +32 -0
- package/types/enums/notificationsettings/index.js +33 -0
- package/types/enums/notificationsettings/index.js.map +1 -0
- package/types/enums/postgres/index.d.ts +286 -0
- package/types/enums/postgres/index.js +246 -0
- package/types/enums/postgres/index.js.map +1 -0
- package/types/enums/projects/index.d.ts +13 -0
- package/types/enums/projects/index.js +14 -0
- package/types/enums/projects/index.js.map +1 -0
- package/types/enums/redis/index.d.ts +139 -0
- package/types/enums/redis/index.js +120 -0
- package/types/enums/redis/index.js.map +1 -0
- package/types/enums/registrycredentials/index.d.ts +5 -0
- package/types/enums/registrycredentials/index.js +2 -0
- package/types/enums/registrycredentials/index.js.map +1 -1
- package/types/enums/services/index.d.ts +175 -12
- package/types/enums/services/index.js +94 -1
- package/types/enums/services/index.js.map +1 -1
- package/types/input.d.ts +222 -78
- package/types/input.js +54 -15
- package/types/input.js.map +1 -1
- package/types/output.d.ts +885 -87
- package/types/output.js +163 -38
- package/types/output.js.map +1 -1
- package/services/listRetrieveHeaders.d.ts +0 -19
- package/services/listRetrieveHeaders.js +0 -19
- package/services/listRetrieveHeaders.js.map +0 -1
- package/services/listRetrieveRoutes.d.ts +0 -19
- package/services/listRetrieveRoutes.js +0 -19
- package/services/listRetrieveRoutes.js.map +0 -1
- package/services/restartServer.js.map +0 -1
|
@@ -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.ResumePostgres = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
class ResumePostgres extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing ResumePostgres 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 ResumePostgres(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of ResumePostgres. 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'] === ResumePostgres.__pulumiType;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Create a ResumePostgres 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(ResumePostgres.__pulumiType, name, resourceInputs, opts);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.ResumePostgres = ResumePostgres;
|
|
50
|
+
/** @internal */
|
|
51
|
+
ResumePostgres.__pulumiType = 'render:postgres:ResumePostgres';
|
|
52
|
+
//# sourceMappingURL=resumePostgres.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resumePostgres.js","sourceRoot":"","sources":["../../postgres/resumePostgres.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,cAAc,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAGD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAyB,EAAE,IAAmC;QACpF,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,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA5CL,wCA6CC;AAhCG,gBAAgB;AACO,2BAAY,GAAG,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class SuspendPostgres extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing SuspendPostgres 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): SuspendPostgres;
|
|
12
|
+
/**
|
|
13
|
+
* Returns true if the given object is an instance of SuspendPostgres. 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 SuspendPostgres;
|
|
17
|
+
/**
|
|
18
|
+
* Create a SuspendPostgres 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?: SuspendPostgresArgs, opts?: pulumi.CustomResourceOptions);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The set of arguments for constructing a SuspendPostgres resource.
|
|
28
|
+
*/
|
|
29
|
+
export interface SuspendPostgresArgs {
|
|
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.SuspendPostgres = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
class SuspendPostgres extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing SuspendPostgres 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 SuspendPostgres(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of SuspendPostgres. 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'] === SuspendPostgres.__pulumiType;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Create a SuspendPostgres 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(SuspendPostgres.__pulumiType, name, resourceInputs, opts);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.SuspendPostgres = SuspendPostgres;
|
|
50
|
+
/** @internal */
|
|
51
|
+
SuspendPostgres.__pulumiType = 'render:postgres:SuspendPostgres';
|
|
52
|
+
//# sourceMappingURL=suspendPostgres.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"suspendPostgres.js","sourceRoot":"","sources":["../../postgres/suspendPostgres.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAGD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA0B,EAAE,IAAmC;QACrF,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,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA5CL,0CA6CC;AAhCG,gBAAgB;AACO,4BAAY,GAAG,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
export declare function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectResult>;
|
|
4
|
+
export interface GetProjectArgs {
|
|
5
|
+
projectId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface GetProjectResult {
|
|
8
|
+
readonly items: outputs.projects.Project;
|
|
9
|
+
}
|
|
10
|
+
export declare function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectResult>;
|
|
11
|
+
export interface GetProjectOutputArgs {
|
|
12
|
+
projectId: 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.getProjectOutput = exports.getProject = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function getProject(args, opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("render:projects:getProject", {
|
|
11
|
+
"projectId": args.projectId,
|
|
12
|
+
}, opts);
|
|
13
|
+
}
|
|
14
|
+
exports.getProject = getProject;
|
|
15
|
+
function getProjectOutput(args, opts) {
|
|
16
|
+
return pulumi.output(args).apply((a) => getProject(a, opts));
|
|
17
|
+
}
|
|
18
|
+
exports.getProjectOutput = getProjectOutput;
|
|
19
|
+
//# sourceMappingURL=getProject.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getProject.js","sourceRoot":"","sources":["../../projects/getProject.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4BAA4B,EAAE;QACvD,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gCAMC;AASD,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { GetProjectArgs, GetProjectResult, GetProjectOutputArgs } from "./getProject";
|
|
2
|
+
export declare const getProject: typeof import("./getProject").getProject;
|
|
3
|
+
export declare const getProjectOutput: typeof import("./getProject").getProjectOutput;
|
|
4
|
+
export { ListProjectsArgs, ListProjectsResult } from "./listProjects";
|
|
5
|
+
export declare const listProjects: typeof import("./listProjects").listProjects;
|
|
6
|
+
export declare const listProjectsOutput: typeof import("./listProjects").listProjectsOutput;
|
|
7
|
+
export { ProjectArgs } from "./project";
|
|
8
|
+
export type Project = import("./project").Project;
|
|
9
|
+
export declare const Project: typeof import("./project").Project;
|
|
10
|
+
export * from "../types/enums/projects";
|
|
@@ -0,0 +1,44 @@
|
|
|
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.Project = exports.listProjectsOutput = exports.listProjects = exports.getProjectOutput = exports.getProject = void 0;
|
|
20
|
+
const pulumi = require("@pulumi/pulumi");
|
|
21
|
+
const utilities = require("../utilities");
|
|
22
|
+
exports.getProject = null;
|
|
23
|
+
exports.getProjectOutput = null;
|
|
24
|
+
utilities.lazyLoad(exports, ["getProject", "getProjectOutput"], () => require("./getProject"));
|
|
25
|
+
exports.listProjects = null;
|
|
26
|
+
exports.listProjectsOutput = null;
|
|
27
|
+
utilities.lazyLoad(exports, ["listProjects", "listProjectsOutput"], () => require("./listProjects"));
|
|
28
|
+
exports.Project = null;
|
|
29
|
+
utilities.lazyLoad(exports, ["Project"], () => require("./project"));
|
|
30
|
+
// Export enums:
|
|
31
|
+
__exportStar(require("../types/enums/projects"), exports);
|
|
32
|
+
const _module = {
|
|
33
|
+
version: utilities.getVersion(),
|
|
34
|
+
construct: (name, type, urn) => {
|
|
35
|
+
switch (type) {
|
|
36
|
+
case "render:projects:Project":
|
|
37
|
+
return new exports.Project(name, undefined, { urn });
|
|
38
|
+
default:
|
|
39
|
+
throw new Error(`unknown resource type ${type}`);
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
pulumi.runtime.registerResourceModule("render", "projects", _module);
|
|
44
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../projects/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,QAAA,gBAAgB,GAAmD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,EAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAGjF,QAAA,YAAY,GAAiD,IAAW,CAAC;AACzE,QAAA,kBAAkB,GAAuD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,EAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAIvF,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGrE,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,yBAAyB;gBAC1B,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,UAAU,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 listProjects(args?: ListProjectsArgs, opts?: pulumi.InvokeOptions): Promise<ListProjectsResult>;
|
|
4
|
+
export interface ListProjectsArgs {
|
|
5
|
+
}
|
|
6
|
+
export interface ListProjectsResult {
|
|
7
|
+
readonly items: outputs.projects.ProjectWithCursor[];
|
|
8
|
+
}
|
|
9
|
+
export declare function listProjectsOutput(opts?: pulumi.InvokeOptions): pulumi.Output<ListProjectsResult>;
|
|
@@ -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.listProjectsOutput = exports.listProjects = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function listProjects(args, opts) {
|
|
9
|
+
args = args || {};
|
|
10
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
|
+
return pulumi.runtime.invoke("render:projects:listProjects", {}, opts);
|
|
12
|
+
}
|
|
13
|
+
exports.listProjects = listProjects;
|
|
14
|
+
function listProjectsOutput(opts) {
|
|
15
|
+
return pulumi.output(listProjects(opts));
|
|
16
|
+
}
|
|
17
|
+
exports.listProjectsOutput = listProjectsOutput;
|
|
18
|
+
//# sourceMappingURL=listProjects.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listProjects.js","sourceRoot":"","sources":["../../projects/listProjects.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,63 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
export declare class Project extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing Project resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
12
|
+
*/
|
|
13
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Project;
|
|
14
|
+
/**
|
|
15
|
+
* Returns true if the given object is an instance of Project. This is designed to work even
|
|
16
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
17
|
+
*/
|
|
18
|
+
static isInstance(obj: any): obj is Project;
|
|
19
|
+
readonly createdAt: pulumi.Output<string>;
|
|
20
|
+
/**
|
|
21
|
+
* The environments associated with the project
|
|
22
|
+
*/
|
|
23
|
+
readonly environmentIds: pulumi.Output<string[]>;
|
|
24
|
+
/**
|
|
25
|
+
* The environments to create when creating the project
|
|
26
|
+
*/
|
|
27
|
+
readonly environments: pulumi.Output<outputs.projects.ProjectCreateEnvironmentInput[]>;
|
|
28
|
+
/**
|
|
29
|
+
* The name of the project
|
|
30
|
+
*/
|
|
31
|
+
readonly name: pulumi.Output<string>;
|
|
32
|
+
readonly owner: pulumi.Output<outputs.projects.Owner>;
|
|
33
|
+
/**
|
|
34
|
+
* The ID of the owner that the project belongs to
|
|
35
|
+
*/
|
|
36
|
+
readonly ownerId: pulumi.Output<string>;
|
|
37
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Create a Project resource with the given unique name, arguments, and options.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resource.
|
|
42
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
43
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
44
|
+
*/
|
|
45
|
+
constructor(name: string, args: ProjectArgs, opts?: pulumi.CustomResourceOptions);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The set of arguments for constructing a Project resource.
|
|
49
|
+
*/
|
|
50
|
+
export interface ProjectArgs {
|
|
51
|
+
/**
|
|
52
|
+
* The environments to create when creating the project
|
|
53
|
+
*/
|
|
54
|
+
environments: pulumi.Input<pulumi.Input<inputs.projects.ProjectCreateEnvironmentInputArgs>[]>;
|
|
55
|
+
/**
|
|
56
|
+
* The name of the project
|
|
57
|
+
*/
|
|
58
|
+
name?: pulumi.Input<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The ID of the owner that the project belongs to
|
|
61
|
+
*/
|
|
62
|
+
ownerId: pulumi.Input<string>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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.Project = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
class Project extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing Project 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 Project(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of Project. 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'] === Project.__pulumiType;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Create a Project 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.environments === undefined) && !opts.urn) {
|
|
42
|
+
throw new Error("Missing required property 'environments'");
|
|
43
|
+
}
|
|
44
|
+
if ((!args || args.ownerId === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'ownerId'");
|
|
46
|
+
}
|
|
47
|
+
resourceInputs["environments"] = args ? args.environments : undefined;
|
|
48
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
49
|
+
resourceInputs["ownerId"] = args ? args.ownerId : undefined;
|
|
50
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
51
|
+
resourceInputs["environmentIds"] = undefined /*out*/;
|
|
52
|
+
resourceInputs["owner"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["environmentIds"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["environments"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["owner"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["ownerId"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
63
|
+
}
|
|
64
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
65
|
+
super(Project.__pulumiType, name, resourceInputs, opts);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.Project = Project;
|
|
69
|
+
/** @internal */
|
|
70
|
+
Project.__pulumiType = 'render:projects:Project';
|
|
71
|
+
//# sourceMappingURL=project.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.js","sourceRoot":"","sources":["../../projects/project.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,OAAO,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAsBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAiB,EAAE,IAAmC;QAC5E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;aAAM;YACH,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAlFL,0BAmFC;AAtEG,gBAAgB;AACO,oBAAY,GAAG,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
export declare function getRedi(args: GetRediArgs, opts?: pulumi.InvokeOptions): Promise<GetRediResult>;
|
|
4
|
+
export interface GetRediArgs {
|
|
5
|
+
redisId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface GetRediResult {
|
|
8
|
+
readonly items: outputs.redis.RedisDetail;
|
|
9
|
+
}
|
|
10
|
+
export declare function getRediOutput(args: GetRediOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRediResult>;
|
|
11
|
+
export interface GetRediOutputArgs {
|
|
12
|
+
redisId: pulumi.Input<string>;
|
|
13
|
+
}
|
package/redis/getRedi.js
ADDED
|
@@ -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.getRediOutput = exports.getRedi = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function getRedi(args, opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("render:redis:getRedi", {
|
|
11
|
+
"redisId": args.redisId,
|
|
12
|
+
}, opts);
|
|
13
|
+
}
|
|
14
|
+
exports.getRedi = getRedi;
|
|
15
|
+
function getRediOutput(args, opts) {
|
|
16
|
+
return pulumi.output(args).apply((a) => getRedi(a, opts));
|
|
17
|
+
}
|
|
18
|
+
exports.getRediOutput = getRediOutput;
|
|
19
|
+
//# sourceMappingURL=getRedi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRedi.js","sourceRoot":"","sources":["../../redis/getRedi.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,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0BAMC;AASD,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,13 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
export declare function getRedisConnectionInfo(args: GetRedisConnectionInfoArgs, opts?: pulumi.InvokeOptions): Promise<GetRedisConnectionInfoResult>;
|
|
4
|
+
export interface GetRedisConnectionInfoArgs {
|
|
5
|
+
redisId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface GetRedisConnectionInfoResult {
|
|
8
|
+
readonly items: outputs.redis.RedisConnectionInfo;
|
|
9
|
+
}
|
|
10
|
+
export declare function getRedisConnectionInfoOutput(args: GetRedisConnectionInfoOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRedisConnectionInfoResult>;
|
|
11
|
+
export interface GetRedisConnectionInfoOutputArgs {
|
|
12
|
+
redisId: 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.getRedisConnectionInfoOutput = exports.getRedisConnectionInfo = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function getRedisConnectionInfo(args, opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("render:redis:getRedisConnectionInfo", {
|
|
11
|
+
"redisId": args.redisId,
|
|
12
|
+
}, opts);
|
|
13
|
+
}
|
|
14
|
+
exports.getRedisConnectionInfo = getRedisConnectionInfo;
|
|
15
|
+
function getRedisConnectionInfoOutput(args, opts) {
|
|
16
|
+
return pulumi.output(args).apply((a) => getRedisConnectionInfo(a, opts));
|
|
17
|
+
}
|
|
18
|
+
exports.getRedisConnectionInfoOutput = getRedisConnectionInfoOutput;
|
|
19
|
+
//# sourceMappingURL=getRedisConnectionInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRedisConnectionInfo.js","sourceRoot":"","sources":["../../redis/getRedisConnectionInfo.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wDAMC;AASD,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
|
package/redis/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { GetRediArgs, GetRediResult, GetRediOutputArgs } from "./getRedi";
|
|
2
|
+
export declare const getRedi: typeof import("./getRedi").getRedi;
|
|
3
|
+
export declare const getRediOutput: typeof import("./getRedi").getRediOutput;
|
|
4
|
+
export { GetRedisConnectionInfoArgs, GetRedisConnectionInfoResult, GetRedisConnectionInfoOutputArgs } from "./getRedisConnectionInfo";
|
|
5
|
+
export declare const getRedisConnectionInfo: typeof import("./getRedisConnectionInfo").getRedisConnectionInfo;
|
|
6
|
+
export declare const getRedisConnectionInfoOutput: typeof import("./getRedisConnectionInfo").getRedisConnectionInfoOutput;
|
|
7
|
+
export { ListRedisArgs, ListRedisResult } from "./listRedis";
|
|
8
|
+
export declare const listRedis: typeof import("./listRedis").listRedis;
|
|
9
|
+
export declare const listRedisOutput: typeof import("./listRedis").listRedisOutput;
|
|
10
|
+
export { RediArgs } from "./redi";
|
|
11
|
+
export type Redi = import("./redi").Redi;
|
|
12
|
+
export declare const Redi: typeof import("./redi").Redi;
|
|
13
|
+
export * from "../types/enums/redis";
|
package/redis/index.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
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.Redi = exports.listRedisOutput = exports.listRedis = exports.getRedisConnectionInfoOutput = exports.getRedisConnectionInfo = exports.getRediOutput = exports.getRedi = void 0;
|
|
20
|
+
const pulumi = require("@pulumi/pulumi");
|
|
21
|
+
const utilities = require("../utilities");
|
|
22
|
+
exports.getRedi = null;
|
|
23
|
+
exports.getRediOutput = null;
|
|
24
|
+
utilities.lazyLoad(exports, ["getRedi", "getRediOutput"], () => require("./getRedi"));
|
|
25
|
+
exports.getRedisConnectionInfo = null;
|
|
26
|
+
exports.getRedisConnectionInfoOutput = null;
|
|
27
|
+
utilities.lazyLoad(exports, ["getRedisConnectionInfo", "getRedisConnectionInfoOutput"], () => require("./getRedisConnectionInfo"));
|
|
28
|
+
exports.listRedis = null;
|
|
29
|
+
exports.listRedisOutput = null;
|
|
30
|
+
utilities.lazyLoad(exports, ["listRedis", "listRedisOutput"], () => require("./listRedis"));
|
|
31
|
+
exports.Redi = null;
|
|
32
|
+
utilities.lazyLoad(exports, ["Redi"], () => require("./redi"));
|
|
33
|
+
// Export enums:
|
|
34
|
+
__exportStar(require("../types/enums/redis"), exports);
|
|
35
|
+
const _module = {
|
|
36
|
+
version: utilities.getVersion(),
|
|
37
|
+
construct: (name, type, urn) => {
|
|
38
|
+
switch (type) {
|
|
39
|
+
case "render:redis:Redi":
|
|
40
|
+
return new exports.Redi(name, undefined, { urn });
|
|
41
|
+
default:
|
|
42
|
+
throw new Error(`unknown resource type ${type}`);
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
pulumi.runtime.registerResourceModule("render", "redis", _module);
|
|
47
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../redis/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,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,sBAAsB,GAAqE,IAAW,CAAC;AACvG,QAAA,4BAA4B,GAA2E,IAAW,CAAC;AAChI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,wBAAwB,EAAC,8BAA8B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC,CAAC;AAGrH,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,IAAI,GAAiC,IAAW,CAAC;AAC9D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;AAG/D,gBAAgB;AAChB,uDAAqC;AAErC,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;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 listRedis(args?: ListRedisArgs, opts?: pulumi.InvokeOptions): Promise<ListRedisResult>;
|
|
4
|
+
export interface ListRedisArgs {
|
|
5
|
+
}
|
|
6
|
+
export interface ListRedisResult {
|
|
7
|
+
readonly items: outputs.redis.ListRedisItemProperties[];
|
|
8
|
+
}
|
|
9
|
+
export declare function listRedisOutput(opts?: pulumi.InvokeOptions): pulumi.Output<ListRedisResult>;
|
|
@@ -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.listRedisOutput = exports.listRedis = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function listRedis(args, opts) {
|
|
9
|
+
args = args || {};
|
|
10
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
|
+
return pulumi.runtime.invoke("render:redis:listRedis", {}, opts);
|
|
12
|
+
}
|
|
13
|
+
exports.listRedis = listRedis;
|
|
14
|
+
function listRedisOutput(opts) {
|
|
15
|
+
return pulumi.output(listRedis(opts));
|
|
16
|
+
}
|
|
17
|
+
exports.listRedisOutput = listRedisOutput;
|
|
18
|
+
//# sourceMappingURL=listRedis.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listRedis.js","sourceRoot":"","sources":["../../redis/listRedis.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"}
|