@pulumi/azure 5.13.0 → 5.14.0-alpha.1658323018
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/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/compute/linuxVirtualMachine.d.ts +1 -1
- package/compute/linuxVirtualMachine.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/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/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/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/securitycenter/assessment.d.ts +1 -1
- package/securitycenter/assessment.js +1 -1
|
@@ -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", {
|
|
@@ -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 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,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuGG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAiJlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC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AAS,CAAC,OAAO,CAAC;YACjE,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,6BAA6B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClE,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACzD;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;IA5ND;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;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,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", {
|
|
@@ -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 exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
19
19
|
* const examplePlan = new azure.appservice.Plan("examplePlan", {
|
|
@@ -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 exampleProvider = new azure.attestation.Provider("exampleProvider", {
|
package/attestation/provider.js
CHANGED
|
@@ -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 exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
19
19
|
* const exampleProvider = new azure.attestation.Provider("exampleProvider", {
|
|
@@ -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 exampleAccount = new azure.automation.Account("exampleAccount", {
|
|
@@ -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 exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
19
19
|
* const exampleAccount = new azure.automation.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 exampleClientConfig = azure.core.getClientConfig({});
|
|
@@ -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 exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
19
19
|
* const exampleClientConfig = azure.core.getClientConfig({});
|
|
@@ -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 exampleClientConfig = azure.core.getClientConfig({});
|
|
@@ -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 exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
19
19
|
* const exampleClientConfig = azure.core.getClientConfig({});
|
package/batch/certificate.d.ts
CHANGED
|
@@ -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 exampleAccount = new azure.storage.Account("exampleAccount", {
|
package/batch/certificate.js
CHANGED
|
@@ -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 exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
19
19
|
* const exampleAccount = new azure.storage.Account("exampleAccount", {
|
package/batch/pool.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
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 exampleAccount = new azure.storage.Account("exampleAccount", {
|
package/batch/pool.js
CHANGED
|
@@ -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 exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
19
19
|
* const exampleAccount = new azure.storage.Account("exampleAccount", {
|
|
@@ -22,7 +22,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
22
22
|
* ```typescript
|
|
23
23
|
* import * as pulumi from "@pulumi/pulumi";
|
|
24
24
|
* import * as azure from "@pulumi/azure";
|
|
25
|
-
* import * from "fs";
|
|
25
|
+
* import * as fs from "fs";
|
|
26
26
|
*
|
|
27
27
|
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
28
28
|
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("exampleVirtualNetwork", {
|
|
@@ -27,7 +27,7 @@ const utilities = require("../utilities");
|
|
|
27
27
|
* ```typescript
|
|
28
28
|
* import * as pulumi from "@pulumi/pulumi";
|
|
29
29
|
* import * as azure from "@pulumi/azure";
|
|
30
|
-
* import * from "fs";
|
|
30
|
+
* import * as fs from "fs";
|
|
31
31
|
*
|
|
32
32
|
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
33
33
|
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("exampleVirtualNetwork", {
|
package/compute/scaleSet.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
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 exampleVirtualNetwork = new azure.network.VirtualNetwork("exampleVirtualNetwork", {
|
package/compute/scaleSet.js
CHANGED
|
@@ -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 exampleVirtualNetwork = new azure.network.VirtualNetwork("exampleVirtualNetwork", {
|
|
@@ -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 example = new azure.compute.SshPublicKey("example", {
|
|
13
13
|
* resourceGroupName: "example",
|
package/compute/sshPublicKey.js
CHANGED
|
@@ -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 example = new azure.compute.SshPublicKey("example", {
|
|
19
19
|
* resourceGroupName: "example",
|
|
@@ -8,7 +8,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
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 exampleLab = new azure.devtest.Lab("exampleLab", {
|
|
@@ -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 exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
19
19
|
* const exampleLab = new azure.devtest.Lab("exampleLab", {
|
package/iot/certificate.d.ts
CHANGED
|
@@ -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 exampleIoTHub = new azure.iot.IoTHub("exampleIoTHub", {
|
package/iot/certificate.js
CHANGED
|
@@ -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 exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
19
19
|
* const exampleIoTHub = new azure.iot.IoTHub("exampleIoTHub", {
|
package/iot/enrichment.d.ts
CHANGED
|
@@ -4,61 +4,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* > **NOTE:** Enrichment can be defined either directly on the `azure.iot.IoTHub` resource, or using the `azure.iot.Enrichment` resources - but the two cannot be used together. If both are used against the same IoTHub, spurious changes will occur.
|
|
6
6
|
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as azure from "@pulumi/azure";
|
|
12
|
-
*
|
|
13
|
-
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
14
|
-
* const exampleAccount = new azure.storage.Account("exampleAccount", {
|
|
15
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
16
|
-
* location: exampleResourceGroup.location,
|
|
17
|
-
* accountTier: "Standard",
|
|
18
|
-
* accountReplicationType: "LRS",
|
|
19
|
-
* });
|
|
20
|
-
* const exampleContainer = new azure.storage.Container("exampleContainer", {
|
|
21
|
-
* storageAccountName: exampleAccount.name,
|
|
22
|
-
* containerAccessType: "private",
|
|
23
|
-
* });
|
|
24
|
-
* const exampleIoTHub = new azure.iot.IoTHub("exampleIoTHub", {
|
|
25
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
26
|
-
* location: exampleResourceGroup.location,
|
|
27
|
-
* sku: {
|
|
28
|
-
* name: "S1",
|
|
29
|
-
* capacity: 1,
|
|
30
|
-
* },
|
|
31
|
-
* tags: {
|
|
32
|
-
* purpose: "testing",
|
|
33
|
-
* },
|
|
34
|
-
* });
|
|
35
|
-
* const exampleEndpointStorageContainer = new azure.iot.EndpointStorageContainer("exampleEndpointStorageContainer", {
|
|
36
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
37
|
-
* iothubId: exampleIoTHub.id,
|
|
38
|
-
* connectionString: exampleAccount.primaryBlobConnectionString,
|
|
39
|
-
* batchFrequencyInSeconds: 60,
|
|
40
|
-
* maxChunkSizeInBytes: 10485760,
|
|
41
|
-
* containerName: exampleContainer.name,
|
|
42
|
-
* encoding: "Avro",
|
|
43
|
-
* fileNameFormat: "{iothub}/{partition}_{YYYY}_{MM}_{DD}_{HH}_{mm}",
|
|
44
|
-
* });
|
|
45
|
-
* const exampleRoute = new azure.iot.Route("exampleRoute", {
|
|
46
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
47
|
-
* iothubName: exampleIoTHub.name,
|
|
48
|
-
* source: "DeviceMessages",
|
|
49
|
-
* condition: "true",
|
|
50
|
-
* endpointNames: [exampleEndpointStorageContainer.name],
|
|
51
|
-
* enabled: true,
|
|
52
|
-
* });
|
|
53
|
-
* const exampleEnrichment = new azure.iot.Enrichment("exampleEnrichment", {
|
|
54
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
55
|
-
* iothubName: exampleIoTHub.name,
|
|
56
|
-
* key: "example",
|
|
57
|
-
* value: "my value",
|
|
58
|
-
* endpointNames: [exampleEndpointStorageContainer.name],
|
|
59
|
-
* });
|
|
60
|
-
* ```
|
|
61
|
-
*
|
|
62
7
|
* ## Import
|
|
63
8
|
*
|
|
64
9
|
* IoTHub Enrichment can be imported using the `resource id`, e.g.
|
package/iot/enrichment.js
CHANGED
|
@@ -10,61 +10,6 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* > **NOTE:** Enrichment can be defined either directly on the `azure.iot.IoTHub` resource, or using the `azure.iot.Enrichment` resources - but the two cannot be used together. If both are used against the same IoTHub, spurious changes will occur.
|
|
12
12
|
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as azure from "@pulumi/azure";
|
|
18
|
-
*
|
|
19
|
-
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
20
|
-
* const exampleAccount = new azure.storage.Account("exampleAccount", {
|
|
21
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
22
|
-
* location: exampleResourceGroup.location,
|
|
23
|
-
* accountTier: "Standard",
|
|
24
|
-
* accountReplicationType: "LRS",
|
|
25
|
-
* });
|
|
26
|
-
* const exampleContainer = new azure.storage.Container("exampleContainer", {
|
|
27
|
-
* storageAccountName: exampleAccount.name,
|
|
28
|
-
* containerAccessType: "private",
|
|
29
|
-
* });
|
|
30
|
-
* const exampleIoTHub = new azure.iot.IoTHub("exampleIoTHub", {
|
|
31
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
32
|
-
* location: exampleResourceGroup.location,
|
|
33
|
-
* sku: {
|
|
34
|
-
* name: "S1",
|
|
35
|
-
* capacity: 1,
|
|
36
|
-
* },
|
|
37
|
-
* tags: {
|
|
38
|
-
* purpose: "testing",
|
|
39
|
-
* },
|
|
40
|
-
* });
|
|
41
|
-
* const exampleEndpointStorageContainer = new azure.iot.EndpointStorageContainer("exampleEndpointStorageContainer", {
|
|
42
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
43
|
-
* iothubId: exampleIoTHub.id,
|
|
44
|
-
* connectionString: exampleAccount.primaryBlobConnectionString,
|
|
45
|
-
* batchFrequencyInSeconds: 60,
|
|
46
|
-
* maxChunkSizeInBytes: 10485760,
|
|
47
|
-
* containerName: exampleContainer.name,
|
|
48
|
-
* encoding: "Avro",
|
|
49
|
-
* fileNameFormat: "{iothub}/{partition}_{YYYY}_{MM}_{DD}_{HH}_{mm}",
|
|
50
|
-
* });
|
|
51
|
-
* const exampleRoute = new azure.iot.Route("exampleRoute", {
|
|
52
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
53
|
-
* iothubName: exampleIoTHub.name,
|
|
54
|
-
* source: "DeviceMessages",
|
|
55
|
-
* condition: "true",
|
|
56
|
-
* endpointNames: [exampleEndpointStorageContainer.name],
|
|
57
|
-
* enabled: true,
|
|
58
|
-
* });
|
|
59
|
-
* const exampleEnrichment = new azure.iot.Enrichment("exampleEnrichment", {
|
|
60
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
61
|
-
* iothubName: exampleIoTHub.name,
|
|
62
|
-
* key: "example",
|
|
63
|
-
* value: "my value",
|
|
64
|
-
* endpointNames: [exampleEndpointStorageContainer.name],
|
|
65
|
-
* });
|
|
66
|
-
* ```
|
|
67
|
-
*
|
|
68
13
|
* ## Import
|
|
69
14
|
*
|
|
70
15
|
* IoTHub Enrichment can be imported using the `resource id`, e.g.
|
package/iot/enrichment.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enrichment.js","sourceRoot":"","sources":["../../iot/enrichment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"enrichment.js","sourceRoot":"","sources":["../../iot/enrichment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAmDjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;aAAM;YACH,MAAM,IAAI,GAAG,WAAyC,CAAC;YACvD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,aAAa,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAA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