@rpothin/powerplatform 0.1.36 → 0.1.38

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.
Files changed (96) hide show
  1. package/bin/billingPolicy.d.ts +76 -0
  2. package/bin/billingPolicy.d.ts.map +1 -0
  3. package/{billingPolicy.ts → bin/billingPolicy.js} +39 -64
  4. package/bin/billingPolicy.js.map +1 -0
  5. package/bin/config/index.d.ts +2 -0
  6. package/bin/config/index.d.ts.map +1 -0
  7. package/bin/config/index.js +21 -0
  8. package/bin/config/index.js.map +1 -0
  9. package/bin/config/vars.d.ts +13 -0
  10. package/bin/config/vars.d.ts.map +1 -0
  11. package/bin/config/vars.js +48 -0
  12. package/bin/config/vars.js.map +1 -0
  13. package/bin/dlpPolicy.d.ts +64 -0
  14. package/bin/dlpPolicy.d.ts.map +1 -0
  15. package/{dlpPolicy.ts → bin/dlpPolicy.js} +39 -52
  16. package/bin/dlpPolicy.js.map +1 -0
  17. package/bin/environment.d.ts +172 -0
  18. package/bin/environment.d.ts.map +1 -0
  19. package/bin/environment.js +124 -0
  20. package/bin/environment.js.map +1 -0
  21. package/bin/environmentBackup.d.ts +58 -0
  22. package/bin/environmentBackup.d.ts.map +1 -0
  23. package/{environmentBackup.ts → bin/environmentBackup.js} +39 -46
  24. package/bin/environmentBackup.js.map +1 -0
  25. package/bin/environmentGroup.d.ts +66 -0
  26. package/bin/environmentGroup.d.ts.map +1 -0
  27. package/{environmentGroup.ts → bin/environmentGroup.js} +39 -54
  28. package/bin/environmentGroup.js.map +1 -0
  29. package/bin/environmentSettings.d.ts +82 -0
  30. package/bin/environmentSettings.d.ts.map +1 -0
  31. package/{environmentSettings.ts → bin/environmentSettings.js} +39 -70
  32. package/bin/environmentSettings.js.map +1 -0
  33. package/bin/getApps.d.ts +29 -0
  34. package/bin/getApps.d.ts.map +1 -0
  35. package/bin/getApps.js +51 -0
  36. package/bin/getApps.js.map +1 -0
  37. package/bin/getConnectors.d.ts +29 -0
  38. package/bin/getConnectors.d.ts.map +1 -0
  39. package/bin/getConnectors.js +51 -0
  40. package/bin/getConnectors.js.map +1 -0
  41. package/{getEnvironments.ts → bin/getEnvironments.d.ts} +3 -25
  42. package/bin/getEnvironments.d.ts.map +1 -0
  43. package/bin/getEnvironments.js +55 -0
  44. package/bin/getEnvironments.js.map +1 -0
  45. package/bin/getFlows.d.ts +29 -0
  46. package/bin/getFlows.d.ts.map +1 -0
  47. package/bin/getFlows.js +51 -0
  48. package/bin/getFlows.js.map +1 -0
  49. package/bin/index.d.ts +46 -0
  50. package/bin/index.d.ts.map +1 -0
  51. package/bin/index.js +105 -0
  52. package/bin/index.js.map +1 -0
  53. package/bin/isvContract.d.ts +66 -0
  54. package/bin/isvContract.d.ts.map +1 -0
  55. package/{isvContract.ts → bin/isvContract.js} +39 -54
  56. package/bin/isvContract.js.map +1 -0
  57. package/bin/managedEnvironment.d.ts +46 -0
  58. package/bin/managedEnvironment.d.ts.map +1 -0
  59. package/{managedEnvironment.ts → bin/managedEnvironment.js} +39 -34
  60. package/bin/managedEnvironment.js.map +1 -0
  61. package/bin/package.json +31 -0
  62. package/bin/provider.d.ts +22 -0
  63. package/bin/provider.d.ts.map +1 -0
  64. package/bin/provider.js +61 -0
  65. package/bin/provider.js.map +1 -0
  66. package/bin/roleAssignment.d.ts +70 -0
  67. package/bin/roleAssignment.d.ts.map +1 -0
  68. package/{roleAssignment.ts → bin/roleAssignment.js} +39 -58
  69. package/bin/roleAssignment.js.map +1 -0
  70. package/bin/types/index.d.ts +4 -0
  71. package/bin/types/index.d.ts.map +1 -0
  72. package/bin/types/index.js +34 -0
  73. package/bin/types/index.js.map +1 -0
  74. package/{types/input.ts → bin/types/input.d.ts} +4 -10
  75. package/bin/types/input.d.ts.map +1 -0
  76. package/{config/index.ts → bin/types/input.js} +3 -3
  77. package/bin/types/input.js.map +1 -0
  78. package/{types/output.ts → bin/types/output.d.ts} +4 -16
  79. package/bin/types/output.d.ts.map +1 -0
  80. package/bin/types/output.js +5 -0
  81. package/bin/types/output.js.map +1 -0
  82. package/bin/utilities.d.ts +5 -0
  83. package/bin/utilities.d.ts.map +1 -0
  84. package/{utilities.ts → bin/utilities.js} +46 -28
  85. package/bin/utilities.js.map +1 -0
  86. package/package.json +6 -1
  87. package/.gitattributes +0 -1
  88. package/config/vars.ts +0 -42
  89. package/environment.ts +0 -245
  90. package/getApps.ts +0 -47
  91. package/getConnectors.ts +0 -47
  92. package/getFlows.ts +0 -47
  93. package/index.ts +0 -124
  94. package/provider.ts +0 -44
  95. package/tsconfig.json +0 -44
  96. package/types/index.ts +0 -13
@@ -0,0 +1,76 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Manages a Power Platform billing policy. Billing policies control pay-as-you-go billing for Power Platform environments.
6
+ */
7
+ export declare class BillingPolicy extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing BillingPolicy resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param opts Optional settings to control the behavior of the CustomResource.
15
+ */
16
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BillingPolicy;
17
+ /**
18
+ * Returns true if the given object is an instance of BillingPolicy. This is designed to work even
19
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
+ */
21
+ static isInstance(obj: any): obj is BillingPolicy;
22
+ /**
23
+ * The billing instrument details.
24
+ */
25
+ readonly billingInstrument: pulumi.Output<outputs.BillingInstrument | undefined>;
26
+ /**
27
+ * The timestamp when the billing policy was created.
28
+ */
29
+ readonly createdOn: pulumi.Output<string | undefined>;
30
+ /**
31
+ * The timestamp when the billing policy was last modified.
32
+ */
33
+ readonly lastModifiedOn: pulumi.Output<string | undefined>;
34
+ /**
35
+ * The geographic location of the billing policy.
36
+ */
37
+ readonly location: pulumi.Output<string>;
38
+ /**
39
+ * The name of the billing policy.
40
+ */
41
+ readonly name: pulumi.Output<string>;
42
+ /**
43
+ * The status of the billing policy.
44
+ */
45
+ readonly status: pulumi.Output<string | undefined>;
46
+ /**
47
+ * Create a BillingPolicy resource with the given unique name, arguments, and options.
48
+ *
49
+ * @param name The _unique_ name of the resource.
50
+ * @param args The arguments to use to populate this resource's properties.
51
+ * @param opts A bag of options that control this resource's behavior.
52
+ */
53
+ constructor(name: string, args: BillingPolicyArgs, opts?: pulumi.CustomResourceOptions);
54
+ }
55
+ /**
56
+ * The set of arguments for constructing a BillingPolicy resource.
57
+ */
58
+ export interface BillingPolicyArgs {
59
+ /**
60
+ * The billing instrument (Azure subscription) details.
61
+ */
62
+ billingInstrument?: pulumi.Input<inputs.BillingInstrumentArgs>;
63
+ /**
64
+ * The geographic location for the billing policy (e.g., unitedstates, europe).
65
+ */
66
+ location: pulumi.Input<string>;
67
+ /**
68
+ * The name of the billing policy.
69
+ */
70
+ name: pulumi.Input<string>;
71
+ /**
72
+ * The status of the billing policy: Enabled or Disabled.
73
+ */
74
+ status?: pulumi.Input<string>;
75
+ }
76
+ //# sourceMappingURL=billingPolicy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"billingPolicy.d.ts","sourceRoot":"","sources":["../billingPolicy.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,qBAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;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,aAAa;IAOhH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,aAAa;IAOxD;;OAEG;IACH,SAAwB,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IAChG;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7E;;OAEG;IACH,SAAgC,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClF;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACxD;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAElE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CA2BzF;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;IAC/D;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC"}
@@ -1,15 +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
- import * as pulumi from "@pulumi/pulumi";
5
- import * as inputs from "./types/input";
6
- import * as outputs from "./types/output";
7
- import * as utilities from "./utilities";
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.BillingPolicy = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
9
31
  /**
10
32
  * Manages a Power Platform billing policy. Billing policies control pay-as-you-go billing for Power Platform environments.
11
33
  */
12
- export class BillingPolicy extends pulumi.CustomResource {
34
+ class BillingPolicy extends pulumi.CustomResource {
13
35
  /**
14
36
  * Get an existing BillingPolicy resource's state with the given name, ID, and optional extra
15
37
  * properties used to qualify the lookup.
@@ -18,49 +40,21 @@ export class BillingPolicy extends pulumi.CustomResource {
18
40
  * @param id The _unique_ provider ID of the resource to lookup.
19
41
  * @param opts Optional settings to control the behavior of the CustomResource.
20
42
  */
21
- public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BillingPolicy {
22
- return new BillingPolicy(name, undefined as any, { ...opts, id: id });
43
+ static get(name, id, opts) {
44
+ return new BillingPolicy(name, undefined, { ...opts, id: id });
23
45
  }
24
-
25
46
  /** @internal */
26
- public static readonly __pulumiType = 'powerplatform:index:BillingPolicy';
27
-
47
+ static __pulumiType = 'powerplatform:index:BillingPolicy';
28
48
  /**
29
49
  * Returns true if the given object is an instance of BillingPolicy. This is designed to work even
30
50
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
51
  */
32
- public static isInstance(obj: any): obj is BillingPolicy {
52
+ static isInstance(obj) {
33
53
  if (obj === undefined || obj === null) {
34
54
  return false;
35
55
  }
36
56
  return obj['__pulumiType'] === BillingPolicy.__pulumiType;
37
57
  }
38
-
39
- /**
40
- * The billing instrument details.
41
- */
42
- declare public readonly billingInstrument: pulumi.Output<outputs.BillingInstrument | undefined>;
43
- /**
44
- * The timestamp when the billing policy was created.
45
- */
46
- declare public /*out*/ readonly createdOn: pulumi.Output<string | undefined>;
47
- /**
48
- * The timestamp when the billing policy was last modified.
49
- */
50
- declare public /*out*/ readonly lastModifiedOn: pulumi.Output<string | undefined>;
51
- /**
52
- * The geographic location of the billing policy.
53
- */
54
- declare public readonly location: pulumi.Output<string>;
55
- /**
56
- * The name of the billing policy.
57
- */
58
- declare public readonly name: pulumi.Output<string>;
59
- /**
60
- * The status of the billing policy.
61
- */
62
- declare public readonly status: pulumi.Output<string | undefined>;
63
-
64
58
  /**
65
59
  * Create a BillingPolicy resource with the given unique name, arguments, and options.
66
60
  *
@@ -68,8 +62,8 @@ export class BillingPolicy extends pulumi.CustomResource {
68
62
  * @param args The arguments to use to populate this resource's properties.
69
63
  * @param opts A bag of options that control this resource's behavior.
70
64
  */
71
- constructor(name: string, args: BillingPolicyArgs, opts?: pulumi.CustomResourceOptions) {
72
- let resourceInputs: pulumi.Inputs = {};
65
+ constructor(name, args, opts) {
66
+ let resourceInputs = {};
73
67
  opts = opts || {};
74
68
  if (!opts.id) {
75
69
  if (args?.location === undefined && !opts.urn) {
@@ -84,7 +78,8 @@ export class BillingPolicy extends pulumi.CustomResource {
84
78
  resourceInputs["status"] = args?.status;
85
79
  resourceInputs["createdOn"] = undefined /*out*/;
86
80
  resourceInputs["lastModifiedOn"] = undefined /*out*/;
87
- } else {
81
+ }
82
+ else {
88
83
  resourceInputs["billingInstrument"] = undefined /*out*/;
89
84
  resourceInputs["createdOn"] = undefined /*out*/;
90
85
  resourceInputs["lastModifiedOn"] = undefined /*out*/;
@@ -96,25 +91,5 @@ export class BillingPolicy extends pulumi.CustomResource {
96
91
  super(BillingPolicy.__pulumiType, name, resourceInputs, opts);
97
92
  }
98
93
  }
99
-
100
- /**
101
- * The set of arguments for constructing a BillingPolicy resource.
102
- */
103
- export interface BillingPolicyArgs {
104
- /**
105
- * The billing instrument (Azure subscription) details.
106
- */
107
- billingInstrument?: pulumi.Input<inputs.BillingInstrumentArgs>;
108
- /**
109
- * The geographic location for the billing policy (e.g., unitedstates, europe).
110
- */
111
- location: pulumi.Input<string>;
112
- /**
113
- * The name of the billing policy.
114
- */
115
- name: pulumi.Input<string>;
116
- /**
117
- * The status of the billing policy: Enabled or Disabled.
118
- */
119
- status?: pulumi.Input<string>;
120
- }
94
+ exports.BillingPolicy = BillingPolicy;
95
+ //# sourceMappingURL=billingPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"billingPolicy.js","sourceRoot":"","sources":["../billingPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,aAAa,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,mCAAmC,CAAC;IAE1E;;;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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IA2BD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAuB,EAAE,IAAmC;QAClF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxD;aAAM;YACH,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AArFL,sCAsFC"}
@@ -0,0 +1,2 @@
1
+ export * from "./vars";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,21 @@
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ // Export members:
20
+ __exportStar(require("./vars"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The Azure AD Application (Client) ID. Can also be set with the AZURE_CLIENT_ID environment variable.
3
+ */
4
+ export declare const clientId: string | undefined;
5
+ /**
6
+ * The Azure AD Client Secret. Can also be set with the AZURE_CLIENT_SECRET environment variable.
7
+ */
8
+ export declare const clientSecret: string | undefined;
9
+ /**
10
+ * The Azure AD Tenant ID for authenticating with Power Platform. Can also be set with the AZURE_TENANT_ID environment variable.
11
+ */
12
+ export declare const tenantId: string | undefined;
13
+ //# sourceMappingURL=vars.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vars.d.ts","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;AAQlD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;AAQtD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC"}
@@ -0,0 +1,48 @@
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
+ const pulumi = __importStar(require("@pulumi/pulumi"));
29
+ const __config = new pulumi.Config("powerplatform");
30
+ Object.defineProperty(exports, "clientId", {
31
+ get() {
32
+ return __config.get("clientId");
33
+ },
34
+ enumerable: true,
35
+ });
36
+ Object.defineProperty(exports, "clientSecret", {
37
+ get() {
38
+ return __config.get("clientSecret");
39
+ },
40
+ enumerable: true,
41
+ });
42
+ Object.defineProperty(exports, "tenantId", {
43
+ get() {
44
+ return __config.get("tenantId");
45
+ },
46
+ enumerable: true,
47
+ });
48
+ //# sourceMappingURL=vars.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;AAMpD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,EAAE;IAC3C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACxC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
@@ -0,0 +1,64 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Manages a Power Platform Data Loss Prevention (DLP) policy. DLP policies define rules to control how connectors can share data. Note: Deletion removes all rule sets from the policy, as the SDK does not expose a direct policy delete endpoint.
6
+ */
7
+ export declare class DlpPolicy extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing DlpPolicy resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param opts Optional settings to control the behavior of the CustomResource.
15
+ */
16
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DlpPolicy;
17
+ /**
18
+ * Returns true if the given object is an instance of DlpPolicy. This is designed to work even
19
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
+ */
21
+ static isInstance(obj: any): obj is DlpPolicy;
22
+ /**
23
+ * The timestamp when the policy was last modified.
24
+ */
25
+ readonly lastModified: pulumi.Output<string | undefined>;
26
+ /**
27
+ * The name of the DLP policy.
28
+ */
29
+ readonly name: pulumi.Output<string>;
30
+ /**
31
+ * The number of rule sets in the policy.
32
+ */
33
+ readonly ruleSetCount: pulumi.Output<number | undefined>;
34
+ /**
35
+ * The rule sets that define the DLP policy rules.
36
+ */
37
+ readonly ruleSets: pulumi.Output<outputs.RuleSet[] | undefined>;
38
+ /**
39
+ * The tenant ID that owns the policy.
40
+ */
41
+ readonly tenantId: pulumi.Output<string | undefined>;
42
+ /**
43
+ * Create a DlpPolicy resource with the given unique name, arguments, and options.
44
+ *
45
+ * @param name The _unique_ name of the resource.
46
+ * @param args The arguments to use to populate this resource's properties.
47
+ * @param opts A bag of options that control this resource's behavior.
48
+ */
49
+ constructor(name: string, args: DlpPolicyArgs, opts?: pulumi.CustomResourceOptions);
50
+ }
51
+ /**
52
+ * The set of arguments for constructing a DlpPolicy resource.
53
+ */
54
+ export interface DlpPolicyArgs {
55
+ /**
56
+ * The name of the DLP policy.
57
+ */
58
+ name: pulumi.Input<string>;
59
+ /**
60
+ * The rule sets that define the DLP policy rules.
61
+ */
62
+ ruleSets?: pulumi.Input<pulumi.Input<inputs.RuleSetArgs>[]>;
63
+ }
64
+ //# sourceMappingURL=dlpPolicy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dlpPolicy.d.ts","sourceRoot":"","sources":["../dlpPolicy.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,qBAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;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,SAAS;IAO5G;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,SAAS;IAOpD;;OAEG;IACH,SAAgC,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChF;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAgC,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChF;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,SAAS,CAAC,CAAC;IAC/E;;OAEG;IACH,SAAgC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAE5E;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsBrF;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;CAC/D"}
@@ -1,15 +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
- import * as pulumi from "@pulumi/pulumi";
5
- import * as inputs from "./types/input";
6
- import * as outputs from "./types/output";
7
- import * as utilities from "./utilities";
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.DlpPolicy = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
9
31
  /**
10
32
  * Manages a Power Platform Data Loss Prevention (DLP) policy. DLP policies define rules to control how connectors can share data. Note: Deletion removes all rule sets from the policy, as the SDK does not expose a direct policy delete endpoint.
11
33
  */
12
- export class DlpPolicy extends pulumi.CustomResource {
34
+ class DlpPolicy extends pulumi.CustomResource {
13
35
  /**
14
36
  * Get an existing DlpPolicy resource's state with the given name, ID, and optional extra
15
37
  * properties used to qualify the lookup.
@@ -18,45 +40,21 @@ export class DlpPolicy extends pulumi.CustomResource {
18
40
  * @param id The _unique_ provider ID of the resource to lookup.
19
41
  * @param opts Optional settings to control the behavior of the CustomResource.
20
42
  */
21
- public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DlpPolicy {
22
- return new DlpPolicy(name, undefined as any, { ...opts, id: id });
43
+ static get(name, id, opts) {
44
+ return new DlpPolicy(name, undefined, { ...opts, id: id });
23
45
  }
24
-
25
46
  /** @internal */
26
- public static readonly __pulumiType = 'powerplatform:index:DlpPolicy';
27
-
47
+ static __pulumiType = 'powerplatform:index:DlpPolicy';
28
48
  /**
29
49
  * Returns true if the given object is an instance of DlpPolicy. This is designed to work even
30
50
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
51
  */
32
- public static isInstance(obj: any): obj is DlpPolicy {
52
+ static isInstance(obj) {
33
53
  if (obj === undefined || obj === null) {
34
54
  return false;
35
55
  }
36
56
  return obj['__pulumiType'] === DlpPolicy.__pulumiType;
37
57
  }
38
-
39
- /**
40
- * The timestamp when the policy was last modified.
41
- */
42
- declare public /*out*/ readonly lastModified: pulumi.Output<string | undefined>;
43
- /**
44
- * The name of the DLP policy.
45
- */
46
- declare public readonly name: pulumi.Output<string>;
47
- /**
48
- * The number of rule sets in the policy.
49
- */
50
- declare public /*out*/ readonly ruleSetCount: pulumi.Output<number | undefined>;
51
- /**
52
- * The rule sets that define the DLP policy rules.
53
- */
54
- declare public readonly ruleSets: pulumi.Output<outputs.RuleSet[] | undefined>;
55
- /**
56
- * The tenant ID that owns the policy.
57
- */
58
- declare public /*out*/ readonly tenantId: pulumi.Output<string | undefined>;
59
-
60
58
  /**
61
59
  * Create a DlpPolicy resource with the given unique name, arguments, and options.
62
60
  *
@@ -64,8 +62,8 @@ export class DlpPolicy extends pulumi.CustomResource {
64
62
  * @param args The arguments to use to populate this resource's properties.
65
63
  * @param opts A bag of options that control this resource's behavior.
66
64
  */
67
- constructor(name: string, args: DlpPolicyArgs, opts?: pulumi.CustomResourceOptions) {
68
- let resourceInputs: pulumi.Inputs = {};
65
+ constructor(name, args, opts) {
66
+ let resourceInputs = {};
69
67
  opts = opts || {};
70
68
  if (!opts.id) {
71
69
  if (args?.name === undefined && !opts.urn) {
@@ -76,7 +74,8 @@ export class DlpPolicy extends pulumi.CustomResource {
76
74
  resourceInputs["lastModified"] = undefined /*out*/;
77
75
  resourceInputs["ruleSetCount"] = undefined /*out*/;
78
76
  resourceInputs["tenantId"] = undefined /*out*/;
79
- } else {
77
+ }
78
+ else {
80
79
  resourceInputs["lastModified"] = undefined /*out*/;
81
80
  resourceInputs["name"] = undefined /*out*/;
82
81
  resourceInputs["ruleSetCount"] = undefined /*out*/;
@@ -87,17 +86,5 @@ export class DlpPolicy extends pulumi.CustomResource {
87
86
  super(DlpPolicy.__pulumiType, name, resourceInputs, opts);
88
87
  }
89
88
  }
90
-
91
- /**
92
- * The set of arguments for constructing a DlpPolicy resource.
93
- */
94
- export interface DlpPolicyArgs {
95
- /**
96
- * The name of the DLP policy.
97
- */
98
- name: pulumi.Input<string>;
99
- /**
100
- * The rule sets that define the DLP policy rules.
101
- */
102
- ruleSets?: pulumi.Input<pulumi.Input<inputs.RuleSetArgs>[]>;
103
- }
89
+ exports.DlpPolicy = DlpPolicy;
90
+ //# sourceMappingURL=dlpPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dlpPolicy.js","sourceRoot":"","sources":["../dlpPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,SAAS,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,+BAA+B,CAAC;IAEtE;;;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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IAuBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAAmC;QAC9E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;aAAM;YACH,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA5EL,8BA6EC"}