@rpothin/powerplatform 0.1.42 → 0.2.0
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
|
@@ -0,0 +1,172 @@
|
|
|
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 environment. Environments are containers for apps, flows, data, and other resources. Uses the BAP admin REST API for lifecycle management.
|
|
6
|
+
*/
|
|
7
|
+
export declare class Environment extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing Environment 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): Environment;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of Environment. 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 Environment;
|
|
22
|
+
/**
|
|
23
|
+
* Whether Bing Search integration is allowed.
|
|
24
|
+
*/
|
|
25
|
+
readonly allowBingSearch: pulumi.Output<boolean | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Whether data can move across geographic boundaries for Copilot features.
|
|
28
|
+
*/
|
|
29
|
+
readonly allowMovingDataAcrossRegions: pulumi.Output<boolean | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* Specific Azure region within the location geo.
|
|
32
|
+
*/
|
|
33
|
+
readonly azureRegion: pulumi.Output<string | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* ID of the billing policy linked to this environment.
|
|
36
|
+
*/
|
|
37
|
+
readonly billingPolicyId: pulumi.Output<string | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Release wave cadence: Frequent or Moderate.
|
|
40
|
+
*/
|
|
41
|
+
readonly cadence: pulumi.Output<string | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* The timestamp when the environment was created.
|
|
44
|
+
*/
|
|
45
|
+
readonly createdTime: pulumi.Output<string | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Dataverse database configuration. Presence triggers Dataverse provisioning.
|
|
48
|
+
*/
|
|
49
|
+
readonly dataverse: pulumi.Output<outputs.Dataverse | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* The description of the environment.
|
|
52
|
+
*/
|
|
53
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* The display name of the environment.
|
|
56
|
+
*/
|
|
57
|
+
readonly displayName: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Enterprise policies associated with the environment.
|
|
60
|
+
*/
|
|
61
|
+
readonly enterprisePolicies: pulumi.Output<outputs.EnterprisePolicy[] | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* ID of the environment group.
|
|
64
|
+
*/
|
|
65
|
+
readonly environmentGroupId: pulumi.Output<string | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* The type (SKU) of the environment.
|
|
68
|
+
*/
|
|
69
|
+
readonly environmentType: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The timestamp when the environment was last modified.
|
|
72
|
+
*/
|
|
73
|
+
readonly lastModifiedTime: pulumi.Output<string | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* GUID of the linked app.
|
|
76
|
+
*/
|
|
77
|
+
readonly linkedAppId: pulumi.Output<string | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* Type of linked app: Canvas or ModelDriven.
|
|
80
|
+
*/
|
|
81
|
+
readonly linkedAppType: pulumi.Output<string | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* URL of the linked app. Computed.
|
|
84
|
+
*/
|
|
85
|
+
readonly linkedAppUrl: pulumi.Output<string | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* The geographic region of the environment.
|
|
88
|
+
*/
|
|
89
|
+
readonly location: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* AAD user or group GUID who owns the environment.
|
|
92
|
+
*/
|
|
93
|
+
readonly ownerId: pulumi.Output<string | undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* The current state of the environment (e.g., Ready, Preparing).
|
|
96
|
+
*/
|
|
97
|
+
readonly state: pulumi.Output<string | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* Create a Environment resource with the given unique name, arguments, and options.
|
|
100
|
+
*
|
|
101
|
+
* @param name The _unique_ name of the resource.
|
|
102
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
103
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
104
|
+
*/
|
|
105
|
+
constructor(name: string, args: EnvironmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* The set of arguments for constructing a Environment resource.
|
|
109
|
+
*/
|
|
110
|
+
export interface EnvironmentArgs {
|
|
111
|
+
/**
|
|
112
|
+
* Allow Bing Search integration (AI generative features).
|
|
113
|
+
*/
|
|
114
|
+
allowBingSearch?: pulumi.Input<boolean>;
|
|
115
|
+
/**
|
|
116
|
+
* Allow data to move across geographic boundaries for Copilot features.
|
|
117
|
+
*/
|
|
118
|
+
allowMovingDataAcrossRegions?: pulumi.Input<boolean>;
|
|
119
|
+
/**
|
|
120
|
+
* Specific Azure region within the location geo (e.g. westus2). Immutable after creation.
|
|
121
|
+
*/
|
|
122
|
+
azureRegion?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* ID of the billing policy to link to this environment.
|
|
125
|
+
*/
|
|
126
|
+
billingPolicyId?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Release wave cadence: Frequent or Moderate. Immutable after creation.
|
|
129
|
+
*/
|
|
130
|
+
cadence?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Dataverse database configuration. Presence triggers Dataverse provisioning.
|
|
133
|
+
*/
|
|
134
|
+
dataverse?: pulumi.Input<inputs.DataverseArgs>;
|
|
135
|
+
/**
|
|
136
|
+
* A description of the environment.
|
|
137
|
+
*/
|
|
138
|
+
description?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The display name of the environment.
|
|
141
|
+
*/
|
|
142
|
+
displayName: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Set of enterprise policies associated with the environment.
|
|
145
|
+
*/
|
|
146
|
+
enterprisePolicies?: pulumi.Input<pulumi.Input<inputs.EnterprisePolicyArgs>[]>;
|
|
147
|
+
/**
|
|
148
|
+
* ID of the environment group this environment belongs to.
|
|
149
|
+
*/
|
|
150
|
+
environmentGroupId?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* The type (SKU) of the environment: Sandbox, Production, Trial, Developer, or Default. Immutable after creation.
|
|
153
|
+
*/
|
|
154
|
+
environmentType: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* GUID of the linked app.
|
|
157
|
+
*/
|
|
158
|
+
linkedAppId?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* Type of linked app: Canvas or ModelDriven.
|
|
161
|
+
*/
|
|
162
|
+
linkedAppType?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* The geographic region for the environment (e.g., unitedstates, europe). Immutable after creation.
|
|
165
|
+
*/
|
|
166
|
+
location: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* AAD user or group GUID who owns the environment. Only valid for Developer environments.
|
|
169
|
+
*/
|
|
170
|
+
ownerId?: pulumi.Input<string>;
|
|
171
|
+
}
|
|
172
|
+
//# sourceMappingURL=environment.d.ts.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 -0,0 +1,124 @@
|
|
|
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.Environment = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Manages a Power Platform environment. Environments are containers for apps, flows, data, and other resources. Uses the BAP admin REST API for lifecycle management.
|
|
33
|
+
*/
|
|
34
|
+
class Environment extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing Environment resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new Environment(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'powerplatform:index:Environment';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of Environment. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === Environment.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a Environment resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name, args, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (!opts.id) {
|
|
69
|
+
if (args?.displayName === undefined && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'displayName'");
|
|
71
|
+
}
|
|
72
|
+
if (args?.environmentType === undefined && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'environmentType'");
|
|
74
|
+
}
|
|
75
|
+
if (args?.location === undefined && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'location'");
|
|
77
|
+
}
|
|
78
|
+
resourceInputs["allowBingSearch"] = args?.allowBingSearch;
|
|
79
|
+
resourceInputs["allowMovingDataAcrossRegions"] = args?.allowMovingDataAcrossRegions;
|
|
80
|
+
resourceInputs["azureRegion"] = args?.azureRegion;
|
|
81
|
+
resourceInputs["billingPolicyId"] = args?.billingPolicyId;
|
|
82
|
+
resourceInputs["cadence"] = args?.cadence;
|
|
83
|
+
resourceInputs["dataverse"] = args?.dataverse;
|
|
84
|
+
resourceInputs["description"] = args?.description;
|
|
85
|
+
resourceInputs["displayName"] = args?.displayName;
|
|
86
|
+
resourceInputs["enterprisePolicies"] = args?.enterprisePolicies;
|
|
87
|
+
resourceInputs["environmentGroupId"] = args?.environmentGroupId;
|
|
88
|
+
resourceInputs["environmentType"] = args?.environmentType;
|
|
89
|
+
resourceInputs["linkedAppId"] = args?.linkedAppId;
|
|
90
|
+
resourceInputs["linkedAppType"] = args?.linkedAppType;
|
|
91
|
+
resourceInputs["location"] = args?.location;
|
|
92
|
+
resourceInputs["ownerId"] = args?.ownerId;
|
|
93
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["lastModifiedTime"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["linkedAppUrl"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
resourceInputs["allowBingSearch"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["allowMovingDataAcrossRegions"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["azureRegion"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["billingPolicyId"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["cadence"] = undefined /*out*/;
|
|
104
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
105
|
+
resourceInputs["dataverse"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["displayName"] = undefined /*out*/;
|
|
108
|
+
resourceInputs["enterprisePolicies"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["environmentGroupId"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["environmentType"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["lastModifiedTime"] = undefined /*out*/;
|
|
112
|
+
resourceInputs["linkedAppId"] = undefined /*out*/;
|
|
113
|
+
resourceInputs["linkedAppType"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["linkedAppUrl"] = undefined /*out*/;
|
|
115
|
+
resourceInputs["location"] = undefined /*out*/;
|
|
116
|
+
resourceInputs["ownerId"] = undefined /*out*/;
|
|
117
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
118
|
+
}
|
|
119
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
120
|
+
super(Environment.__pulumiType, name, resourceInputs, opts);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
exports.Environment = Environment;
|
|
124
|
+
//# sourceMappingURL=environment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../environment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,WAAW,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,iCAAiC,CAAC;IAExE;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,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zD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,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,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAtKL,kCAuKC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Creates a manual backup of a Power Platform environment. Backups are immutable — any change to inputs triggers replacement.
|
|
4
|
+
*/
|
|
5
|
+
export declare class EnvironmentBackup extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing EnvironmentBackup resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): EnvironmentBackup;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of EnvironmentBackup. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is EnvironmentBackup;
|
|
20
|
+
/**
|
|
21
|
+
* The date and time when the backup expires.
|
|
22
|
+
*/
|
|
23
|
+
readonly backupExpiryDateTime: pulumi.Output<string | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* The date and time when the backup was created.
|
|
26
|
+
*/
|
|
27
|
+
readonly backupPointDateTime: pulumi.Output<string | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* The ID of the backed-up environment.
|
|
30
|
+
*/
|
|
31
|
+
readonly environmentId: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The label for the backup.
|
|
34
|
+
*/
|
|
35
|
+
readonly label: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Create a EnvironmentBackup resource with the given unique name, arguments, and options.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resource.
|
|
40
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
41
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
42
|
+
*/
|
|
43
|
+
constructor(name: string, args: EnvironmentBackupArgs, opts?: pulumi.CustomResourceOptions);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The set of arguments for constructing a EnvironmentBackup resource.
|
|
47
|
+
*/
|
|
48
|
+
export interface EnvironmentBackupArgs {
|
|
49
|
+
/**
|
|
50
|
+
* The ID of the environment to back up.
|
|
51
|
+
*/
|
|
52
|
+
environmentId: pulumi.Input<string>;
|
|
53
|
+
/**
|
|
54
|
+
* A descriptive label for the backup.
|
|
55
|
+
*/
|
|
56
|
+
label: pulumi.Input<string>;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=environmentBackup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environmentBackup.d.ts","sourceRoot":"","sources":["../environmentBackup.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,iBAAiB;IAOpH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,iBAAiB;IAO5D;;OAEG;IACH,SAAgC,oBAAoB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxF;;OAEG;IACH,SAAgC,mBAAmB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvF;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAwB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAErD;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAuB7F;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
|
|
@@ -1,13 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.EnvironmentBackup = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
7
31
|
/**
|
|
8
32
|
* Creates a manual backup of a Power Platform environment. Backups are immutable — any change to inputs triggers replacement.
|
|
9
33
|
*/
|
|
10
|
-
|
|
34
|
+
class EnvironmentBackup extends pulumi.CustomResource {
|
|
11
35
|
/**
|
|
12
36
|
* Get an existing EnvironmentBackup resource's state with the given name, ID, and optional extra
|
|
13
37
|
* properties used to qualify the lookup.
|
|
@@ -16,41 +40,21 @@ export class EnvironmentBackup extends pulumi.CustomResource {
|
|
|
16
40
|
* @param id The _unique_ provider ID of the resource to lookup.
|
|
17
41
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
18
42
|
*/
|
|
19
|
-
|
|
20
|
-
return new EnvironmentBackup(name, undefined
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new EnvironmentBackup(name, undefined, { ...opts, id: id });
|
|
21
45
|
}
|
|
22
|
-
|
|
23
46
|
/** @internal */
|
|
24
|
-
|
|
25
|
-
|
|
47
|
+
static __pulumiType = 'powerplatform:index:EnvironmentBackup';
|
|
26
48
|
/**
|
|
27
49
|
* Returns true if the given object is an instance of EnvironmentBackup. This is designed to work even
|
|
28
50
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
51
|
*/
|
|
30
|
-
|
|
52
|
+
static isInstance(obj) {
|
|
31
53
|
if (obj === undefined || obj === null) {
|
|
32
54
|
return false;
|
|
33
55
|
}
|
|
34
56
|
return obj['__pulumiType'] === EnvironmentBackup.__pulumiType;
|
|
35
57
|
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* The date and time when the backup expires.
|
|
39
|
-
*/
|
|
40
|
-
declare public /*out*/ readonly backupExpiryDateTime: pulumi.Output<string | undefined>;
|
|
41
|
-
/**
|
|
42
|
-
* The date and time when the backup was created.
|
|
43
|
-
*/
|
|
44
|
-
declare public /*out*/ readonly backupPointDateTime: pulumi.Output<string | undefined>;
|
|
45
|
-
/**
|
|
46
|
-
* The ID of the backed-up environment.
|
|
47
|
-
*/
|
|
48
|
-
declare public readonly environmentId: pulumi.Output<string>;
|
|
49
|
-
/**
|
|
50
|
-
* The label for the backup.
|
|
51
|
-
*/
|
|
52
|
-
declare public readonly label: pulumi.Output<string>;
|
|
53
|
-
|
|
54
58
|
/**
|
|
55
59
|
* Create a EnvironmentBackup resource with the given unique name, arguments, and options.
|
|
56
60
|
*
|
|
@@ -58,8 +62,8 @@ export class EnvironmentBackup extends pulumi.CustomResource {
|
|
|
58
62
|
* @param args The arguments to use to populate this resource's properties.
|
|
59
63
|
* @param opts A bag of options that control this resource's behavior.
|
|
60
64
|
*/
|
|
61
|
-
constructor(name
|
|
62
|
-
let resourceInputs
|
|
65
|
+
constructor(name, args, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
63
67
|
opts = opts || {};
|
|
64
68
|
if (!opts.id) {
|
|
65
69
|
if (args?.environmentId === undefined && !opts.urn) {
|
|
@@ -72,7 +76,8 @@ export class EnvironmentBackup extends pulumi.CustomResource {
|
|
|
72
76
|
resourceInputs["label"] = args?.label;
|
|
73
77
|
resourceInputs["backupExpiryDateTime"] = undefined /*out*/;
|
|
74
78
|
resourceInputs["backupPointDateTime"] = undefined /*out*/;
|
|
75
|
-
}
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
76
81
|
resourceInputs["backupExpiryDateTime"] = undefined /*out*/;
|
|
77
82
|
resourceInputs["backupPointDateTime"] = undefined /*out*/;
|
|
78
83
|
resourceInputs["environmentId"] = undefined /*out*/;
|
|
@@ -82,17 +87,5 @@ export class EnvironmentBackup extends pulumi.CustomResource {
|
|
|
82
87
|
super(EnvironmentBackup.__pulumiType, name, resourceInputs, opts);
|
|
83
88
|
}
|
|
84
89
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
* The set of arguments for constructing a EnvironmentBackup resource.
|
|
88
|
-
*/
|
|
89
|
-
export interface EnvironmentBackupArgs {
|
|
90
|
-
/**
|
|
91
|
-
* The ID of the environment to back up.
|
|
92
|
-
*/
|
|
93
|
-
environmentId: pulumi.Input<string>;
|
|
94
|
-
/**
|
|
95
|
-
* A descriptive label for the backup.
|
|
96
|
-
*/
|
|
97
|
-
label: pulumi.Input<string>;
|
|
98
|
-
}
|
|
90
|
+
exports.EnvironmentBackup = EnvironmentBackup;
|
|
91
|
+
//# sourceMappingURL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,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7D;aAAM;YACH,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,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,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAzEL,8CA0EC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a Power Platform environment group. Environment groups allow you to organize environments and apply policies at a group level.
|
|
4
|
+
*/
|
|
5
|
+
export declare class EnvironmentGroup extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing EnvironmentGroup resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): EnvironmentGroup;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of EnvironmentGroup. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is EnvironmentGroup;
|
|
20
|
+
/**
|
|
21
|
+
* The timestamp when the group was created.
|
|
22
|
+
*/
|
|
23
|
+
readonly createdTime: pulumi.Output<string | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* The description of the environment group.
|
|
26
|
+
*/
|
|
27
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* The display name of the environment group.
|
|
30
|
+
*/
|
|
31
|
+
readonly displayName: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The timestamp when the group was last modified.
|
|
34
|
+
*/
|
|
35
|
+
readonly lastModifiedTime: pulumi.Output<string | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* The ID of the parent environment group.
|
|
38
|
+
*/
|
|
39
|
+
readonly parentGroupId: pulumi.Output<string | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* Create a EnvironmentGroup resource with the given unique name, arguments, and options.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resource.
|
|
44
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
45
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
46
|
+
*/
|
|
47
|
+
constructor(name: string, args: EnvironmentGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The set of arguments for constructing a EnvironmentGroup resource.
|
|
51
|
+
*/
|
|
52
|
+
export interface EnvironmentGroupArgs {
|
|
53
|
+
/**
|
|
54
|
+
* A description of the environment group.
|
|
55
|
+
*/
|
|
56
|
+
description?: pulumi.Input<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The display name for the environment group.
|
|
59
|
+
*/
|
|
60
|
+
displayName: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The ID of the parent environment group, if this is a nested group.
|
|
63
|
+
*/
|
|
64
|
+
parentGroupId?: pulumi.Input<string>;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=environmentGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environmentGroup.d.ts","sourceRoot":"","sources":["../environmentGroup.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,gBAAgB;IAOnH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,gBAAgB;IAO3D;;OAEG;IACH,SAAgC,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/E;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAgC,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpF;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAEzE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsB5F;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;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