@rpothin/powerplatform 0.1.22 → 0.1.24
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
package/bin/provider.js
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
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.Provider = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class Provider extends pulumi.ProviderResource {
|
|
32
|
+
/** @internal */
|
|
33
|
+
static __pulumiType = 'powerplatform';
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj) {
|
|
39
|
+
if (obj === undefined || obj === null) {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Create a Provider 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, args, opts) {
|
|
52
|
+
let resourceInputs = {};
|
|
53
|
+
opts = opts || {};
|
|
54
|
+
{
|
|
55
|
+
}
|
|
56
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
57
|
+
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.Provider = Provider;
|
|
61
|
+
//# sourceMappingURL=provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IACjD,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,eAAe,CAAC;IAEtD;;;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,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAGD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;SACC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA9BL,4BA+BC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Assigns a role to a principal (user, group, or service principal) at a specified scope. Role assignments are immutable — any change to inputs triggers replacement.
|
|
4
|
+
*/
|
|
5
|
+
export declare class RoleAssignment extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing RoleAssignment 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): RoleAssignment;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of RoleAssignment. 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 RoleAssignment;
|
|
20
|
+
/**
|
|
21
|
+
* The timestamp when the role assignment was created.
|
|
22
|
+
*/
|
|
23
|
+
readonly createdOn: pulumi.Output<string | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* The object ID of the assigned principal.
|
|
26
|
+
*/
|
|
27
|
+
readonly principalObjectId: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* The type of the assigned principal.
|
|
30
|
+
*/
|
|
31
|
+
readonly principalType: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The role definition ID.
|
|
34
|
+
*/
|
|
35
|
+
readonly roleDefinitionId: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* The scope of the role assignment.
|
|
38
|
+
*/
|
|
39
|
+
readonly scope: pulumi.Output<string | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* Create a RoleAssignment 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: RoleAssignmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The set of arguments for constructing a RoleAssignment resource.
|
|
51
|
+
*/
|
|
52
|
+
export interface RoleAssignmentArgs {
|
|
53
|
+
/**
|
|
54
|
+
* The object ID of the principal (user, group, or service principal) to assign the role to.
|
|
55
|
+
*/
|
|
56
|
+
principalObjectId: pulumi.Input<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The type of the principal: User, Group, or ServicePrincipal.
|
|
59
|
+
*/
|
|
60
|
+
principalType: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The ID of the role definition to assign.
|
|
63
|
+
*/
|
|
64
|
+
roleDefinitionId: pulumi.Input<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The scope of the role assignment (e.g., tenant, environment, or environment group).
|
|
67
|
+
*/
|
|
68
|
+
scope?: pulumi.Input<string>;
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=roleAssignment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roleAssignment.d.ts","sourceRoot":"","sources":["../roleAssignment.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;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,cAAc;IAOjH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,cAAc;IAOzD;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7E;;OAEG;IACH,SAAwB,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAwB,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAChE;;OAEG;IACH,SAAwB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAEjE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CA4B1F;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACxC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACvC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
|
|
@@ -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.RoleAssignment = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
7
31
|
/**
|
|
8
32
|
* Assigns a role to a principal (user, group, or service principal) at a specified scope. Role assignments are immutable — any change to inputs triggers replacement.
|
|
9
33
|
*/
|
|
10
|
-
|
|
34
|
+
class RoleAssignment extends pulumi.CustomResource {
|
|
11
35
|
/**
|
|
12
36
|
* Get an existing RoleAssignment 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 RoleAssignment 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 RoleAssignment(name, undefined
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new RoleAssignment(name, undefined, { ...opts, id: id });
|
|
21
45
|
}
|
|
22
|
-
|
|
23
46
|
/** @internal */
|
|
24
|
-
|
|
25
|
-
|
|
47
|
+
static __pulumiType = 'powerplatform:index:RoleAssignment';
|
|
26
48
|
/**
|
|
27
49
|
* Returns true if the given object is an instance of RoleAssignment. 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'] === RoleAssignment.__pulumiType;
|
|
35
57
|
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* The timestamp when the role assignment was created.
|
|
39
|
-
*/
|
|
40
|
-
declare public /*out*/ readonly createdOn: pulumi.Output<string | undefined>;
|
|
41
|
-
/**
|
|
42
|
-
* The object ID of the assigned principal.
|
|
43
|
-
*/
|
|
44
|
-
declare public readonly principalObjectId: pulumi.Output<string>;
|
|
45
|
-
/**
|
|
46
|
-
* The type of the assigned principal.
|
|
47
|
-
*/
|
|
48
|
-
declare public readonly principalType: pulumi.Output<string>;
|
|
49
|
-
/**
|
|
50
|
-
* The role definition ID.
|
|
51
|
-
*/
|
|
52
|
-
declare public readonly roleDefinitionId: pulumi.Output<string>;
|
|
53
|
-
/**
|
|
54
|
-
* The scope of the role assignment.
|
|
55
|
-
*/
|
|
56
|
-
declare public readonly scope: pulumi.Output<string | undefined>;
|
|
57
|
-
|
|
58
58
|
/**
|
|
59
59
|
* Create a RoleAssignment resource with the given unique name, arguments, and options.
|
|
60
60
|
*
|
|
@@ -62,8 +62,8 @@ export class RoleAssignment 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?.principalObjectId === undefined && !opts.urn) {
|
|
@@ -80,7 +80,8 @@ export class RoleAssignment extends pulumi.CustomResource {
|
|
|
80
80
|
resourceInputs["roleDefinitionId"] = args?.roleDefinitionId;
|
|
81
81
|
resourceInputs["scope"] = args?.scope;
|
|
82
82
|
resourceInputs["createdOn"] = undefined /*out*/;
|
|
83
|
-
}
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
84
85
|
resourceInputs["createdOn"] = undefined /*out*/;
|
|
85
86
|
resourceInputs["principalObjectId"] = undefined /*out*/;
|
|
86
87
|
resourceInputs["principalType"] = undefined /*out*/;
|
|
@@ -91,25 +92,5 @@ export class RoleAssignment extends pulumi.CustomResource {
|
|
|
91
92
|
super(RoleAssignment.__pulumiType, name, resourceInputs, opts);
|
|
92
93
|
}
|
|
93
94
|
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
* The set of arguments for constructing a RoleAssignment resource.
|
|
97
|
-
*/
|
|
98
|
-
export interface RoleAssignmentArgs {
|
|
99
|
-
/**
|
|
100
|
-
* The object ID of the principal (user, group, or service principal) to assign the role to.
|
|
101
|
-
*/
|
|
102
|
-
principalObjectId: pulumi.Input<string>;
|
|
103
|
-
/**
|
|
104
|
-
* The type of the principal: User, Group, or ServicePrincipal.
|
|
105
|
-
*/
|
|
106
|
-
principalType: pulumi.Input<string>;
|
|
107
|
-
/**
|
|
108
|
-
* The ID of the role definition to assign.
|
|
109
|
-
*/
|
|
110
|
-
roleDefinitionId: pulumi.Input<string>;
|
|
111
|
-
/**
|
|
112
|
-
* The scope of the role assignment (e.g., tenant, environment, or environment group).
|
|
113
|
-
*/
|
|
114
|
-
scope?: pulumi.Input<string>;
|
|
115
|
-
}
|
|
95
|
+
exports.RoleAssignment = RoleAssignment;
|
|
96
|
+
//# sourceMappingURL=roleAssignment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roleAssignment.js","sourceRoot":"","sources":["../roleAssignment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,cAAc,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,oCAAoC,CAAC;IAE3E;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,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,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAlFL,wCAmFC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AAEnC,OAAO,EACH,KAAK,EACL,MAAM,GACT,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.output = exports.input = void 0;
|
|
29
|
+
// Export sub-modules:
|
|
30
|
+
const input = __importStar(require("./input"));
|
|
31
|
+
exports.input = input;
|
|
32
|
+
const output = __importStar(require("./output"));
|
|
33
|
+
exports.output = output;
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAIjF,sBAAsB;AACtB,+CAAiC;AAI7B,sBAAK;AAHT,iDAAmC;AAI/B,wBAAM"}
|
|
@@ -1,10 +1,4 @@
|
|
|
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
|
-
import * as outputs from "../types/output";
|
|
7
|
-
|
|
8
2
|
/**
|
|
9
3
|
* Azure billing instrument (subscription) details for a billing policy.
|
|
10
4
|
*/
|
|
@@ -22,7 +16,6 @@ export interface BillingInstrumentArgs {
|
|
|
22
16
|
*/
|
|
23
17
|
subscriptionId?: pulumi.Input<string>;
|
|
24
18
|
}
|
|
25
|
-
|
|
26
19
|
/**
|
|
27
20
|
* A rule set for a DLP policy, defining data loss prevention rules.
|
|
28
21
|
*/
|
|
@@ -34,9 +27,12 @@ export interface RuleSetArgs {
|
|
|
34
27
|
/**
|
|
35
28
|
* The inputs for the rule set, which may vary based on the rule.
|
|
36
29
|
*/
|
|
37
|
-
inputs?: pulumi.Input<{
|
|
30
|
+
inputs?: pulumi.Input<{
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
}>;
|
|
38
33
|
/**
|
|
39
34
|
* The version of the rule set.
|
|
40
35
|
*/
|
|
41
36
|
version?: pulumi.Input<string>;
|
|
42
37
|
}
|
|
38
|
+
//# sourceMappingURL=input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAIzC;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACzC;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,CAAC,CAAC;IAC5C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAClC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
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
|
-
export * from "./vars";
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
//# sourceMappingURL=input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF"}
|
|
@@ -1,10 +1,3 @@
|
|
|
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
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
-
import * as inputs from "../types/input";
|
|
6
|
-
import * as outputs from "../types/output";
|
|
7
|
-
|
|
8
1
|
/**
|
|
9
2
|
* Summary information about a Power App.
|
|
10
3
|
*/
|
|
@@ -22,7 +15,6 @@ export interface AppSummary {
|
|
|
22
15
|
*/
|
|
23
16
|
name?: string;
|
|
24
17
|
}
|
|
25
|
-
|
|
26
18
|
/**
|
|
27
19
|
* Azure billing instrument (subscription) details for a billing policy.
|
|
28
20
|
*/
|
|
@@ -40,7 +32,6 @@ export interface BillingInstrument {
|
|
|
40
32
|
*/
|
|
41
33
|
subscriptionId?: string;
|
|
42
34
|
}
|
|
43
|
-
|
|
44
35
|
/**
|
|
45
36
|
* Summary information about a Power Platform connector.
|
|
46
37
|
*/
|
|
@@ -62,7 +53,6 @@ export interface ConnectorSummary {
|
|
|
62
53
|
*/
|
|
63
54
|
type?: string;
|
|
64
55
|
}
|
|
65
|
-
|
|
66
56
|
/**
|
|
67
57
|
* Summary information about a Power Platform environment.
|
|
68
58
|
*/
|
|
@@ -120,7 +110,6 @@ export interface EnvironmentSummary {
|
|
|
120
110
|
*/
|
|
121
111
|
version?: string;
|
|
122
112
|
}
|
|
123
|
-
|
|
124
113
|
/**
|
|
125
114
|
* Summary information about a Cloud Flow.
|
|
126
115
|
*/
|
|
@@ -138,7 +127,6 @@ export interface FlowSummary {
|
|
|
138
127
|
*/
|
|
139
128
|
name?: string;
|
|
140
129
|
}
|
|
141
|
-
|
|
142
130
|
/**
|
|
143
131
|
* A rule set for a DLP policy, defining data loss prevention rules.
|
|
144
132
|
*/
|
|
@@ -150,10 +138,12 @@ export interface RuleSet {
|
|
|
150
138
|
/**
|
|
151
139
|
* The inputs for the rule set, which may vary based on the rule.
|
|
152
140
|
*/
|
|
153
|
-
inputs?: {
|
|
141
|
+
inputs?: {
|
|
142
|
+
[key: string]: any;
|
|
143
|
+
};
|
|
154
144
|
/**
|
|
155
145
|
* The version of the rule set.
|
|
156
146
|
*/
|
|
157
147
|
version?: string;
|
|
158
148
|
}
|
|
159
|
-
|
|
149
|
+
//# sourceMappingURL=output.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,MAAM,WAAW,UAAU;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACpB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,MAAM,CAAC,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,CAAC;IAC9B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
//# sourceMappingURL=output.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare function getEnv(...vars: string[]): string | undefined;
|
|
2
|
+
export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
|
|
3
|
+
export declare function getEnvNumber(...vars: string[]): number | undefined;
|
|
4
|
+
export declare function getVersion(): string;
|
|
5
|
+
//# sourceMappingURL=utilities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":"AAOA,wBAAgB,MAAM,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CAQ5D;AAED,wBAAgB,aAAa,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,GAAG,SAAS,CAapE;AAED,wBAAgB,YAAY,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CASlE;AAED,wBAAgB,UAAU,IAAI,MAAM,CAQnC"}
|
|
@@ -1,11 +1,33 @@
|
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
29
|
+
const runtime = __importStar(require("@pulumi/pulumi/runtime"));
|
|
30
|
+
function getEnv(...vars) {
|
|
9
31
|
for (const v of vars) {
|
|
10
32
|
const value = process.env[v];
|
|
11
33
|
if (value) {
|
|
@@ -14,8 +36,8 @@ export function getEnv(...vars: string[]): string | undefined {
|
|
|
14
36
|
}
|
|
15
37
|
return undefined;
|
|
16
38
|
}
|
|
17
|
-
|
|
18
|
-
|
|
39
|
+
exports.getEnv = getEnv;
|
|
40
|
+
function getEnvBoolean(...vars) {
|
|
19
41
|
const s = getEnv(...vars);
|
|
20
42
|
if (s !== undefined) {
|
|
21
43
|
// NOTE: these values are taken from https://golang.org/src/strconv/atob.go?s=351:391#L1, which is what
|
|
@@ -29,8 +51,8 @@ export function getEnvBoolean(...vars: string[]): boolean | undefined {
|
|
|
29
51
|
}
|
|
30
52
|
return undefined;
|
|
31
53
|
}
|
|
32
|
-
|
|
33
|
-
|
|
54
|
+
exports.getEnvBoolean = getEnvBoolean;
|
|
55
|
+
function getEnvNumber(...vars) {
|
|
34
56
|
const s = getEnv(...vars);
|
|
35
57
|
if (s !== undefined) {
|
|
36
58
|
const f = parseFloat(s);
|
|
@@ -40,8 +62,8 @@ export function getEnvNumber(...vars: string[]): number | undefined {
|
|
|
40
62
|
}
|
|
41
63
|
return undefined;
|
|
42
64
|
}
|
|
43
|
-
|
|
44
|
-
|
|
65
|
+
exports.getEnvNumber = getEnvNumber;
|
|
66
|
+
function getVersion() {
|
|
45
67
|
let version = require('./package.json').version;
|
|
46
68
|
// Node allows for the version to be prefixed by a "v", while semver doesn't.
|
|
47
69
|
// If there is a v, strip it off.
|
|
@@ -50,39 +72,33 @@ export function getVersion(): string {
|
|
|
50
72
|
}
|
|
51
73
|
return version;
|
|
52
74
|
}
|
|
53
|
-
|
|
75
|
+
exports.getVersion = getVersion;
|
|
54
76
|
/** @internal */
|
|
55
|
-
|
|
77
|
+
function resourceOptsDefaults() {
|
|
56
78
|
return { version: getVersion(), pluginDownloadURL: "github://api.github.com/rpothin" };
|
|
57
79
|
}
|
|
58
|
-
|
|
80
|
+
exports.resourceOptsDefaults = resourceOptsDefaults;
|
|
59
81
|
/** @internal */
|
|
60
|
-
|
|
82
|
+
function lazyLoad(exports, props, loadModule) {
|
|
61
83
|
for (let property of props) {
|
|
62
84
|
Object.defineProperty(exports, property, {
|
|
63
85
|
enumerable: true,
|
|
64
|
-
get: function() {
|
|
86
|
+
get: function () {
|
|
65
87
|
return loadModule()[property];
|
|
66
88
|
},
|
|
67
89
|
});
|
|
68
90
|
}
|
|
69
91
|
}
|
|
70
|
-
|
|
92
|
+
exports.lazyLoad = lazyLoad;
|
|
71
93
|
/** @internal */
|
|
72
|
-
|
|
73
|
-
tok
|
|
74
|
-
props: pulumi.Inputs,
|
|
75
|
-
res?: pulumi.Resource,
|
|
76
|
-
opts?: {property?: string},
|
|
77
|
-
): Promise<T> {
|
|
78
|
-
const o: any = runtime.call<T>(tok, props, res);
|
|
94
|
+
async function callAsync(tok, props, res, opts) {
|
|
95
|
+
const o = runtime.call(tok, props, res);
|
|
79
96
|
const value = await o.promise(true /*withUnknowns*/);
|
|
80
97
|
const isKnown = await o.isKnown;
|
|
81
98
|
const isSecret = await o.isSecret;
|
|
82
|
-
const problem
|
|
83
|
-
!isKnown ? "an unknown value"
|
|
99
|
+
const problem = !isKnown ? "an unknown value"
|
|
84
100
|
: isSecret ? "a secret value"
|
|
85
|
-
|
|
101
|
+
: undefined;
|
|
86
102
|
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
87
103
|
if (problem) {
|
|
88
104
|
throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
|
@@ -94,3 +110,5 @@ export async function callAsync<T>(
|
|
|
94
110
|
}
|
|
95
111
|
return value;
|
|
96
112
|
}
|
|
113
|
+
exports.callAsync = callAsync;
|
|
114
|
+
//# sourceMappingURL=utilities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAGjF,gEAAkD;AAGlD,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;QAClB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AARD,wBAQC;AAED,SAAgB,aAAa,CAAC,GAAG,IAAc;IAC3C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1B,IAAI,CAAC,KAAK,SAAS,EAAE;QACjB,uGAAuG;QACvG,yDAAyD;QACz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|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"category/cloud",
|
|
6
6
|
"kind/native"
|
|
@@ -8,6 +8,11 @@
|
|
|
8
8
|
"homepage": "https://github.com/rpothin/pulumi-powerplatform",
|
|
9
9
|
"repository": "https://github.com/rpothin/pulumi-powerplatform",
|
|
10
10
|
"license": "MIT",
|
|
11
|
+
"main": "bin/index.js",
|
|
12
|
+
"types": "bin/index.d.ts",
|
|
13
|
+
"files": [
|
|
14
|
+
"bin/"
|
|
15
|
+
],
|
|
11
16
|
"scripts": {
|
|
12
17
|
"build": "tsc"
|
|
13
18
|
},
|
package/.gitattributes
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
* linguist-generated
|