@pulumi/azure 6.29.0-alpha.1762841784 → 6.29.0-alpha.1763187052
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/apiOperationPolicy.d.ts +1 -1
- package/apimanagement/apiOperationPolicy.js +1 -1
- package/apimanagement/apiPolicy.d.ts +1 -1
- package/apimanagement/apiPolicy.js +1 -1
- package/apimanagement/apiTagDescription.d.ts +41 -0
- package/apimanagement/apiTagDescription.js +41 -0
- package/apimanagement/apiTagDescription.js.map +1 -1
- package/apimanagement/emailTemplate.d.ts +2 -2
- package/apimanagement/emailTemplate.js +2 -2
- package/apimanagement/getUser.d.ts +42 -0
- package/apimanagement/getUser.js +42 -0
- package/apimanagement/getUser.js.map +1 -1
- package/apimanagement/productPolicy.d.ts +1 -1
- package/apimanagement/productPolicy.js +1 -1
- package/apimanagement/redisCache.d.ts +37 -0
- package/apimanagement/redisCache.js +37 -0
- package/apimanagement/redisCache.js.map +1 -1
- package/apimanagement/workspacePolicy.d.ts +1 -1
- package/apimanagement/workspacePolicy.js +1 -1
- package/appinsights/webTest.d.ts +2 -2
- package/appinsights/webTest.js +2 -2
- package/appplatform/springCloudAppRedisAssociation.d.ts +36 -0
- package/appplatform/springCloudAppRedisAssociation.js +36 -0
- package/appplatform/springCloudAppRedisAssociation.js.map +1 -1
- package/appplatform/springCloudCertificate.d.ts +0 -99
- package/appplatform/springCloudCertificate.js +0 -99
- package/appplatform/springCloudCertificate.js.map +1 -1
- package/appplatform/springCloudConnection.d.ts +64 -0
- package/appplatform/springCloudConnection.js +64 -0
- package/appplatform/springCloudConnection.js.map +1 -1
- package/appservice/activeSlot.d.ts +1 -1
- package/appservice/activeSlot.js +1 -1
- package/appservice/appConnection.d.ts +69 -0
- package/appservice/appConnection.js +69 -0
- package/appservice/appConnection.js.map +1 -1
- package/appservice/connection.d.ts +61 -0
- package/appservice/connection.js +61 -0
- package/appservice/connection.js.map +1 -1
- package/appservice/customHostnameBinding.d.ts +2 -2
- package/appservice/customHostnameBinding.js +2 -2
- package/appservice/slot.d.ts +4 -4
- package/appservice/slot.js +4 -4
- package/appservice/webAppActiveSlot.d.ts +32 -0
- package/appservice/webAppActiveSlot.js +32 -0
- package/appservice/webAppActiveSlot.js.map +1 -1
- package/automation/dscNodeConfiguration.d.ts +15 -15
- package/automation/dscNodeConfiguration.js +15 -15
- package/automation/getVariableObject.d.ts +34 -0
- package/automation/getVariableObject.js +34 -0
- package/automation/getVariableObject.js.map +1 -1
- package/blueprint/assignment.d.ts +4 -4
- package/blueprint/assignment.js +4 -4
- package/cdn/endpointCustomDomain.d.ts +1 -1
- package/cdn/endpointCustomDomain.js +1 -1
- package/cdn/frontdoorSecret.d.ts +0 -72
- package/cdn/frontdoorSecret.js +0 -72
- package/cdn/frontdoorSecret.js.map +1 -1
- package/compute/extension.d.ts +1 -1
- package/compute/extension.js +1 -1
- package/containerapp/customDomain.d.ts +81 -0
- package/containerapp/customDomain.js +81 -0
- package/containerapp/customDomain.js.map +1 -1
- package/containerservice/tokenPassword.d.ts +42 -0
- package/containerservice/tokenPassword.js +42 -0
- package/containerservice/tokenPassword.js.map +1 -1
- package/core/getResourceGroupTemplateDeployment.d.ts +34 -0
- package/core/getResourceGroupTemplateDeployment.js +34 -0
- package/core/getResourceGroupTemplateDeployment.js.map +1 -1
- package/core/getSubscriptionTemplateDeployment.d.ts +32 -0
- package/core/getSubscriptionTemplateDeployment.js +32 -0
- package/core/getSubscriptionTemplateDeployment.js.map +1 -1
- package/core/getTenantTemplateDeployment.d.ts +32 -0
- package/core/getTenantTemplateDeployment.js +32 -0
- package/core/getTenantTemplateDeployment.js.map +1 -1
- package/core/resourceDeploymentScriptAzureCli.d.ts +1 -1
- package/core/resourceDeploymentScriptAzureCli.js +1 -1
- package/core/resourceGroupPolicyAssignment.d.ts +4 -4
- package/core/resourceGroupPolicyAssignment.js +4 -4
- package/core/resourceGroupPolicyRemediation.d.ts +6 -6
- package/core/resourceGroupPolicyRemediation.js +6 -6
- package/core/resourceGroupTemplateDeployment.d.ts +75 -0
- package/core/resourceGroupTemplateDeployment.js +75 -0
- package/core/resourceGroupTemplateDeployment.js.map +1 -1
- package/core/subscriptionTemplateDeployment.d.ts +10 -10
- package/core/subscriptionTemplateDeployment.js +10 -10
- package/cosmosdb/account.d.ts +2 -2
- package/cosmosdb/account.js +2 -2
- package/cosmosdb/cassandraCluster.d.ts +0 -49
- package/cosmosdb/cassandraCluster.js +0 -49
- package/cosmosdb/cassandraCluster.js.map +1 -1
- package/cosmosdb/cassandraDatacenter.d.ts +0 -59
- package/cosmosdb/cassandraDatacenter.js +0 -59
- package/cosmosdb/cassandraDatacenter.js.map +1 -1
- package/cosmosdb/sqlFunction.d.ts +28 -0
- package/cosmosdb/sqlFunction.js +28 -0
- package/cosmosdb/sqlFunction.js.map +1 -1
- package/cosmosdb/sqlStoredProcedure.d.ts +31 -0
- package/cosmosdb/sqlStoredProcedure.js +31 -0
- package/cosmosdb/sqlStoredProcedure.js.map +1 -1
- package/cosmosdb/sqlTrigger.d.ts +30 -0
- package/cosmosdb/sqlTrigger.js +30 -0
- package/cosmosdb/sqlTrigger.js.map +1 -1
- package/datafactory/customDataset.d.ts +18 -18
- package/datafactory/customDataset.js +18 -18
- package/datafactory/dataFlow.d.ts +1 -1
- package/datafactory/dataFlow.js +1 -1
- package/datafactory/flowletDataFlow.d.ts +1 -1
- package/datafactory/flowletDataFlow.js +1 -1
- package/datafactory/linkedCustomService.d.ts +1 -1
- package/datafactory/linkedCustomService.js +1 -1
- package/datafactory/pipeline.d.ts +7 -7
- package/datafactory/pipeline.js +7 -7
- package/dataprotection/backupPolicyKubernetesCluster.d.ts +42 -0
- package/dataprotection/backupPolicyKubernetesCluster.js +42 -0
- package/dataprotection/backupPolicyKubernetesCluster.js.map +1 -1
- package/datashare/datasetBlobStorage.d.ts +0 -66
- package/datashare/datasetBlobStorage.js +0 -66
- package/datashare/datasetBlobStorage.js.map +1 -1
- package/datashare/datasetDataLakeGen2.d.ts +0 -62
- package/datashare/datasetDataLakeGen2.js +0 -62
- package/datashare/datasetDataLakeGen2.js.map +1 -1
- package/desktopvirtualization/scalingPlan.d.ts +0 -103
- package/desktopvirtualization/scalingPlan.js +0 -103
- package/desktopvirtualization/scalingPlan.js.map +1 -1
- package/desktopvirtualization/scalingPlanHostPoolAssociation.d.ts +0 -79
- package/desktopvirtualization/scalingPlanHostPoolAssociation.js +0 -79
- package/desktopvirtualization/scalingPlanHostPoolAssociation.js.map +1 -1
- package/dynatrace/monitor.d.ts +33 -0
- package/dynatrace/monitor.js +33 -0
- package/dynatrace/monitor.js.map +1 -1
- package/dynatrace/tagRules.d.ts +54 -0
- package/dynatrace/tagRules.js +54 -0
- package/dynatrace/tagRules.js.map +1 -1
- package/eventhub/queueAuthorizationRule.d.ts +31 -0
- package/eventhub/queueAuthorizationRule.js +31 -0
- package/eventhub/queueAuthorizationRule.js.map +1 -1
- package/eventhub/subscriptionRule.d.ts +76 -0
- package/eventhub/subscriptionRule.js +76 -0
- package/eventhub/subscriptionRule.js.map +1 -1
- package/hpc/cacheBlobTarget.d.ts +0 -71
- package/hpc/cacheBlobTarget.js +0 -71
- package/hpc/cacheBlobTarget.js.map +1 -1
- package/iot/endpointCosmosdbAccount.d.ts +58 -0
- package/iot/endpointCosmosdbAccount.js +58 -0
- package/iot/endpointCosmosdbAccount.js.map +1 -1
- package/iot/endpointServicebusQueue.d.ts +46 -0
- package/iot/endpointServicebusQueue.js +46 -0
- package/iot/endpointServicebusQueue.js.map +1 -1
- package/keyvault/accessPolicy.d.ts +0 -42
- package/keyvault/accessPolicy.js +0 -42
- package/keyvault/accessPolicy.js.map +1 -1
- package/keyvault/getCertificates.d.ts +36 -0
- package/keyvault/getCertificates.js +36 -0
- package/keyvault/getCertificates.js.map +1 -1
- package/keyvault/getSecrets.d.ts +36 -0
- package/keyvault/getSecrets.js +36 -0
- package/keyvault/getSecrets.js.map +1 -1
- package/keyvault/managedHardwareSecurityModuleKey.d.ts +52 -0
- package/keyvault/managedHardwareSecurityModuleKey.js +52 -0
- package/keyvault/managedHardwareSecurityModuleKey.js.map +1 -1
- package/keyvault/managedHardwareSecurityModuleRoleAssignment.d.ts +19 -0
- package/keyvault/managedHardwareSecurityModuleRoleAssignment.js +19 -0
- package/keyvault/managedHardwareSecurityModuleRoleAssignment.js.map +1 -1
- package/keyvault/managedHardwareSecurityModuleRoleDefinition.d.ts +31 -0
- package/keyvault/managedHardwareSecurityModuleRoleDefinition.js +31 -0
- package/keyvault/managedHardwareSecurityModuleRoleDefinition.js.map +1 -1
- package/keyvault/managedStorageAccount.d.ts +0 -64
- package/keyvault/managedStorageAccount.js +0 -64
- package/keyvault/managedStorageAccount.js.map +1 -1
- package/kusto/clusterPrincipalAssignment.d.ts +38 -0
- package/kusto/clusterPrincipalAssignment.js +38 -0
- package/kusto/clusterPrincipalAssignment.js.map +1 -1
- package/kusto/cosmosdbDataConnection.d.ts +102 -0
- package/kusto/cosmosdbDataConnection.js +102 -0
- package/kusto/cosmosdbDataConnection.js.map +1 -1
- package/logicapps/actionCustom.d.ts +8 -8
- package/logicapps/actionCustom.js +8 -8
- package/logicapps/integrationAccountSession.d.ts +1 -1
- package/logicapps/integrationAccountSession.js +1 -1
- package/logicapps/triggerCustom.d.ts +4 -4
- package/logicapps/triggerCustom.js +4 -4
- package/logicapps/triggerHttpRequest.d.ts +4 -4
- package/logicapps/triggerHttpRequest.js +4 -4
- package/machinelearning/workspace.d.ts +0 -167
- package/machinelearning/workspace.js +0 -167
- package/machinelearning/workspace.js.map +1 -1
- package/managedlustre/fileSystem.d.ts +35 -0
- package/managedlustre/fileSystem.js +35 -0
- package/managedlustre/fileSystem.js.map +1 -1
- package/management/getGroupTemplateDeployment.d.ts +34 -0
- package/management/getGroupTemplateDeployment.js +34 -0
- package/management/getGroupTemplateDeployment.js.map +1 -1
- package/management/groupPolicySetDefinition.d.ts +7 -7
- package/management/groupPolicySetDefinition.js +7 -7
- package/management/groupTemplateDeployment.d.ts +24 -24
- package/management/groupTemplateDeployment.js +24 -24
- package/management/privateLinkAssociation.d.ts +2 -2
- package/management/privateLinkAssociation.js +2 -2
- package/mobile/networkAttachedDataNetwork.d.ts +79 -0
- package/mobile/networkAttachedDataNetwork.js +79 -0
- package/mobile/networkAttachedDataNetwork.js.map +1 -1
- package/mobile/networkPacketCoreDataPlane.d.ts +50 -0
- package/mobile/networkPacketCoreDataPlane.js +50 -0
- package/mobile/networkPacketCoreDataPlane.js.map +1 -1
- package/monitoring/alertPrometheusRuleGroup.d.ts +2 -2
- package/monitoring/alertPrometheusRuleGroup.js +2 -2
- package/monitoring/scheduledQueryRulesAlert.d.ts +94 -0
- package/monitoring/scheduledQueryRulesAlert.js +94 -0
- package/monitoring/scheduledQueryRulesAlert.js.map +1 -1
- package/mssql/managedInstanceSecurityAlertPolicy.d.ts +197 -0
- package/mssql/managedInstanceSecurityAlertPolicy.js +197 -0
- package/mssql/managedInstanceSecurityAlertPolicy.js.map +1 -1
- package/mssql/managedInstanceStartStopSchedule.d.ts +203 -0
- package/mssql/managedInstanceStartStopSchedule.js +203 -0
- package/mssql/managedInstanceStartStopSchedule.js.map +1 -1
- package/mssql/serverExtendedAuditingPolicy.d.ts +90 -0
- package/mssql/serverExtendedAuditingPolicy.js +90 -0
- package/mssql/serverExtendedAuditingPolicy.js.map +1 -1
- package/mssql/serverMicrosoftSupportAuditingPolicy.d.ts +88 -0
- package/mssql/serverMicrosoftSupportAuditingPolicy.js +88 -0
- package/mssql/serverMicrosoftSupportAuditingPolicy.js.map +1 -1
- package/mssql/virtualMachineAvailabilityGroupListener.d.ts +84 -0
- package/mssql/virtualMachineAvailabilityGroupListener.js +84 -0
- package/mssql/virtualMachineAvailabilityGroupListener.js.map +1 -1
- package/netapp/volumeGroupSapHana.d.ts +1 -1
- package/netapp/volumeGroupSapHana.js +1 -1
- package/network/getVirtualWan.d.ts +56 -0
- package/network/getVirtualWan.js +56 -0
- package/network/getVirtualWan.js.map +1 -1
- package/network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation.d.ts +110 -0
- package/network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation.js +110 -0
- package/network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation.js.map +1 -1
- package/network/trafficManagerProfile.d.ts +2 -2
- package/network/trafficManagerProfile.js +2 -2
- package/network/virtualNetworkDnsServers.d.ts +28 -0
- package/network/virtualNetworkDnsServers.js +28 -0
- package/network/virtualNetworkDnsServers.js.map +1 -1
- package/network/virtualNetworkPeering.d.ts +60 -0
- package/network/virtualNetworkPeering.js +60 -0
- package/network/virtualNetworkPeering.js.map +1 -1
- package/nginx/configuration.d.ts +2 -2
- package/nginx/configuration.js +2 -2
- package/operationalinsights/analyticsSolution.d.ts +3 -3
- package/operationalinsights/analyticsSolution.js +3 -3
- package/oracle/autonomousDatabase.d.ts +27 -0
- package/oracle/autonomousDatabase.js +27 -0
- package/oracle/autonomousDatabase.js.map +1 -1
- package/oracle/autonomousDatabaseBackup.d.ts +21 -0
- package/oracle/autonomousDatabaseBackup.js +21 -0
- package/oracle/autonomousDatabaseBackup.js.map +1 -1
- package/package.json +2 -2
- package/pim/roleManagementPolicy.d.ts +0 -56
- package/pim/roleManagementPolicy.js +0 -56
- package/pim/roleManagementPolicy.js.map +1 -1
- package/policy/definition.d.ts +7 -7
- package/policy/definition.js +7 -7
- package/policy/policySetDefinition.d.ts +7 -7
- package/policy/policySetDefinition.js +7 -7
- package/postgresql/flexibleServerActiveDirectoryAdministrator.d.ts +0 -47
- package/postgresql/flexibleServerActiveDirectoryAdministrator.js +0 -47
- package/postgresql/flexibleServerActiveDirectoryAdministrator.js.map +1 -1
- package/privatedns/linkService.d.ts +64 -0
- package/privatedns/linkService.js +64 -0
- package/privatedns/linkService.js.map +1 -1
- package/privatelink/applicationSecurityGroupAssociation.d.ts +81 -0
- package/privatelink/applicationSecurityGroupAssociation.js +81 -0
- package/privatelink/applicationSecurityGroupAssociation.js.map +1 -1
- package/privatelink/endpoint.d.ts +69 -0
- package/privatelink/endpoint.js +69 -0
- package/privatelink/endpoint.js.map +1 -1
- package/qumulo/fileSystem.d.ts +42 -0
- package/qumulo/fileSystem.js +42 -0
- package/qumulo/fileSystem.js.map +1 -1
- package/redhatopenshift/cluster.d.ts +0 -103
- package/redhatopenshift/cluster.js +0 -103
- package/redhatopenshift/cluster.js.map +1 -1
- package/redis/cacheAccessPolicy.d.ts +29 -0
- package/redis/cacheAccessPolicy.js +29 -0
- package/redis/cacheAccessPolicy.js.map +1 -1
- package/redis/cacheAccessPolicyAssignment.d.ts +32 -0
- package/redis/cacheAccessPolicyAssignment.js +32 -0
- package/redis/cacheAccessPolicyAssignment.js.map +1 -1
- package/redis/firewallRule.d.ts +38 -0
- package/redis/firewallRule.js +38 -0
- package/redis/firewallRule.js.map +1 -1
- package/redis/linkedServer.d.ts +49 -0
- package/redis/linkedServer.js +49 -0
- package/redis/linkedServer.js.map +1 -1
- package/sentinel/alertRuleNrt.d.ts +2 -2
- package/sentinel/alertRuleNrt.js +2 -2
- package/sentinel/alertRuleScheduled.d.ts +2 -2
- package/sentinel/alertRuleScheduled.js +2 -2
- package/sentinel/metadata.d.ts +2 -2
- package/sentinel/metadata.js +2 -2
- package/servicebus/queueAuthorizationRule.d.ts +31 -0
- package/servicebus/queueAuthorizationRule.js +31 -0
- package/servicebus/queueAuthorizationRule.js.map +1 -1
- package/servicebus/subscriptionRule.d.ts +76 -0
- package/servicebus/subscriptionRule.js +76 -0
- package/servicebus/subscriptionRule.js.map +1 -1
- package/signalr/serviceNetworkAcl.d.ts +55 -0
- package/signalr/serviceNetworkAcl.js +55 -0
- package/signalr/serviceNetworkAcl.js.map +1 -1
- package/stack/hciCluster.d.ts +0 -36
- package/stack/hciCluster.js +0 -36
- package/stack/hciCluster.js.map +1 -1
- package/stack/hciLogicalNetwork.d.ts +33 -0
- package/stack/hciLogicalNetwork.js +33 -0
- package/stack/hciLogicalNetwork.js.map +1 -1
- package/stack/hciMarketplaceGalleryImage.d.ts +0 -48
- package/stack/hciMarketplaceGalleryImage.js +0 -48
- package/stack/hciMarketplaceGalleryImage.js.map +1 -1
- package/stack/hciNetworkInterface.d.ts +48 -0
- package/stack/hciNetworkInterface.js +48 -0
- package/stack/hciNetworkInterface.js.map +1 -1
- package/streamanalytics/outputCosmosdb.d.ts +51 -0
- package/streamanalytics/outputCosmosdb.js +51 -0
- package/streamanalytics/outputCosmosdb.js.map +1 -1
- package/streamanalytics/outputServiceBusQueue.d.ts +38 -0
- package/streamanalytics/outputServiceBusQueue.js +38 -0
- package/streamanalytics/outputServiceBusQueue.js.map +1 -1
- package/streamanalytics/outputServicebusTopic.d.ts +42 -0
- package/streamanalytics/outputServicebusTopic.js +42 -0
- package/streamanalytics/outputServicebusTopic.js.map +1 -1
- package/synapse/linkedService.d.ts +1 -1
- package/synapse/linkedService.js +1 -1
- package/synapse/sqlPoolSecurityAlertPolicy.d.ts +66 -0
- package/synapse/sqlPoolSecurityAlertPolicy.js +66 -0
- package/synapse/sqlPoolSecurityAlertPolicy.js.map +1 -1
- package/synapse/sqlPoolVulnerabilityAssessment.d.ts +82 -0
- package/synapse/sqlPoolVulnerabilityAssessment.js +82 -0
- package/synapse/sqlPoolVulnerabilityAssessment.js.map +1 -1
- package/synapse/workspaceSecurityAlertPolicy.d.ts +60 -0
- package/synapse/workspaceSecurityAlertPolicy.js +60 -0
- package/synapse/workspaceSecurityAlertPolicy.js.map +1 -1
- package/synapse/workspaceVulnerabilityAssessment.d.ts +76 -0
- package/synapse/workspaceVulnerabilityAssessment.js +76 -0
- package/synapse/workspaceVulnerabilityAssessment.js.map +1 -1
- package/trafficmanager/profile.d.ts +2 -2
- package/trafficmanager/profile.js +2 -2
- package/webpubsub/networkAcl.d.ts +58 -0
- package/webpubsub/networkAcl.js +58 -0
- package/webpubsub/networkAcl.js.map +1 -1
- package/webpubsub/socketio.d.ts +25 -0
- package/webpubsub/socketio.js +25 -0
- package/webpubsub/socketio.js.map +1 -1
|
@@ -10,6 +10,44 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
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("example", {
|
|
18
|
+
* name: "rg-example",
|
|
19
|
+
* location: "West Europe",
|
|
20
|
+
* });
|
|
21
|
+
* const example = azure.streamanalytics.getJobOutput({
|
|
22
|
+
* name: "example-job",
|
|
23
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
24
|
+
* });
|
|
25
|
+
* const exampleNamespace = new azure.servicebus.Namespace("example", {
|
|
26
|
+
* name: "example-namespace",
|
|
27
|
+
* location: exampleResourceGroup.location,
|
|
28
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
29
|
+
* sku: "Standard",
|
|
30
|
+
* });
|
|
31
|
+
* const exampleQueue = new azure.servicebus.Queue("example", {
|
|
32
|
+
* name: "example-queue",
|
|
33
|
+
* namespaceId: exampleNamespace.id,
|
|
34
|
+
* enablePartitioning: true,
|
|
35
|
+
* });
|
|
36
|
+
* const exampleOutputServiceBusQueue = new azure.streamanalytics.OutputServiceBusQueue("example", {
|
|
37
|
+
* name: "blob-storage-output",
|
|
38
|
+
* streamAnalyticsJobName: example.apply(example => example.name),
|
|
39
|
+
* resourceGroupName: example.apply(example => example.resourceGroupName),
|
|
40
|
+
* queueName: exampleQueue.name,
|
|
41
|
+
* servicebusNamespace: exampleNamespace.name,
|
|
42
|
+
* sharedAccessPolicyKey: exampleNamespace.defaultPrimaryKey,
|
|
43
|
+
* sharedAccessPolicyName: "RootManageSharedAccessKey",
|
|
44
|
+
* serialization: {
|
|
45
|
+
* type: "Csv",
|
|
46
|
+
* format: "Array",
|
|
47
|
+
* },
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
13
51
|
* ## API Providers
|
|
14
52
|
*
|
|
15
53
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outputServiceBusQueue.js","sourceRoot":"","sources":["../../streamanalytics/outputServiceBusQueue.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"outputServiceBusQueue.js","sourceRoot":"","sources":["../../streamanalytics/outputServiceBusQueue.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IAyDD,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,EAAE,kBAAkB,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IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AApIL,sDAqIC;AAvHG,gBAAgB;AACO,kCAAY,GAAG,mEAAmE,CAAC"}
|
|
@@ -6,6 +6,48 @@ import * as outputs from "../types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
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("example", {
|
|
14
|
+
* name: "rg-example",
|
|
15
|
+
* location: "West Europe",
|
|
16
|
+
* });
|
|
17
|
+
* const example = azure.streamanalytics.getJobOutput({
|
|
18
|
+
* name: "example-job",
|
|
19
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
20
|
+
* });
|
|
21
|
+
* const exampleNamespace = new azure.servicebus.Namespace("example", {
|
|
22
|
+
* name: "example-namespace",
|
|
23
|
+
* location: exampleResourceGroup.location,
|
|
24
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
25
|
+
* sku: "Standard",
|
|
26
|
+
* });
|
|
27
|
+
* const exampleTopic = new azure.servicebus.Topic("example", {
|
|
28
|
+
* name: "example-topic",
|
|
29
|
+
* namespaceId: exampleNamespace.id,
|
|
30
|
+
* enablePartitioning: true,
|
|
31
|
+
* });
|
|
32
|
+
* const exampleOutputServicebusTopic = new azure.streamanalytics.OutputServicebusTopic("example", {
|
|
33
|
+
* name: "service-bus-topic-output",
|
|
34
|
+
* streamAnalyticsJobName: example.apply(example => example.name),
|
|
35
|
+
* resourceGroupName: example.apply(example => example.resourceGroupName),
|
|
36
|
+
* topicName: exampleTopic.name,
|
|
37
|
+
* servicebusNamespace: exampleNamespace.name,
|
|
38
|
+
* sharedAccessPolicyKey: exampleNamespace.defaultPrimaryKey,
|
|
39
|
+
* sharedAccessPolicyName: "RootManageSharedAccessKey",
|
|
40
|
+
* propertyColumns: [
|
|
41
|
+
* "col1",
|
|
42
|
+
* "col2",
|
|
43
|
+
* ],
|
|
44
|
+
* serialization: {
|
|
45
|
+
* type: "Csv",
|
|
46
|
+
* format: "Array",
|
|
47
|
+
* },
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
9
51
|
* ## API Providers
|
|
10
52
|
*
|
|
11
53
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -10,6 +10,48 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
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("example", {
|
|
18
|
+
* name: "rg-example",
|
|
19
|
+
* location: "West Europe",
|
|
20
|
+
* });
|
|
21
|
+
* const example = azure.streamanalytics.getJobOutput({
|
|
22
|
+
* name: "example-job",
|
|
23
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
24
|
+
* });
|
|
25
|
+
* const exampleNamespace = new azure.servicebus.Namespace("example", {
|
|
26
|
+
* name: "example-namespace",
|
|
27
|
+
* location: exampleResourceGroup.location,
|
|
28
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
29
|
+
* sku: "Standard",
|
|
30
|
+
* });
|
|
31
|
+
* const exampleTopic = new azure.servicebus.Topic("example", {
|
|
32
|
+
* name: "example-topic",
|
|
33
|
+
* namespaceId: exampleNamespace.id,
|
|
34
|
+
* enablePartitioning: true,
|
|
35
|
+
* });
|
|
36
|
+
* const exampleOutputServicebusTopic = new azure.streamanalytics.OutputServicebusTopic("example", {
|
|
37
|
+
* name: "service-bus-topic-output",
|
|
38
|
+
* streamAnalyticsJobName: example.apply(example => example.name),
|
|
39
|
+
* resourceGroupName: example.apply(example => example.resourceGroupName),
|
|
40
|
+
* topicName: exampleTopic.name,
|
|
41
|
+
* servicebusNamespace: exampleNamespace.name,
|
|
42
|
+
* sharedAccessPolicyKey: exampleNamespace.defaultPrimaryKey,
|
|
43
|
+
* sharedAccessPolicyName: "RootManageSharedAccessKey",
|
|
44
|
+
* propertyColumns: [
|
|
45
|
+
* "col1",
|
|
46
|
+
* "col2",
|
|
47
|
+
* ],
|
|
48
|
+
* serialization: {
|
|
49
|
+
* type: "Csv",
|
|
50
|
+
* format: "Array",
|
|
51
|
+
* },
|
|
52
|
+
* });
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
13
55
|
* ## API Providers
|
|
14
56
|
*
|
|
15
57
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outputServicebusTopic.js","sourceRoot":"","sources":["../../streamanalytics/outputServicebusTopic.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"outputServicebusTopic.js","sourceRoot":"","sources":["../../streamanalytics/outputServicebusTopic.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YAC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,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,uBAAuB,CAAC,EAAE,CAAC;QAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AApIL,sDAqIC;AAvHG,gBAAgB;AACO,kCAAY,GAAG,mEAAmE,CAAC"}
|
|
@@ -54,7 +54,7 @@ import * as outputs from "../types/output";
|
|
|
54
54
|
* synapseWorkspaceId: exampleWorkspace.id,
|
|
55
55
|
* type: "AzureBlobStorage",
|
|
56
56
|
* typePropertiesJson: pulumi.interpolate`{
|
|
57
|
-
* "connectionString": "${exampleAccount.primaryConnectionString}"
|
|
57
|
+
* \"connectionString\": \"${exampleAccount.primaryConnectionString}\"
|
|
58
58
|
* }
|
|
59
59
|
* `,
|
|
60
60
|
* integrationRuntime: {
|
package/synapse/linkedService.js
CHANGED
|
@@ -58,7 +58,7 @@ const utilities = require("../utilities");
|
|
|
58
58
|
* synapseWorkspaceId: exampleWorkspace.id,
|
|
59
59
|
* type: "AzureBlobStorage",
|
|
60
60
|
* typePropertiesJson: pulumi.interpolate`{
|
|
61
|
-
* "connectionString": "${exampleAccount.primaryConnectionString}"
|
|
61
|
+
* \"connectionString\": \"${exampleAccount.primaryConnectionString}\"
|
|
62
62
|
* }
|
|
63
63
|
* `,
|
|
64
64
|
* integrationRuntime: {
|
|
@@ -4,6 +4,72 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
*
|
|
11
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
12
|
+
* name: "example-resources",
|
|
13
|
+
* location: "West Europe",
|
|
14
|
+
* });
|
|
15
|
+
* const exampleAccount = new azure.storage.Account("example", {
|
|
16
|
+
* name: "examplestorageacc",
|
|
17
|
+
* resourceGroupName: example.name,
|
|
18
|
+
* location: example.location,
|
|
19
|
+
* accountTier: "Standard",
|
|
20
|
+
* accountReplicationType: "LRS",
|
|
21
|
+
* accountKind: "StorageV2",
|
|
22
|
+
* isHnsEnabled: true,
|
|
23
|
+
* });
|
|
24
|
+
* const exampleDataLakeGen2Filesystem = new azure.storage.DataLakeGen2Filesystem("example", {
|
|
25
|
+
* name: "example",
|
|
26
|
+
* storageAccountId: exampleAccount.id,
|
|
27
|
+
* });
|
|
28
|
+
* const exampleWorkspace = new azure.synapse.Workspace("example", {
|
|
29
|
+
* name: "example",
|
|
30
|
+
* resourceGroupName: example.name,
|
|
31
|
+
* location: example.location,
|
|
32
|
+
* storageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.id,
|
|
33
|
+
* sqlAdministratorLogin: "sqladminuser",
|
|
34
|
+
* sqlAdministratorLoginPassword: "H@Sh1CoR3!",
|
|
35
|
+
* aadAdmin: [{
|
|
36
|
+
* login: "AzureAD Admin",
|
|
37
|
+
* objectId: "00000000-0000-0000-0000-000000000000",
|
|
38
|
+
* tenantId: "00000000-0000-0000-0000-000000000000",
|
|
39
|
+
* }],
|
|
40
|
+
* identity: {
|
|
41
|
+
* type: "SystemAssigned",
|
|
42
|
+
* },
|
|
43
|
+
* tags: {
|
|
44
|
+
* Env: "production",
|
|
45
|
+
* },
|
|
46
|
+
* });
|
|
47
|
+
* const exampleSqlPool = new azure.synapse.SqlPool("example", {
|
|
48
|
+
* name: "examplesqlpool",
|
|
49
|
+
* synapseWorkspaceId: exampleWorkspace.id,
|
|
50
|
+
* skuName: "DW100c",
|
|
51
|
+
* createMode: "Default",
|
|
52
|
+
* });
|
|
53
|
+
* const auditLogs = new azure.storage.Account("audit_logs", {
|
|
54
|
+
* name: "examplesa",
|
|
55
|
+
* resourceGroupName: example.name,
|
|
56
|
+
* location: example.location,
|
|
57
|
+
* accountTier: "Standard",
|
|
58
|
+
* accountReplicationType: "LRS",
|
|
59
|
+
* });
|
|
60
|
+
* const exampleSqlPoolSecurityAlertPolicy = new azure.synapse.SqlPoolSecurityAlertPolicy("example", {
|
|
61
|
+
* sqlPoolId: exampleSqlPool.id,
|
|
62
|
+
* policyState: "Enabled",
|
|
63
|
+
* storageEndpoint: auditLogs.primaryBlobEndpoint,
|
|
64
|
+
* storageAccountAccessKey: auditLogs.primaryAccessKey,
|
|
65
|
+
* disabledAlerts: [
|
|
66
|
+
* "Sql_Injection",
|
|
67
|
+
* "Data_Exfiltration",
|
|
68
|
+
* ],
|
|
69
|
+
* retentionDays: 20,
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
7
73
|
* ## Import
|
|
8
74
|
*
|
|
9
75
|
* Synapse SQL Pool Security Alert Policies can be imported using the `resource id`, e.g.
|
|
@@ -10,6 +10,72 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
18
|
+
* name: "example-resources",
|
|
19
|
+
* location: "West Europe",
|
|
20
|
+
* });
|
|
21
|
+
* const exampleAccount = new azure.storage.Account("example", {
|
|
22
|
+
* name: "examplestorageacc",
|
|
23
|
+
* resourceGroupName: example.name,
|
|
24
|
+
* location: example.location,
|
|
25
|
+
* accountTier: "Standard",
|
|
26
|
+
* accountReplicationType: "LRS",
|
|
27
|
+
* accountKind: "StorageV2",
|
|
28
|
+
* isHnsEnabled: true,
|
|
29
|
+
* });
|
|
30
|
+
* const exampleDataLakeGen2Filesystem = new azure.storage.DataLakeGen2Filesystem("example", {
|
|
31
|
+
* name: "example",
|
|
32
|
+
* storageAccountId: exampleAccount.id,
|
|
33
|
+
* });
|
|
34
|
+
* const exampleWorkspace = new azure.synapse.Workspace("example", {
|
|
35
|
+
* name: "example",
|
|
36
|
+
* resourceGroupName: example.name,
|
|
37
|
+
* location: example.location,
|
|
38
|
+
* storageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.id,
|
|
39
|
+
* sqlAdministratorLogin: "sqladminuser",
|
|
40
|
+
* sqlAdministratorLoginPassword: "H@Sh1CoR3!",
|
|
41
|
+
* aadAdmin: [{
|
|
42
|
+
* login: "AzureAD Admin",
|
|
43
|
+
* objectId: "00000000-0000-0000-0000-000000000000",
|
|
44
|
+
* tenantId: "00000000-0000-0000-0000-000000000000",
|
|
45
|
+
* }],
|
|
46
|
+
* identity: {
|
|
47
|
+
* type: "SystemAssigned",
|
|
48
|
+
* },
|
|
49
|
+
* tags: {
|
|
50
|
+
* Env: "production",
|
|
51
|
+
* },
|
|
52
|
+
* });
|
|
53
|
+
* const exampleSqlPool = new azure.synapse.SqlPool("example", {
|
|
54
|
+
* name: "examplesqlpool",
|
|
55
|
+
* synapseWorkspaceId: exampleWorkspace.id,
|
|
56
|
+
* skuName: "DW100c",
|
|
57
|
+
* createMode: "Default",
|
|
58
|
+
* });
|
|
59
|
+
* const auditLogs = new azure.storage.Account("audit_logs", {
|
|
60
|
+
* name: "examplesa",
|
|
61
|
+
* resourceGroupName: example.name,
|
|
62
|
+
* location: example.location,
|
|
63
|
+
* accountTier: "Standard",
|
|
64
|
+
* accountReplicationType: "LRS",
|
|
65
|
+
* });
|
|
66
|
+
* const exampleSqlPoolSecurityAlertPolicy = new azure.synapse.SqlPoolSecurityAlertPolicy("example", {
|
|
67
|
+
* sqlPoolId: exampleSqlPool.id,
|
|
68
|
+
* policyState: "Enabled",
|
|
69
|
+
* storageEndpoint: auditLogs.primaryBlobEndpoint,
|
|
70
|
+
* storageAccountAccessKey: auditLogs.primaryAccessKey,
|
|
71
|
+
* disabledAlerts: [
|
|
72
|
+
* "Sql_Injection",
|
|
73
|
+
* "Data_Exfiltration",
|
|
74
|
+
* ],
|
|
75
|
+
* retentionDays: 20,
|
|
76
|
+
* });
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
13
79
|
* ## Import
|
|
14
80
|
*
|
|
15
81
|
* Synapse SQL Pool Security Alert Policies can be imported using the `resource id`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqlPoolSecurityAlertPolicy.js","sourceRoot":"","sources":["../../synapse/sqlPoolSecurityAlertPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"sqlPoolSecurityAlertPolicy.js","sourceRoot":"","sources":["../../synapse/sqlPoolSecurityAlertPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAA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A2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;YAC9E,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,EAAE,uBAAuB,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACpI,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,yBAAyB,CAAC,EAAE,CAAC;QAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AAvGL,gEAwGC;AA1FG,gBAAgB;AACO,uCAAY,GAAG,qEAAqE,CAAC"}
|
|
@@ -6,6 +6,88 @@ import * as outputs from "../types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as azure from "@pulumi/azure";
|
|
12
|
+
*
|
|
13
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
14
|
+
* name: "example-resources",
|
|
15
|
+
* location: "West Europe",
|
|
16
|
+
* });
|
|
17
|
+
* const exampleAccount = new azure.storage.Account("example", {
|
|
18
|
+
* name: "examplestorageacc",
|
|
19
|
+
* resourceGroupName: example.name,
|
|
20
|
+
* location: example.location,
|
|
21
|
+
* accountTier: "Standard",
|
|
22
|
+
* accountReplicationType: "LRS",
|
|
23
|
+
* accountKind: "StorageV2",
|
|
24
|
+
* isHnsEnabled: true,
|
|
25
|
+
* });
|
|
26
|
+
* const exampleContainer = new azure.storage.Container("example", {
|
|
27
|
+
* name: "example",
|
|
28
|
+
* storageAccountName: exampleAccount.name,
|
|
29
|
+
* });
|
|
30
|
+
* const exampleDataLakeGen2Filesystem = new azure.storage.DataLakeGen2Filesystem("example", {
|
|
31
|
+
* name: "example",
|
|
32
|
+
* storageAccountId: exampleAccount.id,
|
|
33
|
+
* });
|
|
34
|
+
* const exampleWorkspace = new azure.synapse.Workspace("example", {
|
|
35
|
+
* name: "example",
|
|
36
|
+
* resourceGroupName: example.name,
|
|
37
|
+
* location: example.location,
|
|
38
|
+
* storageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.id,
|
|
39
|
+
* sqlAdministratorLogin: "sqladminuser",
|
|
40
|
+
* sqlAdministratorLoginPassword: "H@Sh1CoR3!",
|
|
41
|
+
* aadAdmin: [{
|
|
42
|
+
* login: "AzureAD Admin",
|
|
43
|
+
* objectId: "00000000-0000-0000-0000-000000000000",
|
|
44
|
+
* tenantId: "00000000-0000-0000-0000-000000000000",
|
|
45
|
+
* }],
|
|
46
|
+
* identity: {
|
|
47
|
+
* type: "SystemAssigned",
|
|
48
|
+
* },
|
|
49
|
+
* tags: {
|
|
50
|
+
* Env: "production",
|
|
51
|
+
* },
|
|
52
|
+
* });
|
|
53
|
+
* const exampleSqlPool = new azure.synapse.SqlPool("example", {
|
|
54
|
+
* name: "examplesqlpool",
|
|
55
|
+
* synapseWorkspaceId: exampleWorkspace.id,
|
|
56
|
+
* skuName: "DW100c",
|
|
57
|
+
* createMode: "Default",
|
|
58
|
+
* });
|
|
59
|
+
* const auditLogs = new azure.storage.Account("audit_logs", {
|
|
60
|
+
* name: "examplesa",
|
|
61
|
+
* resourceGroupName: example.name,
|
|
62
|
+
* location: example.location,
|
|
63
|
+
* accountTier: "Standard",
|
|
64
|
+
* accountReplicationType: "LRS",
|
|
65
|
+
* });
|
|
66
|
+
* const exampleSqlPoolSecurityAlertPolicy = new azure.synapse.SqlPoolSecurityAlertPolicy("example", {
|
|
67
|
+
* sqlPoolId: exampleSqlPool.id,
|
|
68
|
+
* policyState: "Enabled",
|
|
69
|
+
* storageEndpoint: auditLogs.primaryBlobEndpoint,
|
|
70
|
+
* storageAccountAccessKey: auditLogs.primaryAccessKey,
|
|
71
|
+
* disabledAlerts: [
|
|
72
|
+
* "Sql_Injection",
|
|
73
|
+
* "Data_Exfiltration",
|
|
74
|
+
* ],
|
|
75
|
+
* retentionDays: 20,
|
|
76
|
+
* });
|
|
77
|
+
* const exampleSqlPoolVulnerabilityAssessment = new azure.synapse.SqlPoolVulnerabilityAssessment("example", {
|
|
78
|
+
* sqlPoolSecurityAlertPolicyId: exampleSqlPoolSecurityAlertPolicy.id,
|
|
79
|
+
* storageContainerPath: pulumi.interpolate`${exampleAccount.primaryBlobEndpoint}${exampleContainer.name}/`,
|
|
80
|
+
* storageAccountAccessKey: exampleAccount.primaryAccessKey,
|
|
81
|
+
* recurringScans: {
|
|
82
|
+
* enabled: true,
|
|
83
|
+
* emails: [
|
|
84
|
+
* "email@example1.com",
|
|
85
|
+
* "email@example2.com",
|
|
86
|
+
* ],
|
|
87
|
+
* },
|
|
88
|
+
* });
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
9
91
|
* ## Import
|
|
10
92
|
*
|
|
11
93
|
* Synapse SQL Pool Vulnerability Assessment can be imported using the `resource id`, e.g.
|
|
@@ -10,6 +10,88 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
18
|
+
* name: "example-resources",
|
|
19
|
+
* location: "West Europe",
|
|
20
|
+
* });
|
|
21
|
+
* const exampleAccount = new azure.storage.Account("example", {
|
|
22
|
+
* name: "examplestorageacc",
|
|
23
|
+
* resourceGroupName: example.name,
|
|
24
|
+
* location: example.location,
|
|
25
|
+
* accountTier: "Standard",
|
|
26
|
+
* accountReplicationType: "LRS",
|
|
27
|
+
* accountKind: "StorageV2",
|
|
28
|
+
* isHnsEnabled: true,
|
|
29
|
+
* });
|
|
30
|
+
* const exampleContainer = new azure.storage.Container("example", {
|
|
31
|
+
* name: "example",
|
|
32
|
+
* storageAccountName: exampleAccount.name,
|
|
33
|
+
* });
|
|
34
|
+
* const exampleDataLakeGen2Filesystem = new azure.storage.DataLakeGen2Filesystem("example", {
|
|
35
|
+
* name: "example",
|
|
36
|
+
* storageAccountId: exampleAccount.id,
|
|
37
|
+
* });
|
|
38
|
+
* const exampleWorkspace = new azure.synapse.Workspace("example", {
|
|
39
|
+
* name: "example",
|
|
40
|
+
* resourceGroupName: example.name,
|
|
41
|
+
* location: example.location,
|
|
42
|
+
* storageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.id,
|
|
43
|
+
* sqlAdministratorLogin: "sqladminuser",
|
|
44
|
+
* sqlAdministratorLoginPassword: "H@Sh1CoR3!",
|
|
45
|
+
* aadAdmin: [{
|
|
46
|
+
* login: "AzureAD Admin",
|
|
47
|
+
* objectId: "00000000-0000-0000-0000-000000000000",
|
|
48
|
+
* tenantId: "00000000-0000-0000-0000-000000000000",
|
|
49
|
+
* }],
|
|
50
|
+
* identity: {
|
|
51
|
+
* type: "SystemAssigned",
|
|
52
|
+
* },
|
|
53
|
+
* tags: {
|
|
54
|
+
* Env: "production",
|
|
55
|
+
* },
|
|
56
|
+
* });
|
|
57
|
+
* const exampleSqlPool = new azure.synapse.SqlPool("example", {
|
|
58
|
+
* name: "examplesqlpool",
|
|
59
|
+
* synapseWorkspaceId: exampleWorkspace.id,
|
|
60
|
+
* skuName: "DW100c",
|
|
61
|
+
* createMode: "Default",
|
|
62
|
+
* });
|
|
63
|
+
* const auditLogs = new azure.storage.Account("audit_logs", {
|
|
64
|
+
* name: "examplesa",
|
|
65
|
+
* resourceGroupName: example.name,
|
|
66
|
+
* location: example.location,
|
|
67
|
+
* accountTier: "Standard",
|
|
68
|
+
* accountReplicationType: "LRS",
|
|
69
|
+
* });
|
|
70
|
+
* const exampleSqlPoolSecurityAlertPolicy = new azure.synapse.SqlPoolSecurityAlertPolicy("example", {
|
|
71
|
+
* sqlPoolId: exampleSqlPool.id,
|
|
72
|
+
* policyState: "Enabled",
|
|
73
|
+
* storageEndpoint: auditLogs.primaryBlobEndpoint,
|
|
74
|
+
* storageAccountAccessKey: auditLogs.primaryAccessKey,
|
|
75
|
+
* disabledAlerts: [
|
|
76
|
+
* "Sql_Injection",
|
|
77
|
+
* "Data_Exfiltration",
|
|
78
|
+
* ],
|
|
79
|
+
* retentionDays: 20,
|
|
80
|
+
* });
|
|
81
|
+
* const exampleSqlPoolVulnerabilityAssessment = new azure.synapse.SqlPoolVulnerabilityAssessment("example", {
|
|
82
|
+
* sqlPoolSecurityAlertPolicyId: exampleSqlPoolSecurityAlertPolicy.id,
|
|
83
|
+
* storageContainerPath: pulumi.interpolate`${exampleAccount.primaryBlobEndpoint}${exampleContainer.name}/`,
|
|
84
|
+
* storageAccountAccessKey: exampleAccount.primaryAccessKey,
|
|
85
|
+
* recurringScans: {
|
|
86
|
+
* enabled: true,
|
|
87
|
+
* emails: [
|
|
88
|
+
* "email@example1.com",
|
|
89
|
+
* "email@example2.com",
|
|
90
|
+
* ],
|
|
91
|
+
* },
|
|
92
|
+
* });
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
13
95
|
* ## Import
|
|
14
96
|
*
|
|
15
97
|
* Synapse SQL Pool Vulnerability Assessment can be imported using the `resource id`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqlPoolVulnerabilityAssessment.js","sourceRoot":"","sources":["../../synapse/sqlPoolVulnerabilityAssessment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"sqlPoolVulnerabilityAssessment.js","sourceRoot":"","sources":["../../synapse/sqlPoolVulnerabilityAssessment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8FG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IACrE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2C,EAAE,IAAmC;QACzI,OAAO,IAAI,8BAA8B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrF,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,8BAA8B,CAAC,YAAY,CAAC;IAC/E,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAsF,EAAE,IAAmC;QACjJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8D,CAAC;YAC7E,cAA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I,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,yBAAyB,EAAE,wBAAwB,CAAC,EAAE,CAAC;QACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,8BAA8B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnF,CAAC;;AArFL,wEAsFC;AAxEG,gBAAgB;AACO,2CAAY,GAAG,6EAA6E,CAAC"}
|
|
@@ -4,6 +4,66 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
*
|
|
11
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
12
|
+
* name: "example-resources",
|
|
13
|
+
* location: "West Europe",
|
|
14
|
+
* });
|
|
15
|
+
* const exampleAccount = new azure.storage.Account("example", {
|
|
16
|
+
* name: "examplestorageacc",
|
|
17
|
+
* resourceGroupName: example.name,
|
|
18
|
+
* location: example.location,
|
|
19
|
+
* accountTier: "Standard",
|
|
20
|
+
* accountReplicationType: "LRS",
|
|
21
|
+
* accountKind: "StorageV2",
|
|
22
|
+
* isHnsEnabled: true,
|
|
23
|
+
* });
|
|
24
|
+
* const exampleDataLakeGen2Filesystem = new azure.storage.DataLakeGen2Filesystem("example", {
|
|
25
|
+
* name: "example",
|
|
26
|
+
* storageAccountId: exampleAccount.id,
|
|
27
|
+
* });
|
|
28
|
+
* const exampleWorkspace = new azure.synapse.Workspace("example", {
|
|
29
|
+
* name: "example",
|
|
30
|
+
* resourceGroupName: example.name,
|
|
31
|
+
* location: example.location,
|
|
32
|
+
* storageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.id,
|
|
33
|
+
* sqlAdministratorLogin: "sqladminuser",
|
|
34
|
+
* sqlAdministratorLoginPassword: "H@Sh1CoR3!",
|
|
35
|
+
* aadAdmin: [{
|
|
36
|
+
* login: "AzureAD Admin",
|
|
37
|
+
* objectId: "00000000-0000-0000-0000-000000000000",
|
|
38
|
+
* tenantId: "00000000-0000-0000-0000-000000000000",
|
|
39
|
+
* }],
|
|
40
|
+
* identity: {
|
|
41
|
+
* type: "SystemAssigned",
|
|
42
|
+
* },
|
|
43
|
+
* tags: {
|
|
44
|
+
* Env: "production",
|
|
45
|
+
* },
|
|
46
|
+
* });
|
|
47
|
+
* const auditLogs = new azure.storage.Account("audit_logs", {
|
|
48
|
+
* name: "examplesa",
|
|
49
|
+
* resourceGroupName: example.name,
|
|
50
|
+
* location: example.location,
|
|
51
|
+
* accountTier: "Standard",
|
|
52
|
+
* accountReplicationType: "LRS",
|
|
53
|
+
* });
|
|
54
|
+
* const exampleWorkspaceSecurityAlertPolicy = new azure.synapse.WorkspaceSecurityAlertPolicy("example", {
|
|
55
|
+
* synapseWorkspaceId: exampleWorkspace.id,
|
|
56
|
+
* policyState: "Enabled",
|
|
57
|
+
* storageEndpoint: auditLogs.primaryBlobEndpoint,
|
|
58
|
+
* storageAccountAccessKey: auditLogs.primaryAccessKey,
|
|
59
|
+
* disabledAlerts: [
|
|
60
|
+
* "Sql_Injection",
|
|
61
|
+
* "Data_Exfiltration",
|
|
62
|
+
* ],
|
|
63
|
+
* retentionDays: 20,
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
7
67
|
* ## Import
|
|
8
68
|
*
|
|
9
69
|
* Synapse Workspace Security Alert Policies can be imported using the `resource id`, e.g.
|