@rpothin/powerplatform 0.1.21 → 0.1.23
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/bin/billingPolicy.d.ts +76 -0
- package/bin/billingPolicy.d.ts.map +1 -0
- package/{billingPolicy.ts → bin/billingPolicy.js} +39 -64
- package/bin/billingPolicy.js.map +1 -0
- package/bin/config/index.d.ts +2 -0
- package/bin/config/index.d.ts.map +1 -0
- package/bin/config/index.js +21 -0
- package/bin/config/index.js.map +1 -0
- package/bin/config/vars.d.ts +13 -0
- package/bin/config/vars.d.ts.map +1 -0
- package/bin/config/vars.js +48 -0
- package/bin/config/vars.js.map +1 -0
- package/bin/dlpPolicy.d.ts +64 -0
- package/bin/dlpPolicy.d.ts.map +1 -0
- package/{dlpPolicy.ts → bin/dlpPolicy.js} +39 -52
- package/bin/dlpPolicy.js.map +1 -0
- package/bin/environment.d.ts +106 -0
- package/bin/environment.d.ts.map +1 -0
- package/{environment.ts → bin/environment.js} +39 -94
- package/bin/environment.js.map +1 -0
- package/bin/environmentBackup.d.ts +58 -0
- package/bin/environmentBackup.d.ts.map +1 -0
- package/{environmentBackup.ts → bin/environmentBackup.js} +39 -46
- package/bin/environmentBackup.js.map +1 -0
- package/bin/environmentGroup.d.ts +66 -0
- package/bin/environmentGroup.d.ts.map +1 -0
- package/{environmentGroup.ts → bin/environmentGroup.js} +39 -54
- package/bin/environmentGroup.js.map +1 -0
- package/bin/environmentSettings.d.ts +82 -0
- package/bin/environmentSettings.d.ts.map +1 -0
- package/{environmentSettings.ts → bin/environmentSettings.js} +39 -70
- package/bin/environmentSettings.js.map +1 -0
- package/bin/getApps.d.ts +29 -0
- package/bin/getApps.d.ts.map +1 -0
- package/bin/getApps.js +51 -0
- package/bin/getApps.js.map +1 -0
- package/bin/getConnectors.d.ts +29 -0
- package/bin/getConnectors.d.ts.map +1 -0
- package/bin/getConnectors.js +51 -0
- package/bin/getConnectors.js.map +1 -0
- package/{getEnvironments.ts → bin/getEnvironments.d.ts} +3 -25
- package/bin/getEnvironments.d.ts.map +1 -0
- package/bin/getEnvironments.js +55 -0
- package/bin/getEnvironments.js.map +1 -0
- package/bin/getFlows.d.ts +29 -0
- package/bin/getFlows.d.ts.map +1 -0
- package/bin/getFlows.js +51 -0
- package/bin/getFlows.js.map +1 -0
- package/bin/index.d.ts +46 -0
- package/bin/index.d.ts.map +1 -0
- package/bin/index.js +105 -0
- package/bin/index.js.map +1 -0
- package/bin/isvContract.d.ts +66 -0
- package/bin/isvContract.d.ts.map +1 -0
- package/{isvContract.ts → bin/isvContract.js} +39 -54
- package/bin/isvContract.js.map +1 -0
- package/bin/managedEnvironment.d.ts +46 -0
- package/bin/managedEnvironment.d.ts.map +1 -0
- package/{managedEnvironment.ts → bin/managedEnvironment.js} +39 -34
- package/bin/managedEnvironment.js.map +1 -0
- package/bin/package.json +31 -0
- package/bin/provider.d.ts +22 -0
- package/bin/provider.d.ts.map +1 -0
- package/bin/provider.js +61 -0
- package/bin/provider.js.map +1 -0
- package/bin/roleAssignment.d.ts +70 -0
- package/bin/roleAssignment.d.ts.map +1 -0
- package/{roleAssignment.ts → bin/roleAssignment.js} +39 -58
- package/bin/roleAssignment.js.map +1 -0
- package/bin/types/index.d.ts +4 -0
- package/bin/types/index.d.ts.map +1 -0
- package/bin/types/index.js +34 -0
- package/bin/types/index.js.map +1 -0
- package/{types/input.ts → bin/types/input.d.ts} +4 -8
- package/bin/types/input.d.ts.map +1 -0
- package/{config/index.ts → bin/types/input.js} +3 -3
- package/bin/types/input.js.map +1 -0
- package/{types/output.ts → bin/types/output.d.ts} +4 -14
- package/bin/types/output.d.ts.map +1 -0
- package/bin/types/output.js +5 -0
- package/bin/types/output.js.map +1 -0
- package/bin/utilities.d.ts +5 -0
- package/bin/utilities.d.ts.map +1 -0
- package/{utilities.ts → bin/utilities.js} +46 -28
- package/bin/utilities.js.map +1 -0
- package/package.json +6 -1
- package/.gitattributes +0 -1
- package/config/vars.ts +0 -42
- package/getApps.ts +0 -47
- package/getConnectors.ts +0 -47
- package/getFlows.ts +0 -47
- package/index.ts +0 -124
- package/provider.ts +0 -44
- package/tsconfig.json +0 -44
- package/types/index.ts +0 -13
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../environment.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,WAAW;IAO9G;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,WAAW;IAOtD;;OAEG;IACH,SAAgC,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/E;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtE;;OAEG;IACH,SAAwB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/D;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,SAAgC,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpF;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACxD;;OAEG;IACH,SAAgC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzE;;OAEG;IACH,SAAgC,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAEvE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAwCvF;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAClC"}
|
|
@@ -1,13 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Environment = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
7
31
|
/**
|
|
8
32
|
* Manages a Power Platform environment. Environments are containers for apps, flows, data, and other resources. Uses the BAP admin REST API for lifecycle management.
|
|
9
33
|
*/
|
|
10
|
-
|
|
34
|
+
class Environment extends pulumi.CustomResource {
|
|
11
35
|
/**
|
|
12
36
|
* Get an existing Environment resource's state with the given name, ID, and optional extra
|
|
13
37
|
* properties used to qualify the lookup.
|
|
@@ -16,69 +40,21 @@ export class Environment extends pulumi.CustomResource {
|
|
|
16
40
|
* @param id The _unique_ provider ID of the resource to lookup.
|
|
17
41
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
18
42
|
*/
|
|
19
|
-
|
|
20
|
-
return new Environment(name, undefined
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new Environment(name, undefined, { ...opts, id: id });
|
|
21
45
|
}
|
|
22
|
-
|
|
23
46
|
/** @internal */
|
|
24
|
-
|
|
25
|
-
|
|
47
|
+
static __pulumiType = 'powerplatform:index:Environment';
|
|
26
48
|
/**
|
|
27
49
|
* Returns true if the given object is an instance of Environment. This is designed to work even
|
|
28
50
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
51
|
*/
|
|
30
|
-
|
|
52
|
+
static isInstance(obj) {
|
|
31
53
|
if (obj === undefined || obj === null) {
|
|
32
54
|
return false;
|
|
33
55
|
}
|
|
34
56
|
return obj['__pulumiType'] === Environment.__pulumiType;
|
|
35
57
|
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* The timestamp when the environment was created.
|
|
39
|
-
*/
|
|
40
|
-
declare public /*out*/ readonly createdTime: pulumi.Output<string | undefined>;
|
|
41
|
-
/**
|
|
42
|
-
* The currency code of the Dataverse database.
|
|
43
|
-
*/
|
|
44
|
-
declare public readonly currencyCode: pulumi.Output<string | undefined>;
|
|
45
|
-
/**
|
|
46
|
-
* The description of the environment.
|
|
47
|
-
*/
|
|
48
|
-
declare public readonly description: pulumi.Output<string | undefined>;
|
|
49
|
-
/**
|
|
50
|
-
* The display name of the environment.
|
|
51
|
-
*/
|
|
52
|
-
declare public readonly displayName: pulumi.Output<string>;
|
|
53
|
-
/**
|
|
54
|
-
* The domain name of the Dataverse database.
|
|
55
|
-
*/
|
|
56
|
-
declare public readonly domainName: pulumi.Output<string | undefined>;
|
|
57
|
-
/**
|
|
58
|
-
* The type (SKU) of the environment.
|
|
59
|
-
*/
|
|
60
|
-
declare public readonly environmentType: pulumi.Output<string>;
|
|
61
|
-
/**
|
|
62
|
-
* The base language code of the Dataverse database.
|
|
63
|
-
*/
|
|
64
|
-
declare public readonly languageCode: pulumi.Output<string | undefined>;
|
|
65
|
-
/**
|
|
66
|
-
* The timestamp when the environment was last modified.
|
|
67
|
-
*/
|
|
68
|
-
declare public /*out*/ readonly lastModifiedTime: pulumi.Output<string | undefined>;
|
|
69
|
-
/**
|
|
70
|
-
* The geographic region of the environment.
|
|
71
|
-
*/
|
|
72
|
-
declare public readonly location: pulumi.Output<string>;
|
|
73
|
-
/**
|
|
74
|
-
* The current state of the environment (e.g., Ready, Preparing).
|
|
75
|
-
*/
|
|
76
|
-
declare public /*out*/ readonly state: pulumi.Output<string | undefined>;
|
|
77
|
-
/**
|
|
78
|
-
* The Dataverse instance URL of the environment.
|
|
79
|
-
*/
|
|
80
|
-
declare public /*out*/ readonly url: pulumi.Output<string | undefined>;
|
|
81
|
-
|
|
82
58
|
/**
|
|
83
59
|
* Create a Environment resource with the given unique name, arguments, and options.
|
|
84
60
|
*
|
|
@@ -86,8 +62,8 @@ export class Environment extends pulumi.CustomResource {
|
|
|
86
62
|
* @param args The arguments to use to populate this resource's properties.
|
|
87
63
|
* @param opts A bag of options that control this resource's behavior.
|
|
88
64
|
*/
|
|
89
|
-
constructor(name
|
|
90
|
-
let resourceInputs
|
|
65
|
+
constructor(name, args, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
91
67
|
opts = opts || {};
|
|
92
68
|
if (!opts.id) {
|
|
93
69
|
if (args?.displayName === undefined && !opts.urn) {
|
|
@@ -110,7 +86,8 @@ export class Environment extends pulumi.CustomResource {
|
|
|
110
86
|
resourceInputs["lastModifiedTime"] = undefined /*out*/;
|
|
111
87
|
resourceInputs["state"] = undefined /*out*/;
|
|
112
88
|
resourceInputs["url"] = undefined /*out*/;
|
|
113
|
-
}
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
114
91
|
resourceInputs["createdTime"] = undefined /*out*/;
|
|
115
92
|
resourceInputs["currencyCode"] = undefined /*out*/;
|
|
116
93
|
resourceInputs["description"] = undefined /*out*/;
|
|
@@ -127,37 +104,5 @@ export class Environment extends pulumi.CustomResource {
|
|
|
127
104
|
super(Environment.__pulumiType, name, resourceInputs, opts);
|
|
128
105
|
}
|
|
129
106
|
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
* The set of arguments for constructing a Environment resource.
|
|
133
|
-
*/
|
|
134
|
-
export interface EnvironmentArgs {
|
|
135
|
-
/**
|
|
136
|
-
* The currency code for the Dataverse database (e.g., USD, EUR).
|
|
137
|
-
*/
|
|
138
|
-
currencyCode?: pulumi.Input<string>;
|
|
139
|
-
/**
|
|
140
|
-
* A description of the environment.
|
|
141
|
-
*/
|
|
142
|
-
description?: pulumi.Input<string>;
|
|
143
|
-
/**
|
|
144
|
-
* The display name of the environment.
|
|
145
|
-
*/
|
|
146
|
-
displayName: pulumi.Input<string>;
|
|
147
|
-
/**
|
|
148
|
-
* The domain name for the Dataverse database associated with the environment.
|
|
149
|
-
*/
|
|
150
|
-
domainName?: pulumi.Input<string>;
|
|
151
|
-
/**
|
|
152
|
-
* The type (SKU) of the environment: Sandbox, Production, Trial, Developer, or Default. Immutable after creation.
|
|
153
|
-
*/
|
|
154
|
-
environmentType: pulumi.Input<string>;
|
|
155
|
-
/**
|
|
156
|
-
* The base language code for the Dataverse database (e.g., 1033 for English).
|
|
157
|
-
*/
|
|
158
|
-
languageCode?: pulumi.Input<string>;
|
|
159
|
-
/**
|
|
160
|
-
* The geographic region for the environment (e.g., unitedstates, europe). Immutable after creation.
|
|
161
|
-
*/
|
|
162
|
-
location: pulumi.Input<string>;
|
|
163
|
-
}
|
|
107
|
+
exports.Environment = Environment;
|
|
108
|
+
//# sourceMappingURL=environment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../environment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AA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AS,CAAC,OAAO,CAAC;SAC7C;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;;AAtHL,kCAuHC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Creates a manual backup of a Power Platform environment. Backups are immutable — any change to inputs triggers replacement.
|
|
4
|
+
*/
|
|
5
|
+
export declare class EnvironmentBackup extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing EnvironmentBackup resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): EnvironmentBackup;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of EnvironmentBackup. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is EnvironmentBackup;
|
|
20
|
+
/**
|
|
21
|
+
* The date and time when the backup expires.
|
|
22
|
+
*/
|
|
23
|
+
readonly backupExpiryDateTime: pulumi.Output<string | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* The date and time when the backup was created.
|
|
26
|
+
*/
|
|
27
|
+
readonly backupPointDateTime: pulumi.Output<string | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* The ID of the backed-up environment.
|
|
30
|
+
*/
|
|
31
|
+
readonly environmentId: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The label for the backup.
|
|
34
|
+
*/
|
|
35
|
+
readonly label: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Create a EnvironmentBackup resource with the given unique name, arguments, and options.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resource.
|
|
40
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
41
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
42
|
+
*/
|
|
43
|
+
constructor(name: string, args: EnvironmentBackupArgs, opts?: pulumi.CustomResourceOptions);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The set of arguments for constructing a EnvironmentBackup resource.
|
|
47
|
+
*/
|
|
48
|
+
export interface EnvironmentBackupArgs {
|
|
49
|
+
/**
|
|
50
|
+
* The ID of the environment to back up.
|
|
51
|
+
*/
|
|
52
|
+
environmentId: pulumi.Input<string>;
|
|
53
|
+
/**
|
|
54
|
+
* A descriptive label for the backup.
|
|
55
|
+
*/
|
|
56
|
+
label: pulumi.Input<string>;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=environmentBackup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environmentBackup.d.ts","sourceRoot":"","sources":["../environmentBackup.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,iBAAiB;IAOpH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,iBAAiB;IAO5D;;OAEG;IACH,SAAgC,oBAAoB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxF;;OAEG;IACH,SAAgC,mBAAmB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvF;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAwB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAErD;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAuB7F;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
|
|
@@ -1,13 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.EnvironmentBackup = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
7
31
|
/**
|
|
8
32
|
* Creates a manual backup of a Power Platform environment. Backups are immutable — any change to inputs triggers replacement.
|
|
9
33
|
*/
|
|
10
|
-
|
|
34
|
+
class EnvironmentBackup extends pulumi.CustomResource {
|
|
11
35
|
/**
|
|
12
36
|
* Get an existing EnvironmentBackup resource's state with the given name, ID, and optional extra
|
|
13
37
|
* properties used to qualify the lookup.
|
|
@@ -16,41 +40,21 @@ export class EnvironmentBackup extends pulumi.CustomResource {
|
|
|
16
40
|
* @param id The _unique_ provider ID of the resource to lookup.
|
|
17
41
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
18
42
|
*/
|
|
19
|
-
|
|
20
|
-
return new EnvironmentBackup(name, undefined
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new EnvironmentBackup(name, undefined, { ...opts, id: id });
|
|
21
45
|
}
|
|
22
|
-
|
|
23
46
|
/** @internal */
|
|
24
|
-
|
|
25
|
-
|
|
47
|
+
static __pulumiType = 'powerplatform:index:EnvironmentBackup';
|
|
26
48
|
/**
|
|
27
49
|
* Returns true if the given object is an instance of EnvironmentBackup. This is designed to work even
|
|
28
50
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
51
|
*/
|
|
30
|
-
|
|
52
|
+
static isInstance(obj) {
|
|
31
53
|
if (obj === undefined || obj === null) {
|
|
32
54
|
return false;
|
|
33
55
|
}
|
|
34
56
|
return obj['__pulumiType'] === EnvironmentBackup.__pulumiType;
|
|
35
57
|
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* The date and time when the backup expires.
|
|
39
|
-
*/
|
|
40
|
-
declare public /*out*/ readonly backupExpiryDateTime: pulumi.Output<string | undefined>;
|
|
41
|
-
/**
|
|
42
|
-
* The date and time when the backup was created.
|
|
43
|
-
*/
|
|
44
|
-
declare public /*out*/ readonly backupPointDateTime: pulumi.Output<string | undefined>;
|
|
45
|
-
/**
|
|
46
|
-
* The ID of the backed-up environment.
|
|
47
|
-
*/
|
|
48
|
-
declare public readonly environmentId: pulumi.Output<string>;
|
|
49
|
-
/**
|
|
50
|
-
* The label for the backup.
|
|
51
|
-
*/
|
|
52
|
-
declare public readonly label: pulumi.Output<string>;
|
|
53
|
-
|
|
54
58
|
/**
|
|
55
59
|
* Create a EnvironmentBackup resource with the given unique name, arguments, and options.
|
|
56
60
|
*
|
|
@@ -58,8 +62,8 @@ export class EnvironmentBackup extends pulumi.CustomResource {
|
|
|
58
62
|
* @param args The arguments to use to populate this resource's properties.
|
|
59
63
|
* @param opts A bag of options that control this resource's behavior.
|
|
60
64
|
*/
|
|
61
|
-
constructor(name
|
|
62
|
-
let resourceInputs
|
|
65
|
+
constructor(name, args, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
63
67
|
opts = opts || {};
|
|
64
68
|
if (!opts.id) {
|
|
65
69
|
if (args?.environmentId === undefined && !opts.urn) {
|
|
@@ -72,7 +76,8 @@ export class EnvironmentBackup extends pulumi.CustomResource {
|
|
|
72
76
|
resourceInputs["label"] = args?.label;
|
|
73
77
|
resourceInputs["backupExpiryDateTime"] = undefined /*out*/;
|
|
74
78
|
resourceInputs["backupPointDateTime"] = undefined /*out*/;
|
|
75
|
-
}
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
76
81
|
resourceInputs["backupExpiryDateTime"] = undefined /*out*/;
|
|
77
82
|
resourceInputs["backupPointDateTime"] = undefined /*out*/;
|
|
78
83
|
resourceInputs["environmentId"] = undefined /*out*/;
|
|
@@ -82,17 +87,5 @@ export class EnvironmentBackup extends pulumi.CustomResource {
|
|
|
82
87
|
super(EnvironmentBackup.__pulumiType, name, resourceInputs, opts);
|
|
83
88
|
}
|
|
84
89
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
* The set of arguments for constructing a EnvironmentBackup resource.
|
|
88
|
-
*/
|
|
89
|
-
export interface EnvironmentBackupArgs {
|
|
90
|
-
/**
|
|
91
|
-
* The ID of the environment to back up.
|
|
92
|
-
*/
|
|
93
|
-
environmentId: pulumi.Input<string>;
|
|
94
|
-
/**
|
|
95
|
-
* A descriptive label for the backup.
|
|
96
|
-
*/
|
|
97
|
-
label: pulumi.Input<string>;
|
|
98
|
-
}
|
|
90
|
+
exports.EnvironmentBackup = EnvironmentBackup;
|
|
91
|
+
//# sourceMappingURL=environmentBackup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environmentBackup.js","sourceRoot":"","sources":["../environmentBackup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,uCAAuC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AAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAzEL,8CA0EC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a Power Platform environment group. Environment groups allow you to organize environments and apply policies at a group level.
|
|
4
|
+
*/
|
|
5
|
+
export declare class EnvironmentGroup extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing EnvironmentGroup resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): EnvironmentGroup;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of EnvironmentGroup. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is EnvironmentGroup;
|
|
20
|
+
/**
|
|
21
|
+
* The timestamp when the group was created.
|
|
22
|
+
*/
|
|
23
|
+
readonly createdTime: pulumi.Output<string | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* The description of the environment group.
|
|
26
|
+
*/
|
|
27
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* The display name of the environment group.
|
|
30
|
+
*/
|
|
31
|
+
readonly displayName: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The timestamp when the group was last modified.
|
|
34
|
+
*/
|
|
35
|
+
readonly lastModifiedTime: pulumi.Output<string | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* The ID of the parent environment group.
|
|
38
|
+
*/
|
|
39
|
+
readonly parentGroupId: pulumi.Output<string | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* Create a EnvironmentGroup resource with the given unique name, arguments, and options.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resource.
|
|
44
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
45
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
46
|
+
*/
|
|
47
|
+
constructor(name: string, args: EnvironmentGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The set of arguments for constructing a EnvironmentGroup resource.
|
|
51
|
+
*/
|
|
52
|
+
export interface EnvironmentGroupArgs {
|
|
53
|
+
/**
|
|
54
|
+
* A description of the environment group.
|
|
55
|
+
*/
|
|
56
|
+
description?: pulumi.Input<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The display name for the environment group.
|
|
59
|
+
*/
|
|
60
|
+
displayName: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The ID of the parent environment group, if this is a nested group.
|
|
63
|
+
*/
|
|
64
|
+
parentGroupId?: pulumi.Input<string>;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=environmentGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environmentGroup.d.ts","sourceRoot":"","sources":["../environmentGroup.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,gBAAgB;IAOnH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,gBAAgB;IAO3D;;OAEG;IACH,SAAgC,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/E;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAgC,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpF;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAEzE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsB5F;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACxC"}
|
|
@@ -1,13 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.EnvironmentGroup = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
7
31
|
/**
|
|
8
32
|
* Manages a Power Platform environment group. Environment groups allow you to organize environments and apply policies at a group level.
|
|
9
33
|
*/
|
|
10
|
-
|
|
34
|
+
class EnvironmentGroup extends pulumi.CustomResource {
|
|
11
35
|
/**
|
|
12
36
|
* Get an existing EnvironmentGroup resource's state with the given name, ID, and optional extra
|
|
13
37
|
* properties used to qualify the lookup.
|
|
@@ -16,45 +40,21 @@ export class EnvironmentGroup extends pulumi.CustomResource {
|
|
|
16
40
|
* @param id The _unique_ provider ID of the resource to lookup.
|
|
17
41
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
18
42
|
*/
|
|
19
|
-
|
|
20
|
-
return new EnvironmentGroup(name, undefined
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new EnvironmentGroup(name, undefined, { ...opts, id: id });
|
|
21
45
|
}
|
|
22
|
-
|
|
23
46
|
/** @internal */
|
|
24
|
-
|
|
25
|
-
|
|
47
|
+
static __pulumiType = 'powerplatform:index:EnvironmentGroup';
|
|
26
48
|
/**
|
|
27
49
|
* Returns true if the given object is an instance of EnvironmentGroup. This is designed to work even
|
|
28
50
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
51
|
*/
|
|
30
|
-
|
|
52
|
+
static isInstance(obj) {
|
|
31
53
|
if (obj === undefined || obj === null) {
|
|
32
54
|
return false;
|
|
33
55
|
}
|
|
34
56
|
return obj['__pulumiType'] === EnvironmentGroup.__pulumiType;
|
|
35
57
|
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* The timestamp when the group was created.
|
|
39
|
-
*/
|
|
40
|
-
declare public /*out*/ readonly createdTime: pulumi.Output<string | undefined>;
|
|
41
|
-
/**
|
|
42
|
-
* The description of the environment group.
|
|
43
|
-
*/
|
|
44
|
-
declare public readonly description: pulumi.Output<string | undefined>;
|
|
45
|
-
/**
|
|
46
|
-
* The display name of the environment group.
|
|
47
|
-
*/
|
|
48
|
-
declare public readonly displayName: pulumi.Output<string>;
|
|
49
|
-
/**
|
|
50
|
-
* The timestamp when the group was last modified.
|
|
51
|
-
*/
|
|
52
|
-
declare public /*out*/ readonly lastModifiedTime: pulumi.Output<string | undefined>;
|
|
53
|
-
/**
|
|
54
|
-
* The ID of the parent environment group.
|
|
55
|
-
*/
|
|
56
|
-
declare public readonly parentGroupId: pulumi.Output<string | undefined>;
|
|
57
|
-
|
|
58
58
|
/**
|
|
59
59
|
* Create a EnvironmentGroup resource with the given unique name, arguments, and options.
|
|
60
60
|
*
|
|
@@ -62,8 +62,8 @@ export class EnvironmentGroup extends pulumi.CustomResource {
|
|
|
62
62
|
* @param args The arguments to use to populate this resource's properties.
|
|
63
63
|
* @param opts A bag of options that control this resource's behavior.
|
|
64
64
|
*/
|
|
65
|
-
constructor(name
|
|
66
|
-
let resourceInputs
|
|
65
|
+
constructor(name, args, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
67
|
opts = opts || {};
|
|
68
68
|
if (!opts.id) {
|
|
69
69
|
if (args?.displayName === undefined && !opts.urn) {
|
|
@@ -74,7 +74,8 @@ export class EnvironmentGroup extends pulumi.CustomResource {
|
|
|
74
74
|
resourceInputs["parentGroupId"] = args?.parentGroupId;
|
|
75
75
|
resourceInputs["createdTime"] = undefined /*out*/;
|
|
76
76
|
resourceInputs["lastModifiedTime"] = undefined /*out*/;
|
|
77
|
-
}
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
78
79
|
resourceInputs["createdTime"] = undefined /*out*/;
|
|
79
80
|
resourceInputs["description"] = undefined /*out*/;
|
|
80
81
|
resourceInputs["displayName"] = undefined /*out*/;
|
|
@@ -85,21 +86,5 @@ export class EnvironmentGroup extends pulumi.CustomResource {
|
|
|
85
86
|
super(EnvironmentGroup.__pulumiType, name, resourceInputs, opts);
|
|
86
87
|
}
|
|
87
88
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
* The set of arguments for constructing a EnvironmentGroup resource.
|
|
91
|
-
*/
|
|
92
|
-
export interface EnvironmentGroupArgs {
|
|
93
|
-
/**
|
|
94
|
-
* A description of the environment group.
|
|
95
|
-
*/
|
|
96
|
-
description?: pulumi.Input<string>;
|
|
97
|
-
/**
|
|
98
|
-
* The display name for the environment group.
|
|
99
|
-
*/
|
|
100
|
-
displayName: pulumi.Input<string>;
|
|
101
|
-
/**
|
|
102
|
-
* The ID of the parent environment group, if this is a nested group.
|
|
103
|
-
*/
|
|
104
|
-
parentGroupId?: pulumi.Input<string>;
|
|
105
|
-
}
|
|
89
|
+
exports.EnvironmentGroup = EnvironmentGroup;
|
|
90
|
+
//# sourceMappingURL=environmentGroup.js.map
|
|
@@ -0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