@rpothin/powerplatform 0.1.37 → 0.1.39
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 +172 -0
- package/bin/environment.d.ts.map +1 -0
- package/bin/environment.js +124 -0
- 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 -10
- 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 -16
- 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/environment.ts +0 -245
- 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
|
@@ -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,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environmentGroup.js","sourceRoot":"","sources":["../environmentGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,sCAAsC,CAAC;IAE7E;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAuBD;;;;;;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,IAAI,IAAI,EAAE,WAAW,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC1D;aAAM;YACH,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA5EL,4CA6EC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages settings on a Power Platform environment. Settings are applied via PATCH to the BAP admin API. Deletion removes the resource from Pulumi state only (settings cannot be unset).
|
|
4
|
+
*/
|
|
5
|
+
export declare class EnvironmentSettings extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing EnvironmentSettings 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): EnvironmentSettings;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of EnvironmentSettings. 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 EnvironmentSettings;
|
|
20
|
+
/**
|
|
21
|
+
* The ID of the environment.
|
|
22
|
+
*/
|
|
23
|
+
readonly environmentId: pulumi.Output<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Whether activity logging is enabled.
|
|
26
|
+
*/
|
|
27
|
+
readonly isActivityLoggingEnabled: pulumi.Output<string | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Whether auditing is enabled.
|
|
30
|
+
*/
|
|
31
|
+
readonly isAuditEnabled: pulumi.Output<string | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* Whether user access auditing is enabled.
|
|
34
|
+
*/
|
|
35
|
+
readonly isUserAccessAuditEnabled: pulumi.Output<string | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* Maximum file upload size in bytes.
|
|
38
|
+
*/
|
|
39
|
+
readonly maxUploadFileSize: pulumi.Output<string | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* Plugin trace log setting.
|
|
42
|
+
*/
|
|
43
|
+
readonly pluginTraceLogSetting: pulumi.Output<string | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* Create a EnvironmentSettings resource with the given unique name, arguments, and options.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resource.
|
|
48
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
49
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
50
|
+
*/
|
|
51
|
+
constructor(name: string, args: EnvironmentSettingsArgs, opts?: pulumi.CustomResourceOptions);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The set of arguments for constructing a EnvironmentSettings resource.
|
|
55
|
+
*/
|
|
56
|
+
export interface EnvironmentSettingsArgs {
|
|
57
|
+
/**
|
|
58
|
+
* The ID of the environment to manage settings for. Immutable after creation.
|
|
59
|
+
*/
|
|
60
|
+
environmentId: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Whether activity logging is enabled (true or false).
|
|
63
|
+
*/
|
|
64
|
+
isActivityLoggingEnabled?: pulumi.Input<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Whether auditing is enabled (true or false).
|
|
67
|
+
*/
|
|
68
|
+
isAuditEnabled?: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Whether user access auditing is enabled (true or false).
|
|
71
|
+
*/
|
|
72
|
+
isUserAccessAuditEnabled?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Maximum file upload size in bytes.
|
|
75
|
+
*/
|
|
76
|
+
maxUploadFileSize?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Plugin trace log setting (Off, Exception, All).
|
|
79
|
+
*/
|
|
80
|
+
pluginTraceLogSetting?: pulumi.Input<string>;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=environmentSettings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environmentSettings.d.ts","sourceRoot":"","sources":["../environmentSettings.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;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,mBAAmB;IAOtH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,mBAAmB;IAO9D;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAwB,wBAAwB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpF;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1E;;OAEG;IACH,SAAwB,wBAAwB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpF;;OAEG;IACH,SAAwB,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7E;;OAEG;IACH,SAAwB,qBAAqB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAEjF;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAwB/F;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChD;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACzC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChD"}
|
|
@@ -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.EnvironmentSettings = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
7
31
|
/**
|
|
8
32
|
* Manages settings on a Power Platform environment. Settings are applied via PATCH to the BAP admin API. Deletion removes the resource from Pulumi state only (settings cannot be unset).
|
|
9
33
|
*/
|
|
10
|
-
|
|
34
|
+
class EnvironmentSettings extends pulumi.CustomResource {
|
|
11
35
|
/**
|
|
12
36
|
* Get an existing EnvironmentSettings resource's state with the given name, ID, and optional extra
|
|
13
37
|
* properties used to qualify the lookup.
|
|
@@ -16,49 +40,21 @@ export class EnvironmentSettings 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 EnvironmentSettings(name, undefined
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new EnvironmentSettings(name, undefined, { ...opts, id: id });
|
|
21
45
|
}
|
|
22
|
-
|
|
23
46
|
/** @internal */
|
|
24
|
-
|
|
25
|
-
|
|
47
|
+
static __pulumiType = 'powerplatform:index:EnvironmentSettings';
|
|
26
48
|
/**
|
|
27
49
|
* Returns true if the given object is an instance of EnvironmentSettings. 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'] === EnvironmentSettings.__pulumiType;
|
|
35
57
|
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* The ID of the environment.
|
|
39
|
-
*/
|
|
40
|
-
declare public readonly environmentId: pulumi.Output<string>;
|
|
41
|
-
/**
|
|
42
|
-
* Whether activity logging is enabled.
|
|
43
|
-
*/
|
|
44
|
-
declare public readonly isActivityLoggingEnabled: pulumi.Output<string | undefined>;
|
|
45
|
-
/**
|
|
46
|
-
* Whether auditing is enabled.
|
|
47
|
-
*/
|
|
48
|
-
declare public readonly isAuditEnabled: pulumi.Output<string | undefined>;
|
|
49
|
-
/**
|
|
50
|
-
* Whether user access auditing is enabled.
|
|
51
|
-
*/
|
|
52
|
-
declare public readonly isUserAccessAuditEnabled: pulumi.Output<string | undefined>;
|
|
53
|
-
/**
|
|
54
|
-
* Maximum file upload size in bytes.
|
|
55
|
-
*/
|
|
56
|
-
declare public readonly maxUploadFileSize: pulumi.Output<string | undefined>;
|
|
57
|
-
/**
|
|
58
|
-
* Plugin trace log setting.
|
|
59
|
-
*/
|
|
60
|
-
declare public readonly pluginTraceLogSetting: pulumi.Output<string | undefined>;
|
|
61
|
-
|
|
62
58
|
/**
|
|
63
59
|
* Create a EnvironmentSettings resource with the given unique name, arguments, and options.
|
|
64
60
|
*
|
|
@@ -66,8 +62,8 @@ export class EnvironmentSettings extends pulumi.CustomResource {
|
|
|
66
62
|
* @param args The arguments to use to populate this resource's properties.
|
|
67
63
|
* @param opts A bag of options that control this resource's behavior.
|
|
68
64
|
*/
|
|
69
|
-
constructor(name
|
|
70
|
-
let resourceInputs
|
|
65
|
+
constructor(name, args, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
71
67
|
opts = opts || {};
|
|
72
68
|
if (!opts.id) {
|
|
73
69
|
if (args?.environmentId === undefined && !opts.urn) {
|
|
@@ -79,7 +75,8 @@ export class EnvironmentSettings extends pulumi.CustomResource {
|
|
|
79
75
|
resourceInputs["isUserAccessAuditEnabled"] = args?.isUserAccessAuditEnabled;
|
|
80
76
|
resourceInputs["maxUploadFileSize"] = args?.maxUploadFileSize;
|
|
81
77
|
resourceInputs["pluginTraceLogSetting"] = args?.pluginTraceLogSetting;
|
|
82
|
-
}
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
83
80
|
resourceInputs["environmentId"] = undefined /*out*/;
|
|
84
81
|
resourceInputs["isActivityLoggingEnabled"] = undefined /*out*/;
|
|
85
82
|
resourceInputs["isAuditEnabled"] = undefined /*out*/;
|
|
@@ -91,33 +88,5 @@ export class EnvironmentSettings extends pulumi.CustomResource {
|
|
|
91
88
|
super(EnvironmentSettings.__pulumiType, name, resourceInputs, opts);
|
|
92
89
|
}
|
|
93
90
|
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
* The set of arguments for constructing a EnvironmentSettings resource.
|
|
97
|
-
*/
|
|
98
|
-
export interface EnvironmentSettingsArgs {
|
|
99
|
-
/**
|
|
100
|
-
* The ID of the environment to manage settings for. Immutable after creation.
|
|
101
|
-
*/
|
|
102
|
-
environmentId: pulumi.Input<string>;
|
|
103
|
-
/**
|
|
104
|
-
* Whether activity logging is enabled (true or false).
|
|
105
|
-
*/
|
|
106
|
-
isActivityLoggingEnabled?: pulumi.Input<string>;
|
|
107
|
-
/**
|
|
108
|
-
* Whether auditing is enabled (true or false).
|
|
109
|
-
*/
|
|
110
|
-
isAuditEnabled?: pulumi.Input<string>;
|
|
111
|
-
/**
|
|
112
|
-
* Whether user access auditing is enabled (true or false).
|
|
113
|
-
*/
|
|
114
|
-
isUserAccessAuditEnabled?: pulumi.Input<string>;
|
|
115
|
-
/**
|
|
116
|
-
* Maximum file upload size in bytes.
|
|
117
|
-
*/
|
|
118
|
-
maxUploadFileSize?: pulumi.Input<string>;
|
|
119
|
-
/**
|
|
120
|
-
* Plugin trace log setting (Off, Exception, All).
|
|
121
|
-
*/
|
|
122
|
-
pluginTraceLogSetting?: pulumi.Input<string>;
|
|
123
|
-
}
|
|
91
|
+
exports.EnvironmentSettings = EnvironmentSettings;
|
|
92
|
+
//# sourceMappingURL=environmentSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environmentSettings.js","sourceRoot":"","sources":["../environmentSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,yCAAyC,CAAC;IAEhF;;;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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IA2BD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA6B,EAAE,IAAmC;QACxF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,IAAI,EAAE,aAAa,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;SACzE;aAAM;YACH,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/D,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/D,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAlFL,kDAmFC"}
|
package/bin/getApps.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Lists Power Apps in a Power Platform environment.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getApps(args: GetAppsArgs, opts?: pulumi.InvokeOptions): Promise<GetAppsResult>;
|
|
7
|
+
export interface GetAppsArgs {
|
|
8
|
+
/**
|
|
9
|
+
* The ID of the environment to list apps for.
|
|
10
|
+
*/
|
|
11
|
+
environmentId: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetAppsResult {
|
|
14
|
+
/**
|
|
15
|
+
* The list of Power Apps.
|
|
16
|
+
*/
|
|
17
|
+
readonly apps: outputs.AppSummary[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Lists Power Apps in a Power Platform environment.
|
|
21
|
+
*/
|
|
22
|
+
export declare function getAppsOutput(args: GetAppsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAppsResult>;
|
|
23
|
+
export interface GetAppsOutputArgs {
|
|
24
|
+
/**
|
|
25
|
+
* The ID of the environment to list apps for.
|
|
26
|
+
*/
|
|
27
|
+
environmentId: pulumi.Input<string>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=getApps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getApps.d.ts","sourceRoot":"","sources":["../getApps.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC,CAK9F;AAED,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,UAAU,EAAE,CAAC;CACvC;AACD;;GAEG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAKtH;AAED,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACvC"}
|
package/bin/getApps.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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 __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.getAppsOutput = exports.getApps = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Lists Power Apps in a Power Platform environment.
|
|
33
|
+
*/
|
|
34
|
+
function getApps(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("powerplatform:index:getApps", {
|
|
37
|
+
"environmentId": args.environmentId,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getApps = getApps;
|
|
41
|
+
/**
|
|
42
|
+
* Lists Power Apps in a Power Platform environment.
|
|
43
|
+
*/
|
|
44
|
+
function getAppsOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("powerplatform:index:getApps", {
|
|
47
|
+
"environmentId": args.environmentId,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getAppsOutput = getAppsOutput;
|
|
51
|
+
//# sourceMappingURL=getApps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getApps.js","sourceRoot":"","sources":["../getApps.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6BAA6B,EAAE;QACxD,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0BAKC;AAeD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAAiC;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6BAA6B,EAAE;QAC9D,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Lists connectors available in a Power Platform environment.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getConnectors(args: GetConnectorsArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectorsResult>;
|
|
7
|
+
export interface GetConnectorsArgs {
|
|
8
|
+
/**
|
|
9
|
+
* The ID of the environment to list connectors for.
|
|
10
|
+
*/
|
|
11
|
+
environmentId: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetConnectorsResult {
|
|
14
|
+
/**
|
|
15
|
+
* The list of connectors.
|
|
16
|
+
*/
|
|
17
|
+
readonly connectors: outputs.ConnectorSummary[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Lists connectors available in a Power Platform environment.
|
|
21
|
+
*/
|
|
22
|
+
export declare function getConnectorsOutput(args: GetConnectorsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectorsResult>;
|
|
23
|
+
export interface GetConnectorsOutputArgs {
|
|
24
|
+
/**
|
|
25
|
+
* The ID of the environment to list connectors for.
|
|
26
|
+
*/
|
|
27
|
+
environmentId: pulumi.Input<string>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=getConnectors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConnectors.d.ts","sourceRoot":"","sources":["../getConnectors.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAKhH;AAED,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC,gBAAgB,EAAE,CAAC;CACnD;AACD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAKxI;AAED,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACvC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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 __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.getConnectorsOutput = exports.getConnectors = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Lists connectors available in a Power Platform environment.
|
|
33
|
+
*/
|
|
34
|
+
function getConnectors(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("powerplatform:index:getConnectors", {
|
|
37
|
+
"environmentId": args.environmentId,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getConnectors = getConnectors;
|
|
41
|
+
/**
|
|
42
|
+
* Lists connectors available in a Power Platform environment.
|
|
43
|
+
*/
|
|
44
|
+
function getConnectorsOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("powerplatform:index:getConnectors", {
|
|
47
|
+
"environmentId": args.environmentId,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getConnectorsOutput = getConnectorsOutput;
|
|
51
|
+
//# sourceMappingURL=getConnectors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConnectors.js","sourceRoot":"","sources":["../getConnectors.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,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;QAC9D,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AAeD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mCAAmC,EAAE;QACpE,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC"}
|
|
@@ -1,23 +1,9 @@
|
|
|
1
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
-
import * as inputs from "./types/input";
|
|
6
2
|
import * as outputs from "./types/output";
|
|
7
|
-
import * as utilities from "./utilities";
|
|
8
|
-
|
|
9
3
|
/**
|
|
10
4
|
* Retrieves a list of Power Platform environments available for the authenticated user.
|
|
11
5
|
*/
|
|
12
|
-
export function getEnvironments(args?: GetEnvironmentsArgs, opts?: pulumi.InvokeOptions): Promise<GetEnvironmentsResult
|
|
13
|
-
args = args || {};
|
|
14
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
15
|
-
return pulumi.runtime.invoke("powerplatform:index:getEnvironments", {
|
|
16
|
-
"filter": args.filter,
|
|
17
|
-
"top": args.top,
|
|
18
|
-
}, opts);
|
|
19
|
-
}
|
|
20
|
-
|
|
6
|
+
export declare function getEnvironments(args?: GetEnvironmentsArgs, opts?: pulumi.InvokeOptions): Promise<GetEnvironmentsResult>;
|
|
21
7
|
export interface GetEnvironmentsArgs {
|
|
22
8
|
/**
|
|
23
9
|
* An OData filter expression. Supported properties: dataverseId, type, geo, state, environmentGroupId, domainName.
|
|
@@ -28,7 +14,6 @@ export interface GetEnvironmentsArgs {
|
|
|
28
14
|
*/
|
|
29
15
|
top?: number;
|
|
30
16
|
}
|
|
31
|
-
|
|
32
17
|
export interface GetEnvironmentsResult {
|
|
33
18
|
/**
|
|
34
19
|
* The list of environments.
|
|
@@ -38,15 +23,7 @@ export interface GetEnvironmentsResult {
|
|
|
38
23
|
/**
|
|
39
24
|
* Retrieves a list of Power Platform environments available for the authenticated user.
|
|
40
25
|
*/
|
|
41
|
-
export function getEnvironmentsOutput(args?: GetEnvironmentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEnvironmentsResult
|
|
42
|
-
args = args || {};
|
|
43
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
-
return pulumi.runtime.invokeOutput("powerplatform:index:getEnvironments", {
|
|
45
|
-
"filter": args.filter,
|
|
46
|
-
"top": args.top,
|
|
47
|
-
}, opts);
|
|
48
|
-
}
|
|
49
|
-
|
|
26
|
+
export declare function getEnvironmentsOutput(args?: GetEnvironmentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEnvironmentsResult>;
|
|
50
27
|
export interface GetEnvironmentsOutputArgs {
|
|
51
28
|
/**
|
|
52
29
|
* An OData filter expression. Supported properties: dataverseId, type, geo, state, environmentGroupId, domainName.
|
|
@@ -57,3 +34,4 @@ export interface GetEnvironmentsOutputArgs {
|
|
|
57
34
|
*/
|
|
58
35
|
top?: pulumi.Input<number>;
|
|
59
36
|
}
|
|
37
|
+
//# sourceMappingURL=getEnvironments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEnvironments.d.ts","sourceRoot":"","sources":["../getEnvironments.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,CAAC,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAOvH;AAED,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC,kBAAkB,EAAE,CAAC;CACvD;AACD;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,CAAC,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAO/I;AAED,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|