@cloudyskysoftware/pulumi-render 0.2.1 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,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.listEnvGroupsOutput = exports.listEnvGroups = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function listEnvGroups(args, opts) {
|
|
9
|
+
args = args || {};
|
|
10
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
|
+
return pulumi.runtime.invoke("render:env-groups:listEnvGroups", {}, opts);
|
|
12
|
+
}
|
|
13
|
+
exports.listEnvGroups = listEnvGroups;
|
|
14
|
+
function listEnvGroupsOutput(opts) {
|
|
15
|
+
return pulumi.output(listEnvGroups(opts));
|
|
16
|
+
}
|
|
17
|
+
exports.listEnvGroupsOutput = listEnvGroupsOutput;
|
|
18
|
+
//# sourceMappingURL=listEnvGroups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listEnvGroups.js","sourceRoot":"","sources":["../../envgroups/listEnvGroups.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,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,iCAAiC,EAAE,EAC/D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AAQD,SAAgB,mBAAmB,CAAC,IAA2B;IAC3D,OAAO,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;AAC7C,CAAC;AAFD,kDAEC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as enums from "../types/enums";
|
|
3
|
+
export declare class Environment extends pulumi.CustomResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get an existing Environment resource's state with the given name, ID, and optional extra
|
|
6
|
+
* properties used to qualify the lookup.
|
|
7
|
+
*
|
|
8
|
+
* @param name The _unique_ name of the resulting resource.
|
|
9
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Environment;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of Environment. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is Environment;
|
|
18
|
+
readonly databasesIds: pulumi.Output<string[]>;
|
|
19
|
+
readonly envGroupIds: pulumi.Output<string[]>;
|
|
20
|
+
readonly name: pulumi.Output<string>;
|
|
21
|
+
readonly projectId: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Indicates whether an environment is `unprotected` or `protected`. Only admin users can perform destructive actions in `protected` environments.
|
|
24
|
+
*/
|
|
25
|
+
readonly protectedStatus: pulumi.Output<enums.environments.ProtectedStatus>;
|
|
26
|
+
readonly redisIds: pulumi.Output<string[]>;
|
|
27
|
+
readonly serviceIds: pulumi.Output<string[]>;
|
|
28
|
+
/**
|
|
29
|
+
* Create a Environment resource with the given unique name, arguments, and options.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resource.
|
|
32
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
33
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
34
|
+
*/
|
|
35
|
+
constructor(name: string, args: EnvironmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The set of arguments for constructing a Environment resource.
|
|
39
|
+
*/
|
|
40
|
+
export interface EnvironmentArgs {
|
|
41
|
+
name?: pulumi.Input<string>;
|
|
42
|
+
projectId: pulumi.Input<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Indicates whether an environment is `unprotected` or `protected`. Only admin users can perform destructive actions in `protected` environments.
|
|
45
|
+
*/
|
|
46
|
+
protectedStatus?: pulumi.Input<enums.environments.ProtectedStatus>;
|
|
47
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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.Environment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
class Environment extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing Environment 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 Environment(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of Environment. 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'] === Environment.__pulumiType;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Create a Environment 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.projectId === undefined) && !opts.urn) {
|
|
42
|
+
throw new Error("Missing required property 'projectId'");
|
|
43
|
+
}
|
|
44
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
45
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
46
|
+
resourceInputs["protectedStatus"] = args ? args.protectedStatus : undefined;
|
|
47
|
+
resourceInputs["databasesIds"] = undefined /*out*/;
|
|
48
|
+
resourceInputs["envGroupIds"] = undefined /*out*/;
|
|
49
|
+
resourceInputs["redisIds"] = undefined /*out*/;
|
|
50
|
+
resourceInputs["serviceIds"] = undefined /*out*/;
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
resourceInputs["databasesIds"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["envGroupIds"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["projectId"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["protectedStatus"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["redisIds"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["serviceIds"] = undefined /*out*/;
|
|
60
|
+
}
|
|
61
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
62
|
+
super(Environment.__pulumiType, name, resourceInputs, opts);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.Environment = Environment;
|
|
66
|
+
/** @internal */
|
|
67
|
+
Environment.__pulumiType = 'render:environments:Environment';
|
|
68
|
+
//# sourceMappingURL=environment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../environments/environment.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,WAAW,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAaD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAqB,EAAE,IAAmC;QAChF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;aAAM;YACH,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAtEL,kCAuEC;AA1DG,gBAAgB;AACO,wBAAY,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 getEnvironment(args: GetEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise<GetEnvironmentResult>;
|
|
4
|
+
export interface GetEnvironmentArgs {
|
|
5
|
+
environmentId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface GetEnvironmentResult {
|
|
8
|
+
readonly items: outputs.environments.Environment;
|
|
9
|
+
}
|
|
10
|
+
export declare function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEnvironmentResult>;
|
|
11
|
+
export interface GetEnvironmentOutputArgs {
|
|
12
|
+
environmentId: 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.getEnvironmentOutput = exports.getEnvironment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function getEnvironment(args, opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("render:environments:getEnvironment", {
|
|
11
|
+
"environmentId": args.environmentId,
|
|
12
|
+
}, opts);
|
|
13
|
+
}
|
|
14
|
+
exports.getEnvironment = getEnvironment;
|
|
15
|
+
function getEnvironmentOutput(args, opts) {
|
|
16
|
+
return pulumi.output(args).apply((a) => getEnvironment(a, opts));
|
|
17
|
+
}
|
|
18
|
+
exports.getEnvironmentOutput = getEnvironmentOutput;
|
|
19
|
+
//# sourceMappingURL=getEnvironment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEnvironment.js","sourceRoot":"","sources":["../../environments/getEnvironment.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,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,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AASD,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { EnvironmentArgs } from "./environment";
|
|
2
|
+
export type Environment = import("./environment").Environment;
|
|
3
|
+
export declare const Environment: typeof import("./environment").Environment;
|
|
4
|
+
export { GetEnvironmentArgs, GetEnvironmentResult, GetEnvironmentOutputArgs } from "./getEnvironment";
|
|
5
|
+
export declare const getEnvironment: typeof import("./getEnvironment").getEnvironment;
|
|
6
|
+
export declare const getEnvironmentOutput: typeof import("./getEnvironment").getEnvironmentOutput;
|
|
7
|
+
export { ListEnvironmentsArgs, ListEnvironmentsResult } from "./listEnvironments";
|
|
8
|
+
export declare const listEnvironments: typeof import("./listEnvironments").listEnvironments;
|
|
9
|
+
export declare const listEnvironmentsOutput: typeof import("./listEnvironments").listEnvironmentsOutput;
|
|
10
|
+
export { ResourcesToEnvironmentArgs } from "./resourcesToEnvironment";
|
|
11
|
+
export type ResourcesToEnvironment = import("./resourcesToEnvironment").ResourcesToEnvironment;
|
|
12
|
+
export declare const ResourcesToEnvironment: typeof import("./resourcesToEnvironment").ResourcesToEnvironment;
|
|
13
|
+
export * from "../types/enums/environments";
|
|
@@ -0,0 +1,48 @@
|
|
|
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.ResourcesToEnvironment = exports.listEnvironmentsOutput = exports.listEnvironments = exports.getEnvironmentOutput = exports.getEnvironment = exports.Environment = void 0;
|
|
20
|
+
const pulumi = require("@pulumi/pulumi");
|
|
21
|
+
const utilities = require("../utilities");
|
|
22
|
+
exports.Environment = null;
|
|
23
|
+
utilities.lazyLoad(exports, ["Environment"], () => require("./environment"));
|
|
24
|
+
exports.getEnvironment = null;
|
|
25
|
+
exports.getEnvironmentOutput = null;
|
|
26
|
+
utilities.lazyLoad(exports, ["getEnvironment", "getEnvironmentOutput"], () => require("./getEnvironment"));
|
|
27
|
+
exports.listEnvironments = null;
|
|
28
|
+
exports.listEnvironmentsOutput = null;
|
|
29
|
+
utilities.lazyLoad(exports, ["listEnvironments", "listEnvironmentsOutput"], () => require("./listEnvironments"));
|
|
30
|
+
exports.ResourcesToEnvironment = null;
|
|
31
|
+
utilities.lazyLoad(exports, ["ResourcesToEnvironment"], () => require("./resourcesToEnvironment"));
|
|
32
|
+
// Export enums:
|
|
33
|
+
__exportStar(require("../types/enums/environments"), exports);
|
|
34
|
+
const _module = {
|
|
35
|
+
version: utilities.getVersion(),
|
|
36
|
+
construct: (name, type, urn) => {
|
|
37
|
+
switch (type) {
|
|
38
|
+
case "render:environments:Environment":
|
|
39
|
+
return new exports.Environment(name, undefined, { urn });
|
|
40
|
+
case "render:environments:ResourcesToEnvironment":
|
|
41
|
+
return new exports.ResourcesToEnvironment(name, undefined, { urn });
|
|
42
|
+
default:
|
|
43
|
+
throw new Error(`unknown resource type ${type}`);
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
pulumi.runtime.registerResourceModule("render", "environments", _module);
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../environments/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAGhE,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC/E,QAAA,oBAAoB,GAA2D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,EAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAG7F,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AACrF,QAAA,sBAAsB,GAA+D,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,EAAC,wBAAwB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAInG,QAAA,sBAAsB,GAAqE,IAAW,CAAC;AACpH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,wBAAwB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC,CAAC;AAGnG,gBAAgB;AAChB,8DAA4C;AAE5C,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,iCAAiC;gBAClC,OAAO,IAAI,mBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD,KAAK,4CAA4C;gBAC7C,OAAO,IAAI,8BAAsB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,cAAc,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 listEnvironments(args?: ListEnvironmentsArgs, opts?: pulumi.InvokeOptions): Promise<ListEnvironmentsResult>;
|
|
4
|
+
export interface ListEnvironmentsArgs {
|
|
5
|
+
}
|
|
6
|
+
export interface ListEnvironmentsResult {
|
|
7
|
+
readonly items: outputs.environments.EnvironmentWithCursor[];
|
|
8
|
+
}
|
|
9
|
+
export declare function listEnvironmentsOutput(opts?: pulumi.InvokeOptions): pulumi.Output<ListEnvironmentsResult>;
|
|
@@ -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.listEnvironmentsOutput = exports.listEnvironments = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function listEnvironments(args, opts) {
|
|
9
|
+
args = args || {};
|
|
10
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
|
+
return pulumi.runtime.invoke("render:environments:listEnvironments", {}, opts);
|
|
12
|
+
}
|
|
13
|
+
exports.listEnvironments = listEnvironments;
|
|
14
|
+
function listEnvironmentsOutput(opts) {
|
|
15
|
+
return pulumi.output(listEnvironments(opts));
|
|
16
|
+
}
|
|
17
|
+
exports.listEnvironmentsOutput = listEnvironmentsOutput;
|
|
18
|
+
//# sourceMappingURL=listEnvironments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listEnvironments.js","sourceRoot":"","sources":["../../environments/listEnvironments.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,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,sCAAsC,EAAE,EACpE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AAQD,SAAgB,sBAAsB,CAAC,IAA2B;IAC9D,OAAO,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAA;AAChD,CAAC;AAFD,wDAEC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as enums from "../types/enums";
|
|
3
|
+
export declare class ResourcesToEnvironment extends pulumi.CustomResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get an existing ResourcesToEnvironment resource's state with the given name, ID, and optional extra
|
|
6
|
+
* properties used to qualify the lookup.
|
|
7
|
+
*
|
|
8
|
+
* @param name The _unique_ name of the resulting resource.
|
|
9
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ResourcesToEnvironment;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of ResourcesToEnvironment. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is ResourcesToEnvironment;
|
|
18
|
+
readonly databasesIds: pulumi.Output<string[]>;
|
|
19
|
+
readonly envGroupIds: pulumi.Output<string[]>;
|
|
20
|
+
readonly name: pulumi.Output<string>;
|
|
21
|
+
readonly projectId: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Indicates whether an environment is `unprotected` or `protected`. Only admin users can perform destructive actions in `protected` environments.
|
|
24
|
+
*/
|
|
25
|
+
readonly protectedStatus: pulumi.Output<enums.environments.ProtectedStatus>;
|
|
26
|
+
readonly redisIds: pulumi.Output<string[]>;
|
|
27
|
+
readonly resourceIds: pulumi.Output<string[]>;
|
|
28
|
+
readonly serviceIds: pulumi.Output<string[]>;
|
|
29
|
+
/**
|
|
30
|
+
* Create a ResourcesToEnvironment resource with the given unique name, arguments, and options.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resource.
|
|
33
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
34
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
35
|
+
*/
|
|
36
|
+
constructor(name: string, args: ResourcesToEnvironmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The set of arguments for constructing a ResourcesToEnvironment resource.
|
|
40
|
+
*/
|
|
41
|
+
export interface ResourcesToEnvironmentArgs {
|
|
42
|
+
environmentId?: pulumi.Input<string>;
|
|
43
|
+
resourceIds: pulumi.Input<pulumi.Input<string>[]>;
|
|
44
|
+
}
|
|
@@ -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.ResourcesToEnvironment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
class ResourcesToEnvironment extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing ResourcesToEnvironment 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 ResourcesToEnvironment(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of ResourcesToEnvironment. 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'] === ResourcesToEnvironment.__pulumiType;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Create a ResourcesToEnvironment 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.resourceIds === undefined) && !opts.urn) {
|
|
42
|
+
throw new Error("Missing required property 'resourceIds'");
|
|
43
|
+
}
|
|
44
|
+
resourceInputs["environmentId"] = args ? args.environmentId : undefined;
|
|
45
|
+
resourceInputs["resourceIds"] = args ? args.resourceIds : undefined;
|
|
46
|
+
resourceInputs["databasesIds"] = undefined /*out*/;
|
|
47
|
+
resourceInputs["envGroupIds"] = undefined /*out*/;
|
|
48
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
49
|
+
resourceInputs["projectId"] = undefined /*out*/;
|
|
50
|
+
resourceInputs["protectedStatus"] = undefined /*out*/;
|
|
51
|
+
resourceInputs["redisIds"] = undefined /*out*/;
|
|
52
|
+
resourceInputs["serviceIds"] = undefined /*out*/;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
resourceInputs["databasesIds"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["envGroupIds"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["projectId"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["protectedStatus"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["redisIds"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["resourceIds"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["serviceIds"] = undefined /*out*/;
|
|
63
|
+
}
|
|
64
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
65
|
+
super(ResourcesToEnvironment.__pulumiType, name, resourceInputs, opts);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.ResourcesToEnvironment = ResourcesToEnvironment;
|
|
69
|
+
/** @internal */
|
|
70
|
+
ResourcesToEnvironment.__pulumiType = 'render:environments:ResourcesToEnvironment';
|
|
71
|
+
//# sourceMappingURL=resourcesToEnvironment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resourcesToEnvironment.js","sourceRoot":"","sources":["../../environments/resourcesToEnvironment.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnF,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,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IAcD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAgC,EAAE,IAAmC;QAC3F,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,WAAW,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxD,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;aAAM;YACH,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AA1EL,wDA2EC;AA9DG,gBAAgB;AACO,mCAAY,GAAG,4CAA4C,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
export { ProviderArgs } from "./provider";
|
|
2
2
|
export type Provider = import("./provider").Provider;
|
|
3
3
|
export declare const Provider: typeof import("./provider").Provider;
|
|
4
|
+
import * as blueprints from "./blueprints";
|
|
4
5
|
import * as config from "./config";
|
|
6
|
+
import * as cronjobs from "./cronjobs";
|
|
7
|
+
import * as disks from "./disks";
|
|
8
|
+
import * as envgroups from "./envgroups";
|
|
9
|
+
import * as environments from "./environments";
|
|
10
|
+
import * as metrics from "./metrics";
|
|
11
|
+
import * as notificationsettings from "./notificationsettings";
|
|
5
12
|
import * as owners from "./owners";
|
|
13
|
+
import * as postgres from "./postgres";
|
|
14
|
+
import * as projects from "./projects";
|
|
15
|
+
import * as redis from "./redis";
|
|
6
16
|
import * as registrycredentials from "./registrycredentials";
|
|
7
17
|
import * as services from "./services";
|
|
8
18
|
import * as types from "./types";
|
|
9
|
-
export { config, owners, registrycredentials, services, types, };
|
|
19
|
+
export { blueprints, config, cronjobs, disks, envgroups, environments, metrics, notificationsettings, owners, postgres, projects, redis, registrycredentials, services, types, };
|
package/index.js
CHANGED
|
@@ -2,16 +2,36 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.types = exports.services = exports.registrycredentials = exports.owners = exports.config = exports.Provider = void 0;
|
|
5
|
+
exports.types = exports.services = exports.registrycredentials = exports.redis = exports.projects = exports.postgres = exports.owners = exports.notificationsettings = exports.metrics = exports.environments = exports.envgroups = exports.disks = exports.cronjobs = exports.config = exports.blueprints = exports.Provider = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
exports.Provider = null;
|
|
9
9
|
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
10
10
|
// Export sub-modules:
|
|
11
|
+
const blueprints = require("./blueprints");
|
|
12
|
+
exports.blueprints = blueprints;
|
|
11
13
|
const config = require("./config");
|
|
12
14
|
exports.config = config;
|
|
15
|
+
const cronjobs = require("./cronjobs");
|
|
16
|
+
exports.cronjobs = cronjobs;
|
|
17
|
+
const disks = require("./disks");
|
|
18
|
+
exports.disks = disks;
|
|
19
|
+
const envgroups = require("./envgroups");
|
|
20
|
+
exports.envgroups = envgroups;
|
|
21
|
+
const environments = require("./environments");
|
|
22
|
+
exports.environments = environments;
|
|
23
|
+
const metrics = require("./metrics");
|
|
24
|
+
exports.metrics = metrics;
|
|
25
|
+
const notificationsettings = require("./notificationsettings");
|
|
26
|
+
exports.notificationsettings = notificationsettings;
|
|
13
27
|
const owners = require("./owners");
|
|
14
28
|
exports.owners = owners;
|
|
29
|
+
const postgres = require("./postgres");
|
|
30
|
+
exports.postgres = postgres;
|
|
31
|
+
const projects = require("./projects");
|
|
32
|
+
exports.projects = projects;
|
|
33
|
+
const redis = require("./redis");
|
|
34
|
+
exports.redis = redis;
|
|
15
35
|
const registrycredentials = require("./registrycredentials");
|
|
16
36
|
exports.registrycredentials = registrycredentials;
|
|
17
37
|
const services = require("./services");
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,sBAAsB;AACtB,mCAAmC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,sBAAsB;AACtB,2CAA2C;AAiBvC,gCAAU;AAhBd,mCAAmC;AAiB/B,wBAAM;AAhBV,uCAAuC;AAiBnC,4BAAQ;AAhBZ,iCAAiC;AAiB7B,sBAAK;AAhBT,yCAAyC;AAiBrC,8BAAS;AAhBb,+CAA+C;AAiB3C,oCAAY;AAhBhB,qCAAqC;AAiBjC,0BAAO;AAhBX,+DAA+D;AAiB3D,oDAAoB;AAhBxB,mCAAmC;AAiB/B,wBAAM;AAhBV,uCAAuC;AAiBnC,4BAAQ;AAhBZ,uCAAuC;AAiBnC,4BAAQ;AAhBZ,iCAAiC;AAiB7B,sBAAK;AAhBT,6DAA6D;AAiBzD,kDAAmB;AAhBvB,uCAAuC;AAiBnC,4BAAQ;AAhBZ,iCAAiC;AAiB7B,sBAAK;AAET,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,QAAQ,EAAE;IAC7C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,yBAAyB,EAAE;YACpC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { ListActiveConnectionsArgs, ListActiveConnectionsResult } from "./listActiveConnections";
|
|
2
|
+
export declare const listActiveConnections: typeof import("./listActiveConnections").listActiveConnections;
|
|
3
|
+
export declare const listActiveConnectionsOutput: typeof import("./listActiveConnections").listActiveConnectionsOutput;
|
|
4
|
+
export { ListReplicationLagArgs, ListReplicationLagResult } from "./listReplicationLag";
|
|
5
|
+
export declare const listReplicationLag: typeof import("./listReplicationLag").listReplicationLag;
|
|
6
|
+
export declare const listReplicationLagOutput: typeof import("./listReplicationLag").listReplicationLagOutput;
|
package/metrics/index.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
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.listReplicationLagOutput = exports.listReplicationLag = exports.listActiveConnectionsOutput = exports.listActiveConnections = void 0;
|
|
6
|
+
const utilities = require("../utilities");
|
|
7
|
+
exports.listActiveConnections = null;
|
|
8
|
+
exports.listActiveConnectionsOutput = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["listActiveConnections", "listActiveConnectionsOutput"], () => require("./listActiveConnections"));
|
|
10
|
+
exports.listReplicationLag = null;
|
|
11
|
+
exports.listReplicationLagOutput = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["listReplicationLag", "listReplicationLagOutput"], () => require("./listReplicationLag"));
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../metrics/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,0CAA0C;AAI7B,QAAA,qBAAqB,GAAmE,IAAW,CAAC;AACpG,QAAA,2BAA2B,GAAyE,IAAW,CAAC;AAC7H,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,uBAAuB,EAAC,6BAA6B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,CAAC;AAGlH,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AAC3F,QAAA,wBAAwB,GAAmE,IAAW,CAAC;AACpH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,EAAC,0BAA0B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
export declare function listActiveConnections(args?: ListActiveConnectionsArgs, opts?: pulumi.InvokeOptions): Promise<ListActiveConnectionsResult>;
|
|
4
|
+
export interface ListActiveConnectionsArgs {
|
|
5
|
+
}
|
|
6
|
+
export interface ListActiveConnectionsResult {
|
|
7
|
+
readonly items: outputs.metrics.ListActiveConnectionsItemProperties[];
|
|
8
|
+
}
|
|
9
|
+
export declare function listActiveConnectionsOutput(opts?: pulumi.InvokeOptions): pulumi.Output<ListActiveConnectionsResult>;
|
|
@@ -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.listActiveConnectionsOutput = exports.listActiveConnections = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function listActiveConnections(args, opts) {
|
|
9
|
+
args = args || {};
|
|
10
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
|
+
return pulumi.runtime.invoke("render:metrics:listActiveConnections", {}, opts);
|
|
12
|
+
}
|
|
13
|
+
exports.listActiveConnections = listActiveConnections;
|
|
14
|
+
function listActiveConnectionsOutput(opts) {
|
|
15
|
+
return pulumi.output(listActiveConnections(opts));
|
|
16
|
+
}
|
|
17
|
+
exports.listActiveConnectionsOutput = listActiveConnectionsOutput;
|
|
18
|
+
//# sourceMappingURL=listActiveConnections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listActiveConnections.js","sourceRoot":"","sources":["../../metrics/listActiveConnections.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,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,sCAAsC,EAAE,EACpE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AAQD,SAAgB,2BAA2B,CAAC,IAA2B;IACnE,OAAO,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAA;AACrD,CAAC;AAFD,kEAEC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
export declare function listReplicationLag(args?: ListReplicationLagArgs, opts?: pulumi.InvokeOptions): Promise<ListReplicationLagResult>;
|
|
4
|
+
export interface ListReplicationLagArgs {
|
|
5
|
+
}
|
|
6
|
+
export interface ListReplicationLagResult {
|
|
7
|
+
readonly items: outputs.metrics.ListReplicationLagItemProperties[];
|
|
8
|
+
}
|
|
9
|
+
export declare function listReplicationLagOutput(opts?: pulumi.InvokeOptions): pulumi.Output<ListReplicationLagResult>;
|
|
@@ -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.listReplicationLagOutput = exports.listReplicationLag = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function listReplicationLag(args, opts) {
|
|
9
|
+
args = args || {};
|
|
10
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
|
+
return pulumi.runtime.invoke("render:metrics:listReplicationLag", {}, opts);
|
|
12
|
+
}
|
|
13
|
+
exports.listReplicationLag = listReplicationLag;
|
|
14
|
+
function listReplicationLagOutput(opts) {
|
|
15
|
+
return pulumi.output(listReplicationLag(opts));
|
|
16
|
+
}
|
|
17
|
+
exports.listReplicationLagOutput = listReplicationLagOutput;
|
|
18
|
+
//# sourceMappingURL=listReplicationLag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listReplicationLag.js","sourceRoot":"","sources":["../../metrics/listReplicationLag.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,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,mCAAmC,EAAE,EACjE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC;AAQD,SAAgB,wBAAwB,CAAC,IAA2B;IAChE,OAAO,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAA;AAClD,CAAC;AAFD,4DAEC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
export declare function getOwnerNotificationSetting(args: GetOwnerNotificationSettingArgs, opts?: pulumi.InvokeOptions): Promise<GetOwnerNotificationSettingResult>;
|
|
4
|
+
export interface GetOwnerNotificationSettingArgs {
|
|
5
|
+
/**
|
|
6
|
+
* The ID of the owner (team or personal user) whose resources should be returned
|
|
7
|
+
*/
|
|
8
|
+
ownerId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetOwnerNotificationSettingResult {
|
|
11
|
+
readonly items: outputs.notificationsettings.GetOwnerNotificationSettingProperties;
|
|
12
|
+
}
|
|
13
|
+
export declare function getOwnerNotificationSettingOutput(args: GetOwnerNotificationSettingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOwnerNotificationSettingResult>;
|
|
14
|
+
export interface GetOwnerNotificationSettingOutputArgs {
|
|
15
|
+
/**
|
|
16
|
+
* The ID of the owner (team or personal user) whose resources should be returned
|
|
17
|
+
*/
|
|
18
|
+
ownerId: 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.getOwnerNotificationSettingOutput = exports.getOwnerNotificationSetting = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function getOwnerNotificationSetting(args, opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("render:notification-settings:getOwnerNotificationSetting", {
|
|
11
|
+
"ownerId": args.ownerId,
|
|
12
|
+
}, opts);
|
|
13
|
+
}
|
|
14
|
+
exports.getOwnerNotificationSetting = getOwnerNotificationSetting;
|
|
15
|
+
function getOwnerNotificationSettingOutput(args, opts) {
|
|
16
|
+
return pulumi.output(args).apply((a) => getOwnerNotificationSetting(a, opts));
|
|
17
|
+
}
|
|
18
|
+
exports.getOwnerNotificationSettingOutput = getOwnerNotificationSettingOutput;
|
|
19
|
+
//# sourceMappingURL=getOwnerNotificationSetting.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOwnerNotificationSetting.js","sourceRoot":"","sources":["../../notificationsettings/getOwnerNotificationSetting.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAE1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC;AAYD,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IACtH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,2BAA2B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtF,CAAC;AAFD,8EAEC"}
|