@pulumi/azure 5.13.0 → 5.14.0-alpha.1659008711
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/apimanagement/apiSchema.d.ts +1 -1
- package/apimanagement/apiSchema.js +1 -1
- package/apimanagement/certificate.d.ts +2 -2
- package/apimanagement/certificate.js +2 -2
- package/apimanagement/policy.d.ts +1 -1
- package/apimanagement/policy.js +1 -1
- package/appinsights/index.d.ts +1 -0
- package/appinsights/index.js +5 -0
- package/appinsights/index.js.map +1 -1
- package/appinsights/workbook.d.ts +215 -0
- package/appinsights/workbook.js +118 -0
- package/appinsights/workbook.js.map +1 -0
- package/appservice/certificate.d.ts +1 -1
- package/appservice/certificate.js +1 -1
- package/appservice/functionApp.d.ts +0 -40
- package/appservice/functionApp.js +0 -40
- package/appservice/functionApp.js.map +1 -1
- package/appservice/functionAppFunction.d.ts +1 -1
- package/appservice/functionAppFunction.js +1 -1
- package/appservice/publicCertificate.d.ts +1 -1
- package/appservice/publicCertificate.js +1 -1
- package/attestation/provider.d.ts +1 -1
- package/attestation/provider.js +1 -1
- package/automation/certificate.d.ts +1 -1
- package/automation/certificate.js +1 -1
- package/automation/connectionCertificate.d.ts +1 -1
- package/automation/connectionCertificate.js +1 -1
- package/automation/connectionServicePrincipal.d.ts +1 -1
- package/automation/connectionServicePrincipal.js +1 -1
- package/batch/certificate.d.ts +1 -1
- package/batch/certificate.js +1 -1
- package/batch/pool.d.ts +1 -1
- package/batch/pool.js +1 -1
- package/cdn/frontdoorEndpoint.d.ts +4 -1
- package/cdn/frontdoorEndpoint.js +4 -1
- package/cdn/frontdoorEndpoint.js.map +1 -1
- package/cdn/frontdoorOrigin.d.ts +178 -0
- package/cdn/frontdoorOrigin.js +87 -0
- package/cdn/frontdoorOrigin.js.map +1 -0
- package/cdn/frontdoorOriginGroup.d.ts +120 -0
- package/cdn/frontdoorOriginGroup.js +76 -0
- package/cdn/frontdoorOriginGroup.js.map +1 -0
- package/cdn/frontdoorRuleSet.d.ts +4 -1
- package/cdn/frontdoorRuleSet.js +4 -1
- package/cdn/frontdoorRuleSet.js.map +1 -1
- package/cdn/getFrontdoorOriginGroup.d.ts +83 -0
- package/cdn/getFrontdoorOriginGroup.js +40 -0
- package/cdn/getFrontdoorOriginGroup.js.map +1 -0
- package/cdn/index.d.ts +3 -0
- package/cdn/index.js +11 -0
- package/cdn/index.js.map +1 -1
- package/compute/linuxVirtualMachine.d.ts +1 -1
- package/compute/linuxVirtualMachine.js +1 -1
- package/compute/managedDisk.d.ts +1 -1
- package/compute/managedDisk.js +1 -1
- package/compute/scaleSet.d.ts +1 -1
- package/compute/scaleSet.js +1 -1
- package/compute/sshPublicKey.d.ts +1 -1
- package/compute/sshPublicKey.js +1 -1
- package/devtest/linuxVirtualMachine.d.ts +1 -1
- package/devtest/linuxVirtualMachine.js +1 -1
- package/domainservices/getService.d.ts +13 -1
- package/domainservices/getService.js +1 -0
- package/domainservices/getService.js.map +1 -1
- package/eventhub/getAuthorizationRule.d.ts +0 -12
- package/eventhub/getAuthorizationRule.js +0 -12
- package/eventhub/getAuthorizationRule.js.map +1 -1
- package/iot/certificate.d.ts +1 -1
- package/iot/certificate.js +1 -1
- package/iot/enrichment.d.ts +0 -55
- package/iot/enrichment.js +0 -55
- package/iot/enrichment.js.map +1 -1
- package/iot/fallbackRoute.d.ts +0 -47
- package/iot/fallbackRoute.js +0 -47
- package/iot/fallbackRoute.js.map +1 -1
- package/iot/iotHubCertificate.d.ts +1 -1
- package/iot/iotHubCertificate.js +1 -1
- package/iot/route.d.ts +0 -48
- package/iot/route.js +0 -48
- package/iot/route.js.map +1 -1
- package/keyvault/certifiate.d.ts +1 -1
- package/keyvault/certifiate.js +1 -1
- package/keyvault/certificate.d.ts +1 -1
- package/keyvault/certificate.js +1 -1
- package/kusto/cluster.d.ts +36 -0
- package/kusto/cluster.js +6 -0
- package/kusto/cluster.js.map +1 -1
- package/lb/getLBRule.d.ts +0 -18
- package/lb/getLBRule.js +0 -18
- package/lb/getLBRule.js.map +1 -1
- package/logicapps/integrationAccountAgreement.d.ts +1 -1
- package/logicapps/integrationAccountAgreement.js +1 -1
- package/logicapps/integrationAccountAssembly.d.ts +1 -1
- package/logicapps/integrationAccountAssembly.js +1 -1
- package/logicapps/integrationAccountMap.d.ts +1 -1
- package/logicapps/integrationAccountMap.js +1 -1
- package/logicapps/integrationAccountSchema.d.ts +1 -1
- package/logicapps/integrationAccountSchema.js +1 -1
- package/maintenance/assignmentVirtualMachine.d.ts +1 -1
- package/maintenance/assignmentVirtualMachine.js +1 -1
- package/management/groupTemplateDeployment.d.ts +1 -1
- package/management/groupTemplateDeployment.js +1 -1
- package/monitoring/autoscaleSetting.d.ts +0 -110
- package/monitoring/autoscaleSetting.js +0 -110
- package/monitoring/autoscaleSetting.js.map +1 -1
- package/monitoring/dataCollectionRule.d.ts +162 -0
- package/monitoring/dataCollectionRule.js +85 -0
- package/monitoring/dataCollectionRule.js.map +1 -0
- package/monitoring/index.d.ts +1 -0
- package/monitoring/index.js +5 -0
- package/monitoring/index.js.map +1 -1
- package/network/index.d.ts +2 -0
- package/network/index.js +10 -0
- package/network/index.js.map +1 -1
- package/network/routeServer.d.ts +173 -0
- package/network/routeServer.js +128 -0
- package/network/routeServer.js.map +1 -0
- package/network/routeServerBgpConnection.d.ts +108 -0
- package/network/routeServerBgpConnection.js +88 -0
- package/network/routeServerBgpConnection.js.map +1 -0
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/postgresql/activeDirectoryAdministrator.d.ts +1 -1
- package/postgresql/activeDirectoryAdministrator.js +1 -1
- package/securitycenter/assessment.d.ts +1 -1
- package/securitycenter/assessment.js +1 -1
- package/servicebus/getQueue.d.ts +14 -0
- package/servicebus/getQueue.js.map +1 -1
- package/types/input.d.ts +204 -10
- package/types/output.d.ts +239 -3
- package/webpubsub/getPrivateLinkResource.d.ts +57 -0
- package/webpubsub/getPrivateLinkResource.js +43 -0
- package/webpubsub/getPrivateLinkResource.js.map +1 -0
- package/webpubsub/index.d.ts +2 -0
- package/webpubsub/index.js +6 -0
- package/webpubsub/index.js.map +1 -1
- package/webpubsub/sharedPrivateLinkResource.d.ts +151 -0
- package/webpubsub/sharedPrivateLinkResource.js +121 -0
- package/webpubsub/sharedPrivateLinkResource.js.map +1 -0
|
@@ -7,7 +7,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
* ```typescript
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as azure from "@pulumi/azure";
|
|
10
|
-
* import * from "fs";
|
|
10
|
+
* import * as fs from "fs";
|
|
11
11
|
*
|
|
12
12
|
* const exampleApi = azure.apimanagement.getApi({
|
|
13
13
|
* name: "search-api",
|
|
@@ -13,7 +13,7 @@ const utilities = require("../utilities");
|
|
|
13
13
|
* ```typescript
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as azure from "@pulumi/azure";
|
|
16
|
-
* import * from "fs";
|
|
16
|
+
* import * as fs from "fs";
|
|
17
17
|
*
|
|
18
18
|
* const exampleApi = azure.apimanagement.getApi({
|
|
19
19
|
* name: "search-api",
|
|
@@ -8,7 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* ```typescript
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as azure from "@pulumi/azure";
|
|
11
|
-
* import * from "fs";
|
|
11
|
+
* import * as fs from "fs";
|
|
12
12
|
*
|
|
13
13
|
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
14
14
|
* const exampleService = new azure.apimanagement.Service("exampleService", {
|
|
@@ -29,7 +29,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
29
29
|
* ```typescript
|
|
30
30
|
* import * as pulumi from "@pulumi/pulumi";
|
|
31
31
|
* import * as azure from "@pulumi/azure";
|
|
32
|
-
* import * from "fs";
|
|
32
|
+
* import * as fs from "fs";
|
|
33
33
|
*
|
|
34
34
|
* const current = azure.core.getClientConfig({});
|
|
35
35
|
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
@@ -14,7 +14,7 @@ const utilities = require("../utilities");
|
|
|
14
14
|
* ```typescript
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as azure from "@pulumi/azure";
|
|
17
|
-
* import * from "fs";
|
|
17
|
+
* import * as fs from "fs";
|
|
18
18
|
*
|
|
19
19
|
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
20
20
|
* const exampleService = new azure.apimanagement.Service("exampleService", {
|
|
@@ -35,7 +35,7 @@ const utilities = require("../utilities");
|
|
|
35
35
|
* ```typescript
|
|
36
36
|
* import * as pulumi from "@pulumi/pulumi";
|
|
37
37
|
* import * as azure from "@pulumi/azure";
|
|
38
|
-
* import * from "fs";
|
|
38
|
+
* import * as fs from "fs";
|
|
39
39
|
*
|
|
40
40
|
* const current = azure.core.getClientConfig({});
|
|
41
41
|
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
@@ -9,7 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* ```typescript
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as azure from "@pulumi/azure";
|
|
12
|
-
* import * from "fs";
|
|
12
|
+
* import * as fs from "fs";
|
|
13
13
|
*
|
|
14
14
|
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
15
15
|
* const exampleService = new azure.apimanagement.Service("exampleService", {
|
package/apimanagement/policy.js
CHANGED
|
@@ -15,7 +15,7 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* ```typescript
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as azure from "@pulumi/azure";
|
|
18
|
-
* import * from "fs";
|
|
18
|
+
* import * as fs from "fs";
|
|
19
19
|
*
|
|
20
20
|
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
21
21
|
* const exampleService = new azure.apimanagement.Service("exampleService", {
|
package/appinsights/index.d.ts
CHANGED
package/appinsights/index.js
CHANGED
|
@@ -25,6 +25,7 @@ __exportStar(require("./getInsights"), exports);
|
|
|
25
25
|
__exportStar(require("./insights"), exports);
|
|
26
26
|
__exportStar(require("./smartDetectionRule"), exports);
|
|
27
27
|
__exportStar(require("./webTest"), exports);
|
|
28
|
+
__exportStar(require("./workbook"), exports);
|
|
28
29
|
__exportStar(require("./workbookTemplate"), exports);
|
|
29
30
|
// Import resources to register:
|
|
30
31
|
const analyticsItem_1 = require("./analyticsItem");
|
|
@@ -32,6 +33,7 @@ const apiKey_1 = require("./apiKey");
|
|
|
32
33
|
const insights_1 = require("./insights");
|
|
33
34
|
const smartDetectionRule_1 = require("./smartDetectionRule");
|
|
34
35
|
const webTest_1 = require("./webTest");
|
|
36
|
+
const workbook_1 = require("./workbook");
|
|
35
37
|
const workbookTemplate_1 = require("./workbookTemplate");
|
|
36
38
|
const _module = {
|
|
37
39
|
version: utilities.getVersion(),
|
|
@@ -47,6 +49,8 @@ const _module = {
|
|
|
47
49
|
return new smartDetectionRule_1.SmartDetectionRule(name, undefined, { urn });
|
|
48
50
|
case "azure:appinsights/webTest:WebTest":
|
|
49
51
|
return new webTest_1.WebTest(name, undefined, { urn });
|
|
52
|
+
case "azure:appinsights/workbook:Workbook":
|
|
53
|
+
return new workbook_1.Workbook(name, undefined, { urn });
|
|
50
54
|
case "azure:appinsights/workbookTemplate:WorkbookTemplate":
|
|
51
55
|
return new workbookTemplate_1.WorkbookTemplate(name, undefined, { urn });
|
|
52
56
|
default:
|
|
@@ -59,5 +63,6 @@ pulumi.runtime.registerResourceModule("azure", "appinsights/apiKey", _module);
|
|
|
59
63
|
pulumi.runtime.registerResourceModule("azure", "appinsights/insights", _module);
|
|
60
64
|
pulumi.runtime.registerResourceModule("azure", "appinsights/smartDetectionRule", _module);
|
|
61
65
|
pulumi.runtime.registerResourceModule("azure", "appinsights/webTest", _module);
|
|
66
|
+
pulumi.runtime.registerResourceModule("azure", "appinsights/workbook", _module);
|
|
62
67
|
pulumi.runtime.registerResourceModule("azure", "appinsights/workbookTemplate", _module);
|
|
63
68
|
//# sourceMappingURL=index.js.map
|
package/appinsights/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../appinsights/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,kDAAgC;AAChC,2CAAyB;AACzB,gDAA8B;AAC9B,6CAA2B;AAC3B,uDAAqC;AACrC,4CAA0B;AAC1B,qDAAmC;AAEnC,gCAAgC;AAChC,mDAAgD;AAChD,qCAAkC;AAClC,yCAAsC;AACtC,6DAA0D;AAC1D,uCAAoC;AACpC,yDAAsD;AAEtD,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,+CAA+C;gBAChD,OAAO,IAAI,6BAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D,KAAK,iCAAiC;gBAClC,OAAO,IAAI,eAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,qCAAqC;gBACtC,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,yDAAyD;gBAC1D,OAAO,IAAI,uCAAkB,CA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AO,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Manages an Azure Workbook.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as azure from "@pulumi/azure";
|
|
11
|
+
*
|
|
12
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
13
|
+
* const exampleWorkbook = new azure.appinsights.Workbook("exampleWorkbook", {
|
|
14
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
15
|
+
* location: exampleResourceGroup.location,
|
|
16
|
+
* displayName: "workbook1",
|
|
17
|
+
* dataJson: JSON.stringify({
|
|
18
|
+
* version: "Notebook/1.0",
|
|
19
|
+
* items: [{
|
|
20
|
+
* type: 1,
|
|
21
|
+
* content: {
|
|
22
|
+
* json: "Test2022",
|
|
23
|
+
* },
|
|
24
|
+
* name: "text - 0",
|
|
25
|
+
* }],
|
|
26
|
+
* isLocked: false,
|
|
27
|
+
* fallbackResourceIds: ["Azure Monitor"],
|
|
28
|
+
* }),
|
|
29
|
+
* tags: {
|
|
30
|
+
* ENV: "Test",
|
|
31
|
+
* },
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ## Import
|
|
36
|
+
*
|
|
37
|
+
* Workbooks can be imported using the `resource id`, e.g.
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import azure:appinsights/workbook:Workbook example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Insights/workbooks/resource1
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
export declare class Workbook extends pulumi.CustomResource {
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing Workbook resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param state Any extra arguments used during the lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkbookState, opts?: pulumi.CustomResourceOptions): Workbook;
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of Workbook. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj: any): obj is Workbook;
|
|
59
|
+
/**
|
|
60
|
+
* Workbook category, as defined by the user at creation time. There may be additional category types beyond the following: `workbook`, `sentinel`. Defaults to `workbook`.
|
|
61
|
+
*/
|
|
62
|
+
readonly category: pulumi.Output<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Configuration of this particular workbook. Configuration data is a string containing valid JSON.
|
|
65
|
+
*/
|
|
66
|
+
readonly dataJson: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Specifies the description of the workbook.
|
|
69
|
+
*/
|
|
70
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* Specifies the user-defined name (display name) of the workbook.
|
|
73
|
+
*/
|
|
74
|
+
readonly displayName: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* An `identity` block as defined below. Changing this forces a new Workbook to be created.
|
|
77
|
+
*/
|
|
78
|
+
readonly identity: pulumi.Output<outputs.appinsights.WorkbookIdentity | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* Specifies the Azure Region where the Workbook should exist. Changing this forces a new Workbook to be created.
|
|
81
|
+
*/
|
|
82
|
+
readonly location: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Specifies the name of this Workbook as a UUID/GUID. It should not contain any uppercase letters. Changing this forces a new Workbook to be created.
|
|
85
|
+
*/
|
|
86
|
+
readonly name: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Specifies the name of the Resource Group where the Workbook should exist. Changing this forces a new Workbook to be created.
|
|
89
|
+
*/
|
|
90
|
+
readonly resourceGroupName: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Resource ID for a source resource. It should not contain any uppercase letters. Defaults to `azure monitor`.
|
|
93
|
+
*/
|
|
94
|
+
readonly sourceId: pulumi.Output<string | undefined>;
|
|
95
|
+
/**
|
|
96
|
+
* Specifies the Resource Manager ID of the Storage Container when bring your own storage is used. Changing this forces a new Workbook to be created.
|
|
97
|
+
*/
|
|
98
|
+
readonly storageContainerId: pulumi.Output<string | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* A mapping of tags which should be assigned to the Workbook.
|
|
101
|
+
*/
|
|
102
|
+
readonly tags: pulumi.Output<{
|
|
103
|
+
[key: string]: string;
|
|
104
|
+
} | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Create a Workbook resource with the given unique name, arguments, and options.
|
|
107
|
+
*
|
|
108
|
+
* @param name The _unique_ name of the resource.
|
|
109
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
110
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
111
|
+
*/
|
|
112
|
+
constructor(name: string, args: WorkbookArgs, opts?: pulumi.CustomResourceOptions);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Input properties used for looking up and filtering Workbook resources.
|
|
116
|
+
*/
|
|
117
|
+
export interface WorkbookState {
|
|
118
|
+
/**
|
|
119
|
+
* Workbook category, as defined by the user at creation time. There may be additional category types beyond the following: `workbook`, `sentinel`. Defaults to `workbook`.
|
|
120
|
+
*/
|
|
121
|
+
category?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Configuration of this particular workbook. Configuration data is a string containing valid JSON.
|
|
124
|
+
*/
|
|
125
|
+
dataJson?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Specifies the description of the workbook.
|
|
128
|
+
*/
|
|
129
|
+
description?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Specifies the user-defined name (display name) of the workbook.
|
|
132
|
+
*/
|
|
133
|
+
displayName?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* An `identity` block as defined below. Changing this forces a new Workbook to be created.
|
|
136
|
+
*/
|
|
137
|
+
identity?: pulumi.Input<inputs.appinsights.WorkbookIdentity>;
|
|
138
|
+
/**
|
|
139
|
+
* Specifies the Azure Region where the Workbook should exist. Changing this forces a new Workbook to be created.
|
|
140
|
+
*/
|
|
141
|
+
location?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Specifies the name of this Workbook as a UUID/GUID. It should not contain any uppercase letters. Changing this forces a new Workbook to be created.
|
|
144
|
+
*/
|
|
145
|
+
name?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Specifies the name of the Resource Group where the Workbook should exist. Changing this forces a new Workbook to be created.
|
|
148
|
+
*/
|
|
149
|
+
resourceGroupName?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Resource ID for a source resource. It should not contain any uppercase letters. Defaults to `azure monitor`.
|
|
152
|
+
*/
|
|
153
|
+
sourceId?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* Specifies the Resource Manager ID of the Storage Container when bring your own storage is used. Changing this forces a new Workbook to be created.
|
|
156
|
+
*/
|
|
157
|
+
storageContainerId?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* A mapping of tags which should be assigned to the Workbook.
|
|
160
|
+
*/
|
|
161
|
+
tags?: pulumi.Input<{
|
|
162
|
+
[key: string]: pulumi.Input<string>;
|
|
163
|
+
}>;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* The set of arguments for constructing a Workbook resource.
|
|
167
|
+
*/
|
|
168
|
+
export interface WorkbookArgs {
|
|
169
|
+
/**
|
|
170
|
+
* Workbook category, as defined by the user at creation time. There may be additional category types beyond the following: `workbook`, `sentinel`. Defaults to `workbook`.
|
|
171
|
+
*/
|
|
172
|
+
category?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Configuration of this particular workbook. Configuration data is a string containing valid JSON.
|
|
175
|
+
*/
|
|
176
|
+
dataJson: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* Specifies the description of the workbook.
|
|
179
|
+
*/
|
|
180
|
+
description?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* Specifies the user-defined name (display name) of the workbook.
|
|
183
|
+
*/
|
|
184
|
+
displayName: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* An `identity` block as defined below. Changing this forces a new Workbook to be created.
|
|
187
|
+
*/
|
|
188
|
+
identity?: pulumi.Input<inputs.appinsights.WorkbookIdentity>;
|
|
189
|
+
/**
|
|
190
|
+
* Specifies the Azure Region where the Workbook should exist. Changing this forces a new Workbook to be created.
|
|
191
|
+
*/
|
|
192
|
+
location?: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* Specifies the name of this Workbook as a UUID/GUID. It should not contain any uppercase letters. Changing this forces a new Workbook to be created.
|
|
195
|
+
*/
|
|
196
|
+
name?: pulumi.Input<string>;
|
|
197
|
+
/**
|
|
198
|
+
* Specifies the name of the Resource Group where the Workbook should exist. Changing this forces a new Workbook to be created.
|
|
199
|
+
*/
|
|
200
|
+
resourceGroupName: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* Resource ID for a source resource. It should not contain any uppercase letters. Defaults to `azure monitor`.
|
|
203
|
+
*/
|
|
204
|
+
sourceId?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* Specifies the Resource Manager ID of the Storage Container when bring your own storage is used. Changing this forces a new Workbook to be created.
|
|
207
|
+
*/
|
|
208
|
+
storageContainerId?: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* A mapping of tags which should be assigned to the Workbook.
|
|
211
|
+
*/
|
|
212
|
+
tags?: pulumi.Input<{
|
|
213
|
+
[key: string]: pulumi.Input<string>;
|
|
214
|
+
}>;
|
|
215
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Workbook = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an Azure Workbook.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
18
|
+
* const exampleWorkbook = new azure.appinsights.Workbook("exampleWorkbook", {
|
|
19
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
20
|
+
* location: exampleResourceGroup.location,
|
|
21
|
+
* displayName: "workbook1",
|
|
22
|
+
* dataJson: JSON.stringify({
|
|
23
|
+
* version: "Notebook/1.0",
|
|
24
|
+
* items: [{
|
|
25
|
+
* type: 1,
|
|
26
|
+
* content: {
|
|
27
|
+
* json: "Test2022",
|
|
28
|
+
* },
|
|
29
|
+
* name: "text - 0",
|
|
30
|
+
* }],
|
|
31
|
+
* isLocked: false,
|
|
32
|
+
* fallbackResourceIds: ["Azure Monitor"],
|
|
33
|
+
* }),
|
|
34
|
+
* tags: {
|
|
35
|
+
* ENV: "Test",
|
|
36
|
+
* },
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* ## Import
|
|
41
|
+
*
|
|
42
|
+
* Workbooks can be imported using the `resource id`, e.g.
|
|
43
|
+
*
|
|
44
|
+
* ```sh
|
|
45
|
+
* $ pulumi import azure:appinsights/workbook:Workbook example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Insights/workbooks/resource1
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
class Workbook extends pulumi.CustomResource {
|
|
49
|
+
constructor(name, argsOrState, opts) {
|
|
50
|
+
let resourceInputs = {};
|
|
51
|
+
opts = opts || {};
|
|
52
|
+
if (opts.id) {
|
|
53
|
+
const state = argsOrState;
|
|
54
|
+
resourceInputs["category"] = state ? state.category : undefined;
|
|
55
|
+
resourceInputs["dataJson"] = state ? state.dataJson : undefined;
|
|
56
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
57
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
58
|
+
resourceInputs["identity"] = state ? state.identity : undefined;
|
|
59
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
60
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
61
|
+
resourceInputs["resourceGroupName"] = state ? state.resourceGroupName : undefined;
|
|
62
|
+
resourceInputs["sourceId"] = state ? state.sourceId : undefined;
|
|
63
|
+
resourceInputs["storageContainerId"] = state ? state.storageContainerId : undefined;
|
|
64
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
if ((!args || args.dataJson === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'dataJson'");
|
|
70
|
+
}
|
|
71
|
+
if ((!args || args.displayName === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'displayName'");
|
|
73
|
+
}
|
|
74
|
+
if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'resourceGroupName'");
|
|
76
|
+
}
|
|
77
|
+
resourceInputs["category"] = args ? args.category : undefined;
|
|
78
|
+
resourceInputs["dataJson"] = args ? args.dataJson : undefined;
|
|
79
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
80
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
81
|
+
resourceInputs["identity"] = args ? args.identity : undefined;
|
|
82
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
83
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
84
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
85
|
+
resourceInputs["sourceId"] = args ? args.sourceId : undefined;
|
|
86
|
+
resourceInputs["storageContainerId"] = args ? args.storageContainerId : undefined;
|
|
87
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
88
|
+
}
|
|
89
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
90
|
+
super(Workbook.__pulumiType, name, resourceInputs, opts);
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Get an existing Workbook resource's state with the given name, ID, and optional extra
|
|
94
|
+
* properties used to qualify the lookup.
|
|
95
|
+
*
|
|
96
|
+
* @param name The _unique_ name of the resulting resource.
|
|
97
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
98
|
+
* @param state Any extra arguments used during the lookup.
|
|
99
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
100
|
+
*/
|
|
101
|
+
static get(name, id, state, opts) {
|
|
102
|
+
return new Workbook(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Returns true if the given object is an instance of Workbook. This is designed to work even
|
|
106
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
107
|
+
*/
|
|
108
|
+
static isInstance(obj) {
|
|
109
|
+
if (obj === undefined || obj === null) {
|
|
110
|
+
return false;
|
|
111
|
+
}
|
|
112
|
+
return obj['__pulumiType'] === Workbook.__pulumiType;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
exports.Workbook = Workbook;
|
|
116
|
+
/** @internal */
|
|
117
|
+
Workbook.__pulumiType = 'azure:appinsights/workbook:Workbook';
|
|
118
|
+
//# sourceMappingURL=workbook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workbook.js","sourceRoot":"","sources":["../../appinsights/workbook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAiF/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,U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
|
9
9
|
* ```typescript
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as azure from "@pulumi/azure";
|
|
12
|
-
* import * from "fs";
|
|
12
|
+
* import * as fs from "fs";
|
|
13
13
|
*
|
|
14
14
|
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
15
15
|
* const exampleCertificate = new azure.appservice.Certificate("exampleCertificate", {
|
|
@@ -15,7 +15,7 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* ```typescript
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as azure from "@pulumi/azure";
|
|
18
|
-
* import * from "fs";
|
|
18
|
+
* import * as fs from "fs";
|
|
19
19
|
*
|
|
20
20
|
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
21
21
|
* const exampleCertificate = new azure.appservice.Certificate("exampleCertificate", {
|
|
@@ -95,46 +95,6 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
95
95
|
* });
|
|
96
96
|
* ```
|
|
97
97
|
* > **Note:** Version `~3` or `~4` is required for Linux Function Apps.
|
|
98
|
-
* ### Python In A Consumption Plan)
|
|
99
|
-
*
|
|
100
|
-
* ```typescript
|
|
101
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
102
|
-
* import * as azure from "@pulumi/azure";
|
|
103
|
-
*
|
|
104
|
-
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
105
|
-
* const exampleAccount = new azure.storage.Account("exampleAccount", {
|
|
106
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
107
|
-
* location: exampleResourceGroup.location,
|
|
108
|
-
* accountTier: "Standard",
|
|
109
|
-
* accountReplicationType: "LRS",
|
|
110
|
-
* });
|
|
111
|
-
* const examplePlan = new azure.appservice.Plan("examplePlan", {
|
|
112
|
-
* location: exampleResourceGroup.location,
|
|
113
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
114
|
-
* kind: "Linux",
|
|
115
|
-
* reserved: true,
|
|
116
|
-
* sku: {
|
|
117
|
-
* tier: "Dynamic",
|
|
118
|
-
* size: "Y1",
|
|
119
|
-
* },
|
|
120
|
-
* });
|
|
121
|
-
* const exampleFunctionApp = new azure.appservice.FunctionApp("exampleFunctionApp", {
|
|
122
|
-
* location: exampleResourceGroup.location,
|
|
123
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
124
|
-
* appServicePlanId: examplePlan.id,
|
|
125
|
-
* storageAccountName: exampleAccount.name,
|
|
126
|
-
* storageAccountAccessKey: exampleAccount.primaryAccessKey,
|
|
127
|
-
* osType: "linux",
|
|
128
|
-
* version: "~4",
|
|
129
|
-
* appSettings: [{
|
|
130
|
-
* FUNCTIONSWORKERRUNTIME: "python",
|
|
131
|
-
* }],
|
|
132
|
-
* siteConfig: {
|
|
133
|
-
* linuxFxVersion: "python|3.9",
|
|
134
|
-
* },
|
|
135
|
-
* });
|
|
136
|
-
* ```
|
|
137
|
-
* > **Note:** The Python runtime is only supported on a Linux based hosting plan. See [the documentation for additional information](https://docs.microsoft.com/azure/azure-functions/functions-reference-python).
|
|
138
98
|
*
|
|
139
99
|
* ## Import
|
|
140
100
|
*
|
|
@@ -100,46 +100,6 @@ const utilities = require("../utilities");
|
|
|
100
100
|
* });
|
|
101
101
|
* ```
|
|
102
102
|
* > **Note:** Version `~3` or `~4` is required for Linux Function Apps.
|
|
103
|
-
* ### Python In A Consumption Plan)
|
|
104
|
-
*
|
|
105
|
-
* ```typescript
|
|
106
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
107
|
-
* import * as azure from "@pulumi/azure";
|
|
108
|
-
*
|
|
109
|
-
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
110
|
-
* const exampleAccount = new azure.storage.Account("exampleAccount", {
|
|
111
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
112
|
-
* location: exampleResourceGroup.location,
|
|
113
|
-
* accountTier: "Standard",
|
|
114
|
-
* accountReplicationType: "LRS",
|
|
115
|
-
* });
|
|
116
|
-
* const examplePlan = new azure.appservice.Plan("examplePlan", {
|
|
117
|
-
* location: exampleResourceGroup.location,
|
|
118
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
119
|
-
* kind: "Linux",
|
|
120
|
-
* reserved: true,
|
|
121
|
-
* sku: {
|
|
122
|
-
* tier: "Dynamic",
|
|
123
|
-
* size: "Y1",
|
|
124
|
-
* },
|
|
125
|
-
* });
|
|
126
|
-
* const exampleFunctionApp = new azure.appservice.FunctionApp("exampleFunctionApp", {
|
|
127
|
-
* location: exampleResourceGroup.location,
|
|
128
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
129
|
-
* appServicePlanId: examplePlan.id,
|
|
130
|
-
* storageAccountName: exampleAccount.name,
|
|
131
|
-
* storageAccountAccessKey: exampleAccount.primaryAccessKey,
|
|
132
|
-
* osType: "linux",
|
|
133
|
-
* version: "~4",
|
|
134
|
-
* appSettings: [{
|
|
135
|
-
* FUNCTIONSWORKERRUNTIME: "python",
|
|
136
|
-
* }],
|
|
137
|
-
* siteConfig: {
|
|
138
|
-
* linuxFxVersion: "python|3.9",
|
|
139
|
-
* },
|
|
140
|
-
* });
|
|
141
|
-
* ```
|
|
142
|
-
* > **Note:** The Python runtime is only supported on a Linux based hosting plan. See [the documentation for additional information](https://docs.microsoft.com/azure/azure-functions/functions-reference-python).
|
|
143
103
|
*
|
|
144
104
|
* ## Import
|
|
145
105
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functionApp.js","sourceRoot":"","sources":["../../appservice/functionApp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"functionApp.js","sourceRoot":"","sources":["../../appservice/functionApp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,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AO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCA8NC;AAhNG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -67,7 +67,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
67
67
|
* ```typescript
|
|
68
68
|
* import * as pulumi from "@pulumi/pulumi";
|
|
69
69
|
* import * as azure from "@pulumi/azure";
|
|
70
|
-
* import * from "fs";
|
|
70
|
+
* import * as fs from "fs";
|
|
71
71
|
*
|
|
72
72
|
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
73
73
|
* const exampleAccount = new azure.storage.Account("exampleAccount", {
|
|
@@ -72,7 +72,7 @@ const utilities = require("../utilities");
|
|
|
72
72
|
* ```typescript
|
|
73
73
|
* import * as pulumi from "@pulumi/pulumi";
|
|
74
74
|
* import * as azure from "@pulumi/azure";
|
|
75
|
-
* import * from "fs";
|
|
75
|
+
* import * as fs from "fs";
|
|
76
76
|
*
|
|
77
77
|
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
78
78
|
* const exampleAccount = new azure.storage.Account("exampleAccount", {
|
|
@@ -7,7 +7,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
* ```typescript
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as azure from "@pulumi/azure";
|
|
10
|
-
* import * from "fs";
|
|
10
|
+
* import * as fs from "fs";
|
|
11
11
|
*
|
|
12
12
|
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
13
13
|
* const examplePlan = new azure.appservice.Plan("examplePlan", {
|