@pulumi/azure 6.22.0-alpha.1743488595 → 6.22.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/aifoundry/project.d.ts +5 -5
- package/aifoundry/project.js +2 -2
- package/apimanagement/api.d.ts +6 -0
- package/apimanagement/api.js.map +1 -1
- package/appservice/appFlexConsumption.d.ts +14 -13
- package/appservice/appFlexConsumption.js +2 -1
- package/appservice/appFlexConsumption.js.map +1 -1
- package/appservice/certificate.d.ts +3 -3
- package/appservice/getLinuxFunctionApp.d.ts +4 -0
- package/appservice/getLinuxFunctionApp.js.map +1 -1
- package/appservice/getLinuxWebApp.d.ts +4 -0
- package/appservice/getLinuxWebApp.js.map +1 -1
- package/appservice/getWindowsFunctionApp.d.ts +4 -0
- package/appservice/getWindowsFunctionApp.js.map +1 -1
- package/appservice/getWindowsWebApp.d.ts +1 -0
- package/appservice/getWindowsWebApp.js.map +1 -1
- package/appservice/linuxFunctionApp.d.ts +12 -0
- package/appservice/linuxFunctionApp.js +2 -0
- package/appservice/linuxFunctionApp.js.map +1 -1
- package/appservice/linuxFunctionAppSlot.d.ts +21 -3
- package/appservice/linuxFunctionAppSlot.js +2 -0
- package/appservice/linuxFunctionAppSlot.js.map +1 -1
- package/appservice/linuxWebApp.d.ts +12 -0
- package/appservice/linuxWebApp.js +2 -0
- package/appservice/linuxWebApp.js.map +1 -1
- package/appservice/linuxWebAppSlot.d.ts +3 -0
- package/appservice/linuxWebAppSlot.js +2 -0
- package/appservice/linuxWebAppSlot.js.map +1 -1
- package/appservice/windowsFunctionApp.d.ts +12 -0
- package/appservice/windowsFunctionApp.js +2 -0
- package/appservice/windowsFunctionApp.js.map +1 -1
- package/appservice/windowsFunctionAppSlot.d.ts +12 -0
- package/appservice/windowsFunctionAppSlot.js +2 -0
- package/appservice/windowsFunctionAppSlot.js.map +1 -1
- package/appservice/windowsWebApp.d.ts +12 -0
- package/appservice/windowsWebApp.js +2 -0
- package/appservice/windowsWebApp.js.map +1 -1
- package/appservice/windowsWebAppSlot.d.ts +12 -0
- package/appservice/windowsWebAppSlot.js +2 -0
- package/appservice/windowsWebAppSlot.js.map +1 -1
- package/authorization/assignment.d.ts +3 -1
- package/authorization/assignment.js +3 -1
- package/authorization/assignment.js.map +1 -1
- package/avs/cluster.d.ts +3 -3
- package/avs/privateCloud.d.ts +3 -3
- package/batch/job.d.ts +1 -1
- package/batch/job.js +1 -1
- package/batch/pool.d.ts +1 -1
- package/batch/pool.js +1 -1
- package/cdn/endpoint.d.ts +0 -2
- package/cdn/endpoint.js +0 -2
- package/cdn/endpoint.js.map +1 -1
- package/cdn/frontdoorFirewallPolicy.d.ts +70 -2
- package/cdn/frontdoorFirewallPolicy.js +54 -2
- package/cdn/frontdoorFirewallPolicy.js.map +1 -1
- package/cdn/frontdoorSecret.d.ts +1 -1
- package/cdn/frontdoorSecret.js +1 -1
- package/cdn/profile.d.ts +0 -2
- package/cdn/profile.js +0 -2
- package/cdn/profile.js.map +1 -1
- package/cognitive/aiservices.d.ts +6 -0
- package/cognitive/aiservices.js.map +1 -1
- package/compute/restorePoint.d.ts +81 -3
- package/compute/restorePoint.js +69 -0
- package/compute/restorePoint.js.map +1 -1
- package/connections/apiConnection.d.ts +5 -5
- package/connections/apiConnection.js +1 -1
- package/containerapp/environment.d.ts +3 -3
- package/containerservice/group.d.ts +3 -3
- package/containerservice/kubernetesClusterNodePool.d.ts +4 -4
- package/containerservice/kubernetesClusterNodePool.js +1 -1
- package/containerservice/registryCredentialSet.d.ts +2 -2
- package/containerservice/registryCredentialSet.js +2 -2
- package/containerservice/registryScopeMap.d.ts +2 -2
- package/containerservice/registryScopeMap.js +2 -2
- package/containerservice/registryToken.d.ts +2 -2
- package/containerservice/registryToken.js +2 -2
- package/containerservice/tokenPassword.d.ts +1 -1
- package/containerservice/tokenPassword.js +1 -1
- package/cosmosdb/mongoCluster.d.ts +13 -9
- package/cosmosdb/mongoCluster.js +3 -1
- package/cosmosdb/mongoCluster.js.map +1 -1
- package/dashboard/grafana.d.ts +4 -4
- package/dashboard/grafana.js +1 -1
- package/dashboard/grafanaManagedPrivateEndpoint.d.ts +1 -1
- package/dashboard/grafanaManagedPrivateEndpoint.js +1 -1
- package/datadog/monitorSsoConfiguration.d.ts +18 -6
- package/datadog/monitorSsoConfiguration.js +4 -5
- package/datadog/monitorSsoConfiguration.js.map +1 -1
- package/datafactory/linkedServiceSftp.d.ts +3 -3
- package/eventhub/namespace.d.ts +5 -5
- package/extendedlocation/getCustomLocation.d.ts +101 -0
- package/extendedlocation/getCustomLocation.js +56 -0
- package/extendedlocation/getCustomLocation.js.map +1 -0
- package/extendedlocation/index.d.ts +3 -0
- package/extendedlocation/index.js +4 -1
- package/extendedlocation/index.js.map +1 -1
- package/fabric/capacity.d.ts +9 -3
- package/fabric/capacity.js.map +1 -1
- package/frontdoor/customHttpsConfiguration.d.ts +0 -2
- package/frontdoor/customHttpsConfiguration.js +0 -2
- package/frontdoor/customHttpsConfiguration.js.map +1 -1
- package/frontdoor/firewallPolicy.d.ts +0 -2
- package/frontdoor/firewallPolicy.js +0 -2
- package/frontdoor/firewallPolicy.js.map +1 -1
- package/hdinsight/sparkCluster.d.ts +12 -0
- package/hdinsight/sparkCluster.js +2 -0
- package/hdinsight/sparkCluster.js.map +1 -1
- package/keyvault/getManagedHardwareSecurityModuleRoleDefinition.d.ts +41 -9
- package/keyvault/getManagedHardwareSecurityModuleRoleDefinition.js +28 -2
- package/keyvault/getManagedHardwareSecurityModuleRoleDefinition.js.map +1 -1
- package/keyvault/managedHardwareSecurityModuleRoleDefinition.d.ts +20 -11
- package/keyvault/managedHardwareSecurityModuleRoleDefinition.js +2 -2
- package/keyvault/managedHardwareSecurityModuleRoleDefinition.js.map +1 -1
- package/keyvault/secret.d.ts +18 -6
- package/keyvault/secret.js +2 -3
- package/keyvault/secret.js.map +1 -1
- package/loganalytics/linkedService.d.ts +8 -0
- package/loganalytics/linkedService.js +8 -0
- package/loganalytics/linkedService.js.map +1 -1
- package/mssql/jobAgent.d.ts +35 -9
- package/mssql/jobAgent.js +4 -0
- package/mssql/jobAgent.js.map +1 -1
- package/mysql/flexibleServer.d.ts +6 -0
- package/mysql/flexibleServer.js.map +1 -1
- package/network/index.d.ts +3 -0
- package/network/index.js +7 -2
- package/network/index.js.map +1 -1
- package/network/networkManager.d.ts +22 -22
- package/network/networkManager.js +2 -5
- package/network/networkManager.js.map +1 -1
- package/network/networkManagerIpamPool.d.ts +181 -0
- package/network/networkManagerIpamPool.js +115 -0
- package/network/networkManagerIpamPool.js.map +1 -0
- package/operationalinsights/analyticsWorkspace.d.ts +25 -31
- package/operationalinsights/analyticsWorkspace.js +1 -1
- package/operationalinsights/analyticsWorkspace.js.map +1 -1
- package/oracle/cloudVmCluster.d.ts +13 -0
- package/oracle/cloudVmCluster.js +3 -0
- package/oracle/cloudVmCluster.js.map +1 -1
- package/package.json +2 -2
- package/powerbi/embedded.d.ts +3 -3
- package/role/assignment.d.ts +3 -1
- package/role/assignment.js +3 -1
- package/role/assignment.js.map +1 -1
- package/servicebus/index.d.ts +3 -0
- package/servicebus/index.js +6 -1
- package/servicebus/index.js.map +1 -1
- package/servicebus/namespace.d.ts +5 -5
- package/servicebus/namespaceCustomerManagedKey.d.ts +177 -0
- package/servicebus/namespaceCustomerManagedKey.js +164 -0
- package/servicebus/namespaceCustomerManagedKey.js.map +1 -0
- package/siterecovery/replicationRecoveryPlan.d.ts +0 -18
- package/siterecovery/replicationRecoveryPlan.js.map +1 -1
- package/storage/blob.d.ts +1 -1
- package/storage/blob.js +1 -1
- package/streamanalytics/index.d.ts +3 -0
- package/streamanalytics/index.js +6 -1
- package/streamanalytics/index.js.map +1 -1
- package/streamanalytics/job.d.ts +6 -0
- package/streamanalytics/job.js.map +1 -1
- package/streamanalytics/jobStorageAccount.d.ts +126 -0
- package/streamanalytics/jobStorageAccount.js +126 -0
- package/streamanalytics/jobStorageAccount.js.map +1 -0
- package/systemcenter/index.d.ts +3 -0
- package/systemcenter/index.js +6 -1
- package/systemcenter/index.js.map +1 -1
- package/systemcenter/virtualMachineManagerVirtualMachineInstance.d.ts +228 -0
- package/systemcenter/virtualMachineManagerVirtualMachineInstance.js +148 -0
- package/systemcenter/virtualMachineManagerVirtualMachineInstance.js.map +1 -0
- package/types/input.d.ts +276 -51
- package/types/output.d.ts +295 -52
- package/webpubsub/index.d.ts +3 -0
- package/webpubsub/index.js +6 -1
- package/webpubsub/index.js.map +1 -1
- package/webpubsub/socketio.d.ts +311 -0
- package/webpubsub/socketio.js +112 -0
- package/webpubsub/socketio.js.map +1 -0
- package/workloadssap/discoveryVirtualInstance.d.ts +12 -0
- package/workloadssap/discoveryVirtualInstance.js +2 -0
- package/workloadssap/discoveryVirtualInstance.js.map +1 -1
- package/workloadssap/singleNodeVirtualInstance.d.ts +12 -0
- package/workloadssap/singleNodeVirtualInstance.js +2 -0
- package/workloadssap/singleNodeVirtualInstance.js.map +1 -1
- package/workloadssap/threeTierVirtualInstance.d.ts +12 -0
- package/workloadssap/threeTierVirtualInstance.js +2 -0
- package/workloadssap/threeTierVirtualInstance.js.map +1 -1
package/avs/cluster.d.ts
CHANGED
|
@@ -74,7 +74,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
74
74
|
*/
|
|
75
75
|
readonly name: pulumi.Output<string>;
|
|
76
76
|
/**
|
|
77
|
-
* The Cluster SKU to use. Possible values are `av20`, `av36`, `av36t`, `av36p`, `av36pt`, `av52`, `av52t`, and `av64`. Changing this forces a new Azure VMware Solution Cluster to be created.
|
|
77
|
+
* The Cluster SKU to use. Possible values are `av20`, `av36`, `av36t`, `av36p`, `av48`, `av48t`, `av36pt`, `av52`, `av52t`, and `av64`. Changing this forces a new Azure VMware Solution Cluster to be created.
|
|
78
78
|
*/
|
|
79
79
|
readonly skuName: pulumi.Output<string>;
|
|
80
80
|
/**
|
|
@@ -111,7 +111,7 @@ export interface ClusterState {
|
|
|
111
111
|
*/
|
|
112
112
|
name?: pulumi.Input<string>;
|
|
113
113
|
/**
|
|
114
|
-
* The Cluster SKU to use. Possible values are `av20`, `av36`, `av36t`, `av36p`, `av36pt`, `av52`, `av52t`, and `av64`. Changing this forces a new Azure VMware Solution Cluster to be created.
|
|
114
|
+
* The Cluster SKU to use. Possible values are `av20`, `av36`, `av36t`, `av36p`, `av48`, `av48t`, `av36pt`, `av52`, `av52t`, and `av64`. Changing this forces a new Azure VMware Solution Cluster to be created.
|
|
115
115
|
*/
|
|
116
116
|
skuName?: pulumi.Input<string>;
|
|
117
117
|
/**
|
|
@@ -132,7 +132,7 @@ export interface ClusterArgs {
|
|
|
132
132
|
*/
|
|
133
133
|
name?: pulumi.Input<string>;
|
|
134
134
|
/**
|
|
135
|
-
* The Cluster SKU to use. Possible values are `av20`, `av36`, `av36t`, `av36p`, `av36pt`, `av52`, `av52t`, and `av64`. Changing this forces a new Azure VMware Solution Cluster to be created.
|
|
135
|
+
* The Cluster SKU to use. Possible values are `av20`, `av36`, `av36t`, `av36p`, `av48`, `av48t`, `av36pt`, `av52`, `av52t`, and `av64`. Changing this forces a new Azure VMware Solution Cluster to be created.
|
|
136
136
|
*/
|
|
137
137
|
skuName: pulumi.Input<string>;
|
|
138
138
|
/**
|
package/avs/privateCloud.d.ts
CHANGED
|
@@ -110,7 +110,7 @@ export declare class PrivateCloud extends pulumi.CustomResource {
|
|
|
110
110
|
*/
|
|
111
111
|
readonly resourceGroupName: pulumi.Output<string>;
|
|
112
112
|
/**
|
|
113
|
-
* The Name of the SKU used for this Azure VMware Solution Private Cloud. Possible values are `av20`, `av36`, `av36t`, `av36p`, `av36pt`, `av52`, `av52t`, and `av64`. Changing this forces a new Azure VMware Solution Private Cloud to be created.
|
|
113
|
+
* The Name of the SKU used for this Azure VMware Solution Private Cloud. Possible values are `av20`, `av36`, `av36t`, `av36p`, `av36pt`, `av48`, `av48t`, `av52`, `av52t`, and `av64`. Changing this forces a new Azure VMware Solution Private Cloud to be created.
|
|
114
114
|
*/
|
|
115
115
|
readonly skuName: pulumi.Output<string>;
|
|
116
116
|
/**
|
|
@@ -203,7 +203,7 @@ export interface PrivateCloudState {
|
|
|
203
203
|
*/
|
|
204
204
|
resourceGroupName?: pulumi.Input<string>;
|
|
205
205
|
/**
|
|
206
|
-
* The Name of the SKU used for this Azure VMware Solution Private Cloud. Possible values are `av20`, `av36`, `av36t`, `av36p`, `av36pt`, `av52`, `av52t`, and `av64`. Changing this forces a new Azure VMware Solution Private Cloud to be created.
|
|
206
|
+
* The Name of the SKU used for this Azure VMware Solution Private Cloud. Possible values are `av20`, `av36`, `av36t`, `av36p`, `av36pt`, `av48`, `av48t`, `av52`, `av52t`, and `av64`. Changing this forces a new Azure VMware Solution Private Cloud to be created.
|
|
207
207
|
*/
|
|
208
208
|
skuName?: pulumi.Input<string>;
|
|
209
209
|
/**
|
|
@@ -264,7 +264,7 @@ export interface PrivateCloudArgs {
|
|
|
264
264
|
*/
|
|
265
265
|
resourceGroupName: pulumi.Input<string>;
|
|
266
266
|
/**
|
|
267
|
-
* The Name of the SKU used for this Azure VMware Solution Private Cloud. Possible values are `av20`, `av36`, `av36t`, `av36p`, `av36pt`, `av52`, `av52t`, and `av64`. Changing this forces a new Azure VMware Solution Private Cloud to be created.
|
|
267
|
+
* The Name of the SKU used for this Azure VMware Solution Private Cloud. Possible values are `av20`, `av36`, `av36t`, `av36p`, `av36pt`, `av48`, `av48t`, `av52`, `av52t`, and `av64`. Changing this forces a new Azure VMware Solution Private Cloud to be created.
|
|
268
268
|
*/
|
|
269
269
|
skuName: pulumi.Input<string>;
|
|
270
270
|
/**
|
package/batch/job.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
22
22
|
* resourceGroupName: example.name,
|
|
23
23
|
* accountName: exampleAccount.name,
|
|
24
24
|
* nodeAgentSkuId: "batch.node.ubuntu 16.04",
|
|
25
|
-
* vmSize: "
|
|
25
|
+
* vmSize: "STANDARD_A1_V2",
|
|
26
26
|
* fixedScale: {
|
|
27
27
|
* targetDedicatedNodes: 1,
|
|
28
28
|
* },
|
package/batch/job.js
CHANGED
|
@@ -28,7 +28,7 @@ const utilities = require("../utilities");
|
|
|
28
28
|
* resourceGroupName: example.name,
|
|
29
29
|
* accountName: exampleAccount.name,
|
|
30
30
|
* nodeAgentSkuId: "batch.node.ubuntu 16.04",
|
|
31
|
-
* vmSize: "
|
|
31
|
+
* vmSize: "STANDARD_A1_V2",
|
|
32
32
|
* fixedScale: {
|
|
33
33
|
* targetDedicatedNodes: 1,
|
|
34
34
|
* },
|
package/batch/pool.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ import * as outputs from "../types/output";
|
|
|
48
48
|
* resourceGroupName: example.name,
|
|
49
49
|
* accountName: exampleAccount2.name,
|
|
50
50
|
* displayName: "Test Acc Pool Auto",
|
|
51
|
-
* vmSize: "
|
|
51
|
+
* vmSize: "STANDARD_A1_V2",
|
|
52
52
|
* nodeAgentSkuId: "batch.node.ubuntu 20.04",
|
|
53
53
|
* autoScale: {
|
|
54
54
|
* evaluationInterval: "PT15M",
|
package/batch/pool.js
CHANGED
|
@@ -52,7 +52,7 @@ const utilities = require("../utilities");
|
|
|
52
52
|
* resourceGroupName: example.name,
|
|
53
53
|
* accountName: exampleAccount2.name,
|
|
54
54
|
* displayName: "Test Acc Pool Auto",
|
|
55
|
-
* vmSize: "
|
|
55
|
+
* vmSize: "STANDARD_A1_V2",
|
|
56
56
|
* nodeAgentSkuId: "batch.node.ubuntu 20.04",
|
|
57
57
|
* autoScale: {
|
|
58
58
|
* evaluationInterval: "PT15M",
|
package/cdn/endpoint.d.ts
CHANGED
|
@@ -4,8 +4,6 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* A CDN Endpoint is the entity within a CDN Profile containing configuration information regarding caching behaviours and origins. The CDN Endpoint is exposed using the URL format `<endpointname>.azureedge.net`.
|
|
6
6
|
*
|
|
7
|
-
* !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and FrontDoor resources, more information will be posted in the GitHub issue as the necessary changes are identified.
|
|
8
|
-
*
|
|
9
7
|
* ## Example Usage
|
|
10
8
|
*
|
|
11
9
|
* ```typescript
|
package/cdn/endpoint.js
CHANGED
|
@@ -8,8 +8,6 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* A CDN Endpoint is the entity within a CDN Profile containing configuration information regarding caching behaviours and origins. The CDN Endpoint is exposed using the URL format `<endpointname>.azureedge.net`.
|
|
10
10
|
*
|
|
11
|
-
* !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and FrontDoor resources, more information will be posted in the GitHub issue as the necessary changes are identified.
|
|
12
|
-
*
|
|
13
11
|
* ## Example Usage
|
|
14
12
|
*
|
|
15
13
|
* ```typescript
|
package/cdn/endpoint.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../cdn/endpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../cdn/endpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EA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C,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA5KL,4BA6KC;AA/JG,gBAAgB;AACO,qBAAY,GAAG,6BAA6B,CAAC"}
|
|
@@ -28,6 +28,16 @@ import * as outputs from "../types/output";
|
|
|
28
28
|
* redirectUrl: "https://www.contoso.com",
|
|
29
29
|
* customBlockResponseStatusCode: 403,
|
|
30
30
|
* customBlockResponseBody: "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==",
|
|
31
|
+
* jsChallengeCookieExpirationInMinutes: 45,
|
|
32
|
+
* logScrubbing: {
|
|
33
|
+
* enabled: true,
|
|
34
|
+
* scrubbingRules: [{
|
|
35
|
+
* enabled: true,
|
|
36
|
+
* matchVariable: "RequestCookieNames",
|
|
37
|
+
* operator: "Equals",
|
|
38
|
+
* selector: "ChocolateChip",
|
|
39
|
+
* }],
|
|
40
|
+
* },
|
|
31
41
|
* customRules: [
|
|
32
42
|
* {
|
|
33
43
|
* name: "Rule1",
|
|
@@ -50,7 +60,7 @@ import * as outputs from "../types/output";
|
|
|
50
60
|
* {
|
|
51
61
|
* name: "Rule2",
|
|
52
62
|
* enabled: true,
|
|
53
|
-
* priority:
|
|
63
|
+
* priority: 50,
|
|
54
64
|
* rateLimitDurationInMinutes: 1,
|
|
55
65
|
* rateLimitThreshold: 10,
|
|
56
66
|
* type: "MatchRule",
|
|
@@ -75,11 +85,27 @@ import * as outputs from "../types/output";
|
|
|
75
85
|
* },
|
|
76
86
|
* ],
|
|
77
87
|
* },
|
|
88
|
+
* {
|
|
89
|
+
* name: "CustomJSChallenge",
|
|
90
|
+
* enabled: true,
|
|
91
|
+
* priority: 100,
|
|
92
|
+
* rateLimitDurationInMinutes: 1,
|
|
93
|
+
* rateLimitThreshold: 10,
|
|
94
|
+
* type: "MatchRule",
|
|
95
|
+
* action: "JSChallenge",
|
|
96
|
+
* matchConditions: [{
|
|
97
|
+
* matchVariable: "RemoteAddr",
|
|
98
|
+
* operator: "IPMatch",
|
|
99
|
+
* negationCondition: false,
|
|
100
|
+
* matchValues: ["192.168.1.0/24"],
|
|
101
|
+
* }],
|
|
102
|
+
* },
|
|
78
103
|
* ],
|
|
79
104
|
* managedRules: [
|
|
80
105
|
* {
|
|
81
106
|
* type: "DefaultRuleSet",
|
|
82
107
|
* version: "1.0",
|
|
108
|
+
* action: "Log",
|
|
83
109
|
* exclusions: [{
|
|
84
110
|
* matchVariable: "QueryStringArgNames",
|
|
85
111
|
* operator: "Equals",
|
|
@@ -115,13 +141,37 @@ import * as outputs from "../types/output";
|
|
|
115
141
|
* },
|
|
116
142
|
* {
|
|
117
143
|
* type: "Microsoft_BotManagerRuleSet",
|
|
118
|
-
* version: "1.
|
|
144
|
+
* version: "1.1",
|
|
119
145
|
* action: "Log",
|
|
146
|
+
* overrides: [{
|
|
147
|
+
* ruleGroupName: "BadBots",
|
|
148
|
+
* rules: [{
|
|
149
|
+
* action: "JSChallenge",
|
|
150
|
+
* enabled: true,
|
|
151
|
+
* ruleId: "Bot100200",
|
|
152
|
+
* }],
|
|
153
|
+
* }],
|
|
120
154
|
* },
|
|
121
155
|
* ],
|
|
122
156
|
* });
|
|
123
157
|
* ```
|
|
124
158
|
*
|
|
159
|
+
* ## `scrubbingRule` Examples:
|
|
160
|
+
*
|
|
161
|
+
* The following table shows examples of `scrubbingRule`'s that can be used to protect sensitive data:
|
|
162
|
+
*
|
|
163
|
+
* | Match Variable | Operator | Selector | What Gets Scrubbed |
|
|
164
|
+
* | :--------------------------- | :------------- | :------------ | :---------------------------------------------------------------------------- |
|
|
165
|
+
* | `RequestHeaderNames` | Equals | keyToBlock | {"matchVariableName":"HeaderValue:keyToBlock","matchVariableValue":"****"} |
|
|
166
|
+
* | `RequestCookieNames` | Equals | cookieToBlock | {"matchVariableName":"CookieValue:cookieToBlock","matchVariableValue":"****"} |
|
|
167
|
+
* | `RequestBodyPostArgNames` | Equals | var | {"matchVariableName":"PostParamValue:var","matchVariableValue":"****"} |
|
|
168
|
+
* | `RequestBodyJsonArgNames` | Equals | JsonValue | {"matchVariableName":"JsonValue:key","matchVariableValue":"****"} |
|
|
169
|
+
* | `QueryStringArgNames` | Equals | foo | {"matchVariableName":"QueryParamValue:foo","matchVariableValue":"****"} |
|
|
170
|
+
* | `RequestIPAddress` | Equals Any | Not Supported | {"matchVariableName":"ClientIP","matchVariableValue":"****"} |
|
|
171
|
+
* | `RequestUri` | Equals Any | Not Supported | {"matchVariableName":"URI","matchVariableValue":"****"} |
|
|
172
|
+
*
|
|
173
|
+
* ***
|
|
174
|
+
*
|
|
125
175
|
* ## Import
|
|
126
176
|
*
|
|
127
177
|
* Front Door Firewall Policies can be imported using the `resource id`, e.g.
|
|
@@ -174,6 +224,12 @@ export declare class FrontdoorFirewallPolicy extends pulumi.CustomResource {
|
|
|
174
224
|
* !> **Note:** Setting the`jsChallengeCookieExpirationInMinutes` policy is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
|
|
175
225
|
*/
|
|
176
226
|
readonly jsChallengeCookieExpirationInMinutes: pulumi.Output<number>;
|
|
227
|
+
/**
|
|
228
|
+
* A `logScrubbing` block as defined below.
|
|
229
|
+
*
|
|
230
|
+
* !> **Note:** Setting the`logScrubbing` block is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
|
|
231
|
+
*/
|
|
232
|
+
readonly logScrubbing: pulumi.Output<outputs.cdn.FrontdoorFirewallPolicyLogScrubbing | undefined>;
|
|
177
233
|
/**
|
|
178
234
|
* One or more `managedRule` blocks as defined below.
|
|
179
235
|
*/
|
|
@@ -253,6 +309,12 @@ export interface FrontdoorFirewallPolicyState {
|
|
|
253
309
|
* !> **Note:** Setting the`jsChallengeCookieExpirationInMinutes` policy is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
|
|
254
310
|
*/
|
|
255
311
|
jsChallengeCookieExpirationInMinutes?: pulumi.Input<number>;
|
|
312
|
+
/**
|
|
313
|
+
* A `logScrubbing` block as defined below.
|
|
314
|
+
*
|
|
315
|
+
* !> **Note:** Setting the`logScrubbing` block is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
|
|
316
|
+
*/
|
|
317
|
+
logScrubbing?: pulumi.Input<inputs.cdn.FrontdoorFirewallPolicyLogScrubbing>;
|
|
256
318
|
/**
|
|
257
319
|
* One or more `managedRule` blocks as defined below.
|
|
258
320
|
*/
|
|
@@ -320,6 +382,12 @@ export interface FrontdoorFirewallPolicyArgs {
|
|
|
320
382
|
* !> **Note:** Setting the`jsChallengeCookieExpirationInMinutes` policy is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
|
|
321
383
|
*/
|
|
322
384
|
jsChallengeCookieExpirationInMinutes?: pulumi.Input<number>;
|
|
385
|
+
/**
|
|
386
|
+
* A `logScrubbing` block as defined below.
|
|
387
|
+
*
|
|
388
|
+
* !> **Note:** Setting the`logScrubbing` block is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
|
|
389
|
+
*/
|
|
390
|
+
logScrubbing?: pulumi.Input<inputs.cdn.FrontdoorFirewallPolicyLogScrubbing>;
|
|
323
391
|
/**
|
|
324
392
|
* One or more `managedRule` blocks as defined below.
|
|
325
393
|
*/
|
|
@@ -32,6 +32,16 @@ const utilities = require("../utilities");
|
|
|
32
32
|
* redirectUrl: "https://www.contoso.com",
|
|
33
33
|
* customBlockResponseStatusCode: 403,
|
|
34
34
|
* customBlockResponseBody: "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==",
|
|
35
|
+
* jsChallengeCookieExpirationInMinutes: 45,
|
|
36
|
+
* logScrubbing: {
|
|
37
|
+
* enabled: true,
|
|
38
|
+
* scrubbingRules: [{
|
|
39
|
+
* enabled: true,
|
|
40
|
+
* matchVariable: "RequestCookieNames",
|
|
41
|
+
* operator: "Equals",
|
|
42
|
+
* selector: "ChocolateChip",
|
|
43
|
+
* }],
|
|
44
|
+
* },
|
|
35
45
|
* customRules: [
|
|
36
46
|
* {
|
|
37
47
|
* name: "Rule1",
|
|
@@ -54,7 +64,7 @@ const utilities = require("../utilities");
|
|
|
54
64
|
* {
|
|
55
65
|
* name: "Rule2",
|
|
56
66
|
* enabled: true,
|
|
57
|
-
* priority:
|
|
67
|
+
* priority: 50,
|
|
58
68
|
* rateLimitDurationInMinutes: 1,
|
|
59
69
|
* rateLimitThreshold: 10,
|
|
60
70
|
* type: "MatchRule",
|
|
@@ -79,11 +89,27 @@ const utilities = require("../utilities");
|
|
|
79
89
|
* },
|
|
80
90
|
* ],
|
|
81
91
|
* },
|
|
92
|
+
* {
|
|
93
|
+
* name: "CustomJSChallenge",
|
|
94
|
+
* enabled: true,
|
|
95
|
+
* priority: 100,
|
|
96
|
+
* rateLimitDurationInMinutes: 1,
|
|
97
|
+
* rateLimitThreshold: 10,
|
|
98
|
+
* type: "MatchRule",
|
|
99
|
+
* action: "JSChallenge",
|
|
100
|
+
* matchConditions: [{
|
|
101
|
+
* matchVariable: "RemoteAddr",
|
|
102
|
+
* operator: "IPMatch",
|
|
103
|
+
* negationCondition: false,
|
|
104
|
+
* matchValues: ["192.168.1.0/24"],
|
|
105
|
+
* }],
|
|
106
|
+
* },
|
|
82
107
|
* ],
|
|
83
108
|
* managedRules: [
|
|
84
109
|
* {
|
|
85
110
|
* type: "DefaultRuleSet",
|
|
86
111
|
* version: "1.0",
|
|
112
|
+
* action: "Log",
|
|
87
113
|
* exclusions: [{
|
|
88
114
|
* matchVariable: "QueryStringArgNames",
|
|
89
115
|
* operator: "Equals",
|
|
@@ -119,13 +145,37 @@ const utilities = require("../utilities");
|
|
|
119
145
|
* },
|
|
120
146
|
* {
|
|
121
147
|
* type: "Microsoft_BotManagerRuleSet",
|
|
122
|
-
* version: "1.
|
|
148
|
+
* version: "1.1",
|
|
123
149
|
* action: "Log",
|
|
150
|
+
* overrides: [{
|
|
151
|
+
* ruleGroupName: "BadBots",
|
|
152
|
+
* rules: [{
|
|
153
|
+
* action: "JSChallenge",
|
|
154
|
+
* enabled: true,
|
|
155
|
+
* ruleId: "Bot100200",
|
|
156
|
+
* }],
|
|
157
|
+
* }],
|
|
124
158
|
* },
|
|
125
159
|
* ],
|
|
126
160
|
* });
|
|
127
161
|
* ```
|
|
128
162
|
*
|
|
163
|
+
* ## `scrubbingRule` Examples:
|
|
164
|
+
*
|
|
165
|
+
* The following table shows examples of `scrubbingRule`'s that can be used to protect sensitive data:
|
|
166
|
+
*
|
|
167
|
+
* | Match Variable | Operator | Selector | What Gets Scrubbed |
|
|
168
|
+
* | :--------------------------- | :------------- | :------------ | :---------------------------------------------------------------------------- |
|
|
169
|
+
* | `RequestHeaderNames` | Equals | keyToBlock | {"matchVariableName":"HeaderValue:keyToBlock","matchVariableValue":"****"} |
|
|
170
|
+
* | `RequestCookieNames` | Equals | cookieToBlock | {"matchVariableName":"CookieValue:cookieToBlock","matchVariableValue":"****"} |
|
|
171
|
+
* | `RequestBodyPostArgNames` | Equals | var | {"matchVariableName":"PostParamValue:var","matchVariableValue":"****"} |
|
|
172
|
+
* | `RequestBodyJsonArgNames` | Equals | JsonValue | {"matchVariableName":"JsonValue:key","matchVariableValue":"****"} |
|
|
173
|
+
* | `QueryStringArgNames` | Equals | foo | {"matchVariableName":"QueryParamValue:foo","matchVariableValue":"****"} |
|
|
174
|
+
* | `RequestIPAddress` | Equals Any | Not Supported | {"matchVariableName":"ClientIP","matchVariableValue":"****"} |
|
|
175
|
+
* | `RequestUri` | Equals Any | Not Supported | {"matchVariableName":"URI","matchVariableValue":"****"} |
|
|
176
|
+
*
|
|
177
|
+
* ***
|
|
178
|
+
*
|
|
129
179
|
* ## Import
|
|
130
180
|
*
|
|
131
181
|
* Front Door Firewall Policies can be imported using the `resource id`, e.g.
|
|
@@ -168,6 +218,7 @@ class FrontdoorFirewallPolicy extends pulumi.CustomResource {
|
|
|
168
218
|
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
169
219
|
resourceInputs["frontendEndpointIds"] = state ? state.frontendEndpointIds : undefined;
|
|
170
220
|
resourceInputs["jsChallengeCookieExpirationInMinutes"] = state ? state.jsChallengeCookieExpirationInMinutes : undefined;
|
|
221
|
+
resourceInputs["logScrubbing"] = state ? state.logScrubbing : undefined;
|
|
171
222
|
resourceInputs["managedRules"] = state ? state.managedRules : undefined;
|
|
172
223
|
resourceInputs["mode"] = state ? state.mode : undefined;
|
|
173
224
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
@@ -193,6 +244,7 @@ class FrontdoorFirewallPolicy extends pulumi.CustomResource {
|
|
|
193
244
|
resourceInputs["customRules"] = args ? args.customRules : undefined;
|
|
194
245
|
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
195
246
|
resourceInputs["jsChallengeCookieExpirationInMinutes"] = args ? args.jsChallengeCookieExpirationInMinutes : undefined;
|
|
247
|
+
resourceInputs["logScrubbing"] = args ? args.logScrubbing : undefined;
|
|
196
248
|
resourceInputs["managedRules"] = args ? args.managedRules : undefined;
|
|
197
249
|
resourceInputs["mode"] = args ? args.mode : undefined;
|
|
198
250
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontdoorFirewallPolicy.js","sourceRoot":"","sources":["../../cdn/frontdoorFirewallPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"frontdoorFirewallPolicy.js","sourceRoot":"","sources":["../../cdn/frontdoorFirewallPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkLG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI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tD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AA5JL,0DA6JC;AA/IG,gBAAgB;AACO,oCAAY,GAAG,2DAA2D,CAAC"}
|
package/cdn/frontdoorSecret.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ import * as outputs from "../types/output";
|
|
|
24
24
|
*
|
|
25
25
|
* const current = azure.core.getClientConfig({});
|
|
26
26
|
* const frontdoor = azuread.getServicePrincipal({
|
|
27
|
-
* displayName: "Microsoft.
|
|
27
|
+
* displayName: "Microsoft.AzurefrontDoor-Cdn",
|
|
28
28
|
* });
|
|
29
29
|
* const example = new azure.core.ResourceGroup("example", {
|
|
30
30
|
* name: "example-cdn-frontdoor",
|
package/cdn/frontdoorSecret.js
CHANGED
|
@@ -28,7 +28,7 @@ const utilities = require("../utilities");
|
|
|
28
28
|
*
|
|
29
29
|
* const current = azure.core.getClientConfig({});
|
|
30
30
|
* const frontdoor = azuread.getServicePrincipal({
|
|
31
|
-
* displayName: "Microsoft.
|
|
31
|
+
* displayName: "Microsoft.AzurefrontDoor-Cdn",
|
|
32
32
|
* });
|
|
33
33
|
* const example = new azure.core.ResourceGroup("example", {
|
|
34
34
|
* name: "example-cdn-frontdoor",
|
package/cdn/profile.d.ts
CHANGED
|
@@ -2,8 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Manages a CDN Profile to create a collection of CDN Endpoints.
|
|
4
4
|
*
|
|
5
|
-
* !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and FrontDoor resources, more information will be posted in the GitHub issue as the necessary changes are identified.
|
|
6
|
-
*
|
|
7
5
|
* ## Example Usage
|
|
8
6
|
*
|
|
9
7
|
* ```typescript
|
package/cdn/profile.js
CHANGED
|
@@ -8,8 +8,6 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Manages a CDN Profile to create a collection of CDN Endpoints.
|
|
10
10
|
*
|
|
11
|
-
* !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and FrontDoor resources, more information will be posted in the GitHub issue as the necessary changes are identified.
|
|
12
|
-
*
|
|
13
11
|
* ## Example Usage
|
|
14
12
|
*
|
|
15
13
|
* ```typescript
|
package/cdn/profile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../cdn/profile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AA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,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAnFL,0BAoFC;AAtEG,gBAAgB;AACO,oBAAY,GAAG,2BAA2B,CAAC"}
|
|
@@ -51,6 +51,8 @@ export declare class AIServices extends pulumi.CustomResource {
|
|
|
51
51
|
static isInstance(obj: any): obj is AIServices;
|
|
52
52
|
/**
|
|
53
53
|
* The subdomain name used for token-based authentication. This property is required when `networkAcls` is specified. Changing this forces a new resource to be created.
|
|
54
|
+
*
|
|
55
|
+
* > **Note:** If you do not specify a `customSubdomainName` then you will not be able to attach a Private Endpoint to the resource.
|
|
54
56
|
*/
|
|
55
57
|
readonly customSubdomainName: pulumi.Output<string | undefined>;
|
|
56
58
|
/**
|
|
@@ -136,6 +138,8 @@ export declare class AIServices extends pulumi.CustomResource {
|
|
|
136
138
|
export interface AIServicesState {
|
|
137
139
|
/**
|
|
138
140
|
* The subdomain name used for token-based authentication. This property is required when `networkAcls` is specified. Changing this forces a new resource to be created.
|
|
141
|
+
*
|
|
142
|
+
* > **Note:** If you do not specify a `customSubdomainName` then you will not be able to attach a Private Endpoint to the resource.
|
|
139
143
|
*/
|
|
140
144
|
customSubdomainName?: pulumi.Input<string>;
|
|
141
145
|
/**
|
|
@@ -213,6 +217,8 @@ export interface AIServicesState {
|
|
|
213
217
|
export interface AIServicesArgs {
|
|
214
218
|
/**
|
|
215
219
|
* The subdomain name used for token-based authentication. This property is required when `networkAcls` is specified. Changing this forces a new resource to be created.
|
|
220
|
+
*
|
|
221
|
+
* > **Note:** If you do not specify a `customSubdomainName` then you will not be able to attach a Private Endpoint to the resource.
|
|
216
222
|
*/
|
|
217
223
|
customSubdomainName?: pulumi.Input<string>;
|
|
218
224
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aiservices.js","sourceRoot":"","sources":["../../cognitive/aiservices.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;A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I,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC5D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,CAAC;QAC3F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAjKL,gCAkKC;AApJG,gBAAgB;AACO,uBAAY,GAAG,uCAAuC,CAAC"}
|
|
@@ -2,6 +2,75 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Manages a Virtual Machine Restore Point.
|
|
4
4
|
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
* import * as std from "@pulumi/std";
|
|
11
|
+
*
|
|
12
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
13
|
+
* name: "example-resources",
|
|
14
|
+
* location: "West Europe",
|
|
15
|
+
* });
|
|
16
|
+
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
17
|
+
* name: "example-network",
|
|
18
|
+
* addressSpaces: ["10.0.0.0/16"],
|
|
19
|
+
* location: example.location,
|
|
20
|
+
* resourceGroupName: example.name,
|
|
21
|
+
* });
|
|
22
|
+
* const exampleSubnet = new azure.network.Subnet("example", {
|
|
23
|
+
* name: "internal",
|
|
24
|
+
* resourceGroupName: example.name,
|
|
25
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
26
|
+
* addressPrefixes: ["10.0.2.0/24"],
|
|
27
|
+
* });
|
|
28
|
+
* const exampleNetworkInterface = new azure.network.NetworkInterface("example", {
|
|
29
|
+
* name: "example-nic",
|
|
30
|
+
* location: example.location,
|
|
31
|
+
* resourceGroupName: example.name,
|
|
32
|
+
* ipConfigurations: [{
|
|
33
|
+
* name: "internal",
|
|
34
|
+
* subnetId: exampleSubnet.id,
|
|
35
|
+
* privateIpAddressAllocation: "Dynamic",
|
|
36
|
+
* }],
|
|
37
|
+
* });
|
|
38
|
+
* const exampleLinuxVirtualMachine = new azure.compute.LinuxVirtualMachine("example", {
|
|
39
|
+
* name: "example-machine",
|
|
40
|
+
* resourceGroupName: example.name,
|
|
41
|
+
* location: example.location,
|
|
42
|
+
* size: "Standard_F2",
|
|
43
|
+
* adminUsername: "adminuser",
|
|
44
|
+
* networkInterfaceIds: [exampleNetworkInterface.id],
|
|
45
|
+
* adminSshKeys: [{
|
|
46
|
+
* username: "adminuser",
|
|
47
|
+
* publicKey: std.file({
|
|
48
|
+
* input: "~/.ssh/id_rsa.pub",
|
|
49
|
+
* }).then(invoke => invoke.result),
|
|
50
|
+
* }],
|
|
51
|
+
* osDisk: {
|
|
52
|
+
* caching: "ReadWrite",
|
|
53
|
+
* storageAccountType: "Standard_LRS",
|
|
54
|
+
* },
|
|
55
|
+
* sourceImageReference: {
|
|
56
|
+
* publisher: "Canonical",
|
|
57
|
+
* offer: "0001-com-ubuntu-server-jammy",
|
|
58
|
+
* sku: "22_04-lts",
|
|
59
|
+
* version: "latest",
|
|
60
|
+
* },
|
|
61
|
+
* });
|
|
62
|
+
* const exampleRestorePointCollection = new azure.compute.RestorePointCollection("example", {
|
|
63
|
+
* name: "example-collection",
|
|
64
|
+
* resourceGroupName: example.name,
|
|
65
|
+
* location: exampleLinuxVirtualMachine.location,
|
|
66
|
+
* sourceVirtualMachineId: exampleLinuxVirtualMachine.id,
|
|
67
|
+
* });
|
|
68
|
+
* const exampleRestorePoint = new azure.compute.RestorePoint("example", {
|
|
69
|
+
* name: "example-restore-point",
|
|
70
|
+
* virtualMachineRestorePointCollectionId: exampleRestorePointCollection.id,
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
5
74
|
* ## Import
|
|
6
75
|
*
|
|
7
76
|
* Virtual Machine Restore Point can be imported using the `resource id`, e.g.
|
|
@@ -27,7 +96,7 @@ export declare class RestorePoint extends pulumi.CustomResource {
|
|
|
27
96
|
*/
|
|
28
97
|
static isInstance(obj: any): obj is RestorePoint;
|
|
29
98
|
/**
|
|
30
|
-
*
|
|
99
|
+
* Whether the Consistency Mode of the Virtual Machine Restore Point is set to `CrashConsistent`. Defaults to `false`. Changing this forces a new resource to be created.
|
|
31
100
|
*/
|
|
32
101
|
readonly crashConsistencyModeEnabled: pulumi.Output<boolean | undefined>;
|
|
33
102
|
/**
|
|
@@ -38,6 +107,9 @@ export declare class RestorePoint extends pulumi.CustomResource {
|
|
|
38
107
|
* Specifies the name of the Virtual Machine Restore Point. Changing this forces a new resource to be created.
|
|
39
108
|
*/
|
|
40
109
|
readonly name: pulumi.Output<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Specifies the ID of the Virtual Machine Restore Point Collection the Virtual Machine Restore Point will be associated with. Changing this forces a new resource to be created.
|
|
112
|
+
*/
|
|
41
113
|
readonly virtualMachineRestorePointCollectionId: pulumi.Output<string>;
|
|
42
114
|
/**
|
|
43
115
|
* Create a RestorePoint resource with the given unique name, arguments, and options.
|
|
@@ -53,7 +125,7 @@ export declare class RestorePoint extends pulumi.CustomResource {
|
|
|
53
125
|
*/
|
|
54
126
|
export interface RestorePointState {
|
|
55
127
|
/**
|
|
56
|
-
*
|
|
128
|
+
* Whether the Consistency Mode of the Virtual Machine Restore Point is set to `CrashConsistent`. Defaults to `false`. Changing this forces a new resource to be created.
|
|
57
129
|
*/
|
|
58
130
|
crashConsistencyModeEnabled?: pulumi.Input<boolean>;
|
|
59
131
|
/**
|
|
@@ -64,6 +136,9 @@ export interface RestorePointState {
|
|
|
64
136
|
* Specifies the name of the Virtual Machine Restore Point. Changing this forces a new resource to be created.
|
|
65
137
|
*/
|
|
66
138
|
name?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Specifies the ID of the Virtual Machine Restore Point Collection the Virtual Machine Restore Point will be associated with. Changing this forces a new resource to be created.
|
|
141
|
+
*/
|
|
67
142
|
virtualMachineRestorePointCollectionId?: pulumi.Input<string>;
|
|
68
143
|
}
|
|
69
144
|
/**
|
|
@@ -71,7 +146,7 @@ export interface RestorePointState {
|
|
|
71
146
|
*/
|
|
72
147
|
export interface RestorePointArgs {
|
|
73
148
|
/**
|
|
74
|
-
*
|
|
149
|
+
* Whether the Consistency Mode of the Virtual Machine Restore Point is set to `CrashConsistent`. Defaults to `false`. Changing this forces a new resource to be created.
|
|
75
150
|
*/
|
|
76
151
|
crashConsistencyModeEnabled?: pulumi.Input<boolean>;
|
|
77
152
|
/**
|
|
@@ -82,5 +157,8 @@ export interface RestorePointArgs {
|
|
|
82
157
|
* Specifies the name of the Virtual Machine Restore Point. Changing this forces a new resource to be created.
|
|
83
158
|
*/
|
|
84
159
|
name?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* Specifies the ID of the Virtual Machine Restore Point Collection the Virtual Machine Restore Point will be associated with. Changing this forces a new resource to be created.
|
|
162
|
+
*/
|
|
85
163
|
virtualMachineRestorePointCollectionId: pulumi.Input<string>;
|
|
86
164
|
}
|