@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
package/redis/firewallRule.js
CHANGED
|
@@ -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
|
+
* import * as random from "@pulumi/random";
|
|
17
|
+
*
|
|
18
|
+
* const server = new random.index.Id("server", {
|
|
19
|
+
* keepers: {
|
|
20
|
+
* aziId: 1,
|
|
21
|
+
* },
|
|
22
|
+
* byteLength: 8,
|
|
23
|
+
* });
|
|
24
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
25
|
+
* name: "redis-resourcegroup",
|
|
26
|
+
* location: "West Europe",
|
|
27
|
+
* });
|
|
28
|
+
* const exampleCache = new azure.redis.Cache("example", {
|
|
29
|
+
* name: `redis${server.hex}`,
|
|
30
|
+
* location: example.location,
|
|
31
|
+
* resourceGroupName: example.name,
|
|
32
|
+
* capacity: 1,
|
|
33
|
+
* family: "P",
|
|
34
|
+
* skuName: "Premium",
|
|
35
|
+
* enableNonSslPort: false,
|
|
36
|
+
* redisConfiguration: {
|
|
37
|
+
* maxmemoryReserved: 2,
|
|
38
|
+
* maxmemoryDelta: 2,
|
|
39
|
+
* maxmemoryPolicy: "allkeys-lru",
|
|
40
|
+
* },
|
|
41
|
+
* });
|
|
42
|
+
* const exampleFirewallRule = new azure.redis.FirewallRule("example", {
|
|
43
|
+
* name: "someIPrange",
|
|
44
|
+
* redisCacheName: exampleCache.name,
|
|
45
|
+
* resourceGroupName: example.name,
|
|
46
|
+
* startIp: "1.2.3.4",
|
|
47
|
+
* endIp: "2.3.4.5",
|
|
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":"firewallRule.js","sourceRoot":"","sources":["../../redis/firewallRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"firewallRule.js","sourceRoot":"","sources":["../../redis/firewallRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,EAAE,cAAc,CAAC;YACzD,cAAc,CAAC,mBAAmB,CAAC,GAAG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AAG,uCAAuC,CAAC"}
|
package/redis/linkedServer.d.ts
CHANGED
|
@@ -4,6 +4,55 @@ 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_primary = new azure.core.ResourceGroup("example-primary", {
|
|
12
|
+
* name: "example-resources-primary",
|
|
13
|
+
* location: "East US",
|
|
14
|
+
* });
|
|
15
|
+
* const example_primaryCache = new azure.redis.Cache("example-primary", {
|
|
16
|
+
* name: "example-cache1",
|
|
17
|
+
* location: example_primary.location,
|
|
18
|
+
* resourceGroupName: example_primary.name,
|
|
19
|
+
* capacity: 1,
|
|
20
|
+
* family: "P",
|
|
21
|
+
* skuName: "Premium",
|
|
22
|
+
* enableNonSslPort: false,
|
|
23
|
+
* redisConfiguration: {
|
|
24
|
+
* maxmemoryReserved: 2,
|
|
25
|
+
* maxmemoryDelta: 2,
|
|
26
|
+
* maxmemoryPolicy: "allkeys-lru",
|
|
27
|
+
* },
|
|
28
|
+
* });
|
|
29
|
+
* const example_secondary = new azure.core.ResourceGroup("example-secondary", {
|
|
30
|
+
* name: "example-resources-secondary",
|
|
31
|
+
* location: "West US",
|
|
32
|
+
* });
|
|
33
|
+
* const example_secondaryCache = new azure.redis.Cache("example-secondary", {
|
|
34
|
+
* name: "example-cache2",
|
|
35
|
+
* location: example_secondary.location,
|
|
36
|
+
* resourceGroupName: example_secondary.name,
|
|
37
|
+
* capacity: 1,
|
|
38
|
+
* family: "P",
|
|
39
|
+
* skuName: "Premium",
|
|
40
|
+
* enableNonSslPort: false,
|
|
41
|
+
* redisConfiguration: {
|
|
42
|
+
* maxmemoryReserved: 2,
|
|
43
|
+
* maxmemoryDelta: 2,
|
|
44
|
+
* maxmemoryPolicy: "allkeys-lru",
|
|
45
|
+
* },
|
|
46
|
+
* });
|
|
47
|
+
* const example_link = new azure.redis.LinkedServer("example-link", {
|
|
48
|
+
* targetRedisCacheName: example_primaryCache.name,
|
|
49
|
+
* resourceGroupName: example_primaryCache.resourceGroupName,
|
|
50
|
+
* linkedRedisCacheId: example_secondaryCache.id,
|
|
51
|
+
* linkedRedisCacheLocation: example_secondaryCache.location,
|
|
52
|
+
* serverRole: "Secondary",
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
7
56
|
* ## API Providers
|
|
8
57
|
*
|
|
9
58
|
* <!-- This section is generated, changes will be overwritten -->
|
package/redis/linkedServer.js
CHANGED
|
@@ -10,6 +10,55 @@ 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_primary = new azure.core.ResourceGroup("example-primary", {
|
|
18
|
+
* name: "example-resources-primary",
|
|
19
|
+
* location: "East US",
|
|
20
|
+
* });
|
|
21
|
+
* const example_primaryCache = new azure.redis.Cache("example-primary", {
|
|
22
|
+
* name: "example-cache1",
|
|
23
|
+
* location: example_primary.location,
|
|
24
|
+
* resourceGroupName: example_primary.name,
|
|
25
|
+
* capacity: 1,
|
|
26
|
+
* family: "P",
|
|
27
|
+
* skuName: "Premium",
|
|
28
|
+
* enableNonSslPort: false,
|
|
29
|
+
* redisConfiguration: {
|
|
30
|
+
* maxmemoryReserved: 2,
|
|
31
|
+
* maxmemoryDelta: 2,
|
|
32
|
+
* maxmemoryPolicy: "allkeys-lru",
|
|
33
|
+
* },
|
|
34
|
+
* });
|
|
35
|
+
* const example_secondary = new azure.core.ResourceGroup("example-secondary", {
|
|
36
|
+
* name: "example-resources-secondary",
|
|
37
|
+
* location: "West US",
|
|
38
|
+
* });
|
|
39
|
+
* const example_secondaryCache = new azure.redis.Cache("example-secondary", {
|
|
40
|
+
* name: "example-cache2",
|
|
41
|
+
* location: example_secondary.location,
|
|
42
|
+
* resourceGroupName: example_secondary.name,
|
|
43
|
+
* capacity: 1,
|
|
44
|
+
* family: "P",
|
|
45
|
+
* skuName: "Premium",
|
|
46
|
+
* enableNonSslPort: false,
|
|
47
|
+
* redisConfiguration: {
|
|
48
|
+
* maxmemoryReserved: 2,
|
|
49
|
+
* maxmemoryDelta: 2,
|
|
50
|
+
* maxmemoryPolicy: "allkeys-lru",
|
|
51
|
+
* },
|
|
52
|
+
* });
|
|
53
|
+
* const example_link = new azure.redis.LinkedServer("example-link", {
|
|
54
|
+
* targetRedisCacheName: example_primaryCache.name,
|
|
55
|
+
* resourceGroupName: example_primaryCache.resourceGroupName,
|
|
56
|
+
* linkedRedisCacheId: example_secondaryCache.id,
|
|
57
|
+
* linkedRedisCacheLocation: example_secondaryCache.location,
|
|
58
|
+
* serverRole: "Secondary",
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
13
62
|
* ## API Providers
|
|
14
63
|
*
|
|
15
64
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkedServer.js","sourceRoot":"","sources":["../../redis/linkedServer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"linkedServer.js","sourceRoot":"","sources":["../../redis/linkedServer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2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}
|
|
@@ -27,8 +27,8 @@ import * as outputs from "../types/output";
|
|
|
27
27
|
* displayName: "example",
|
|
28
28
|
* severity: "High",
|
|
29
29
|
* query: `AzureActivity |
|
|
30
|
-
* where OperationName == "Create or Update Virtual Machine" or OperationName
|
|
31
|
-
* where ActivityStatus == "Succeeded" |
|
|
30
|
+
* where OperationName == \\"Create or Update Virtual Machine\\" or OperationName ==\\"Create Deployment\\" |
|
|
31
|
+
* where ActivityStatus == \\"Succeeded\\" |
|
|
32
32
|
* make-series dcount(ResourceId) default=0 on EventSubmissionTimestamp in range(ago(7d), now(), 1d) by Caller
|
|
33
33
|
* `,
|
|
34
34
|
* });
|
package/sentinel/alertRuleNrt.js
CHANGED
|
@@ -31,8 +31,8 @@ const utilities = require("../utilities");
|
|
|
31
31
|
* displayName: "example",
|
|
32
32
|
* severity: "High",
|
|
33
33
|
* query: `AzureActivity |
|
|
34
|
-
* where OperationName == "Create or Update Virtual Machine" or OperationName
|
|
35
|
-
* where ActivityStatus == "Succeeded" |
|
|
34
|
+
* where OperationName == \\"Create or Update Virtual Machine\\" or OperationName ==\\"Create Deployment\\" |
|
|
35
|
+
* where ActivityStatus == \\"Succeeded\\" |
|
|
36
36
|
* make-series dcount(ResourceId) default=0 on EventSubmissionTimestamp in range(ago(7d), now(), 1d) by Caller
|
|
37
37
|
* `,
|
|
38
38
|
* });
|
|
@@ -27,8 +27,8 @@ import * as outputs from "../types/output";
|
|
|
27
27
|
* displayName: "example",
|
|
28
28
|
* severity: "High",
|
|
29
29
|
* query: `AzureActivity |
|
|
30
|
-
* where OperationName == "Create or Update Virtual Machine" or OperationName
|
|
31
|
-
* where ActivityStatus == "Succeeded" |
|
|
30
|
+
* where OperationName == \\"Create or Update Virtual Machine\\" or OperationName ==\\"Create Deployment\\" |
|
|
31
|
+
* where ActivityStatus == \\"Succeeded\\" |
|
|
32
32
|
* make-series dcount(ResourceId) default=0 on EventSubmissionTimestamp in range(ago(7d), now(), 1d) by Caller
|
|
33
33
|
* `,
|
|
34
34
|
* });
|
|
@@ -31,8 +31,8 @@ const utilities = require("../utilities");
|
|
|
31
31
|
* displayName: "example",
|
|
32
32
|
* severity: "High",
|
|
33
33
|
* query: `AzureActivity |
|
|
34
|
-
* where OperationName == "Create or Update Virtual Machine" or OperationName
|
|
35
|
-
* where ActivityStatus == "Succeeded" |
|
|
34
|
+
* where OperationName == \\"Create or Update Virtual Machine\\" or OperationName ==\\"Create Deployment\\" |
|
|
35
|
+
* where ActivityStatus == \\"Succeeded\\" |
|
|
36
36
|
* make-series dcount(ResourceId) default=0 on EventSubmissionTimestamp in range(ago(7d), now(), 1d) by Caller
|
|
37
37
|
* `,
|
|
38
38
|
* });
|
package/sentinel/metadata.d.ts
CHANGED
|
@@ -37,8 +37,8 @@ import * as outputs from "../types/output";
|
|
|
37
37
|
* displayName: "example",
|
|
38
38
|
* severity: "High",
|
|
39
39
|
* query: `AzureActivity |
|
|
40
|
-
* where OperationName == "Create or Update Virtual Machine" or OperationName
|
|
41
|
-
* where ActivityStatus == "Succeeded" |
|
|
40
|
+
* where OperationName == \\"Create or Update Virtual Machine\\" or OperationName ==\\"Create Deployment\\" |
|
|
41
|
+
* where ActivityStatus == \\"Succeeded\\" |
|
|
42
42
|
* make-series dcount(ResourceId) default=0 on EventSubmissionTimestamp in range(ago(7d), now(), 1d) by Caller
|
|
43
43
|
* `,
|
|
44
44
|
* });
|
package/sentinel/metadata.js
CHANGED
|
@@ -41,8 +41,8 @@ const utilities = require("../utilities");
|
|
|
41
41
|
* displayName: "example",
|
|
42
42
|
* severity: "High",
|
|
43
43
|
* query: `AzureActivity |
|
|
44
|
-
* where OperationName == "Create or Update Virtual Machine" or OperationName
|
|
45
|
-
* where ActivityStatus == "Succeeded" |
|
|
44
|
+
* where OperationName == \\"Create or Update Virtual Machine\\" or OperationName ==\\"Create Deployment\\" |
|
|
45
|
+
* where ActivityStatus == \\"Succeeded\\" |
|
|
46
46
|
* make-series dcount(ResourceId) default=0 on EventSubmissionTimestamp in range(ago(7d), now(), 1d) by Caller
|
|
47
47
|
* `,
|
|
48
48
|
* });
|
|
@@ -4,6 +4,37 @@ 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: "my-servicebus",
|
|
13
|
+
* location: "West US",
|
|
14
|
+
* });
|
|
15
|
+
* const exampleNamespace = new azure.servicebus.Namespace("example", {
|
|
16
|
+
* name: "tfex-servicebus-namespace",
|
|
17
|
+
* location: example.location,
|
|
18
|
+
* resourceGroupName: example.name,
|
|
19
|
+
* sku: "Standard",
|
|
20
|
+
* tags: {
|
|
21
|
+
* source: "example",
|
|
22
|
+
* },
|
|
23
|
+
* });
|
|
24
|
+
* const exampleQueue = new azure.servicebus.Queue("example", {
|
|
25
|
+
* name: "tfex_servicebus_queue",
|
|
26
|
+
* namespaceId: exampleNamespace.id,
|
|
27
|
+
* enablePartitioning: true,
|
|
28
|
+
* });
|
|
29
|
+
* const exampleQueueAuthorizationRule = new azure.servicebus.QueueAuthorizationRule("example", {
|
|
30
|
+
* name: "examplerule",
|
|
31
|
+
* queueId: exampleQueue.id,
|
|
32
|
+
* listen: true,
|
|
33
|
+
* send: true,
|
|
34
|
+
* manage: false,
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
7
38
|
* ## API Providers
|
|
8
39
|
*
|
|
9
40
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -10,6 +10,37 @@ 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: "my-servicebus",
|
|
19
|
+
* location: "West US",
|
|
20
|
+
* });
|
|
21
|
+
* const exampleNamespace = new azure.servicebus.Namespace("example", {
|
|
22
|
+
* name: "tfex-servicebus-namespace",
|
|
23
|
+
* location: example.location,
|
|
24
|
+
* resourceGroupName: example.name,
|
|
25
|
+
* sku: "Standard",
|
|
26
|
+
* tags: {
|
|
27
|
+
* source: "example",
|
|
28
|
+
* },
|
|
29
|
+
* });
|
|
30
|
+
* const exampleQueue = new azure.servicebus.Queue("example", {
|
|
31
|
+
* name: "tfex_servicebus_queue",
|
|
32
|
+
* namespaceId: exampleNamespace.id,
|
|
33
|
+
* enablePartitioning: true,
|
|
34
|
+
* });
|
|
35
|
+
* const exampleQueueAuthorizationRule = new azure.servicebus.QueueAuthorizationRule("example", {
|
|
36
|
+
* name: "examplerule",
|
|
37
|
+
* queueId: exampleQueue.id,
|
|
38
|
+
* listen: true,
|
|
39
|
+
* send: true,
|
|
40
|
+
* manage: false,
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
13
44
|
* ## API Providers
|
|
14
45
|
*
|
|
15
46
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queueAuthorizationRule.js","sourceRoot":"","sources":["../../servicebus/queueAuthorizationRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"queueAuthorizationRule.js","sourceRoot":"","sources":["../../servicebus/queueAuthorizationRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,sBAAuB,SAA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E,SAAS,CAAC,CAAC;QAC5C,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,yBAAyB,EAAE,8BAA8B,EAAE,YAAY,EAAE,2BAA2B,EAAE,gCAAgC,EAAE,cAAc,CAAC,EAAE,CAAC;QACzM,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AA1HL,wDA2HC;AA7GG,gBAAgB;AACO,mCAAY,GAAG,gEAAgE,CAAC"}
|
|
@@ -8,8 +8,84 @@ import * as outputs from "../types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* ### SQL Filter)
|
|
10
10
|
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as azure from "@pulumi/azure";
|
|
14
|
+
*
|
|
15
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
16
|
+
* name: "tfex-servicebus-subscription-rule-sql",
|
|
17
|
+
* location: "West Europe",
|
|
18
|
+
* });
|
|
19
|
+
* const exampleNamespace = new azure.servicebus.Namespace("example", {
|
|
20
|
+
* name: "tfex-servicebus-namespace",
|
|
21
|
+
* location: example.location,
|
|
22
|
+
* resourceGroupName: example.name,
|
|
23
|
+
* sku: "Standard",
|
|
24
|
+
* tags: {
|
|
25
|
+
* source: "example",
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* const exampleTopic = new azure.servicebus.Topic("example", {
|
|
29
|
+
* name: "tfex_servicebus_topic",
|
|
30
|
+
* namespaceId: exampleNamespace.id,
|
|
31
|
+
* enablePartitioning: true,
|
|
32
|
+
* });
|
|
33
|
+
* const exampleSubscription = new azure.servicebus.Subscription("example", {
|
|
34
|
+
* name: "tfex_servicebus_subscription",
|
|
35
|
+
* topicId: exampleTopic.id,
|
|
36
|
+
* maxDeliveryCount: 1,
|
|
37
|
+
* });
|
|
38
|
+
* const exampleSubscriptionRule = new azure.servicebus.SubscriptionRule("example", {
|
|
39
|
+
* name: "tfex_servicebus_rule",
|
|
40
|
+
* subscriptionId: exampleSubscription.id,
|
|
41
|
+
* filterType: "SqlFilter",
|
|
42
|
+
* sqlFilter: "colour = 'red'",
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
11
46
|
* ### Correlation Filter)
|
|
12
47
|
*
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as azure from "@pulumi/azure";
|
|
51
|
+
*
|
|
52
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
53
|
+
* name: "tfex-servicebus-subscription-rule-cor",
|
|
54
|
+
* location: "West Europe",
|
|
55
|
+
* });
|
|
56
|
+
* const exampleNamespace = new azure.servicebus.Namespace("example", {
|
|
57
|
+
* name: "tfex-servicebus-namespace",
|
|
58
|
+
* location: example.location,
|
|
59
|
+
* resourceGroupName: example.name,
|
|
60
|
+
* sku: "Standard",
|
|
61
|
+
* tags: {
|
|
62
|
+
* source: "example",
|
|
63
|
+
* },
|
|
64
|
+
* });
|
|
65
|
+
* const exampleTopic = new azure.servicebus.Topic("example", {
|
|
66
|
+
* name: "tfex_servicebus_topic",
|
|
67
|
+
* namespaceId: exampleNamespace.id,
|
|
68
|
+
* enablePartitioning: true,
|
|
69
|
+
* });
|
|
70
|
+
* const exampleSubscription = new azure.servicebus.Subscription("example", {
|
|
71
|
+
* name: "tfex_servicebus_subscription",
|
|
72
|
+
* topicId: exampleTopic.id,
|
|
73
|
+
* maxDeliveryCount: 1,
|
|
74
|
+
* });
|
|
75
|
+
* const exampleSubscriptionRule = new azure.servicebus.SubscriptionRule("example", {
|
|
76
|
+
* name: "tfex_servicebus_rule",
|
|
77
|
+
* subscriptionId: exampleSubscription.id,
|
|
78
|
+
* filterType: "CorrelationFilter",
|
|
79
|
+
* correlationFilter: {
|
|
80
|
+
* correlationId: "high",
|
|
81
|
+
* label: "red",
|
|
82
|
+
* properties: {
|
|
83
|
+
* customProperty: "value",
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* });
|
|
87
|
+
* ```
|
|
88
|
+
*
|
|
13
89
|
* ## API Providers
|
|
14
90
|
*
|
|
15
91
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -12,8 +12,84 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ### SQL Filter)
|
|
14
14
|
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as azure from "@pulumi/azure";
|
|
18
|
+
*
|
|
19
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
20
|
+
* name: "tfex-servicebus-subscription-rule-sql",
|
|
21
|
+
* location: "West Europe",
|
|
22
|
+
* });
|
|
23
|
+
* const exampleNamespace = new azure.servicebus.Namespace("example", {
|
|
24
|
+
* name: "tfex-servicebus-namespace",
|
|
25
|
+
* location: example.location,
|
|
26
|
+
* resourceGroupName: example.name,
|
|
27
|
+
* sku: "Standard",
|
|
28
|
+
* tags: {
|
|
29
|
+
* source: "example",
|
|
30
|
+
* },
|
|
31
|
+
* });
|
|
32
|
+
* const exampleTopic = new azure.servicebus.Topic("example", {
|
|
33
|
+
* name: "tfex_servicebus_topic",
|
|
34
|
+
* namespaceId: exampleNamespace.id,
|
|
35
|
+
* enablePartitioning: true,
|
|
36
|
+
* });
|
|
37
|
+
* const exampleSubscription = new azure.servicebus.Subscription("example", {
|
|
38
|
+
* name: "tfex_servicebus_subscription",
|
|
39
|
+
* topicId: exampleTopic.id,
|
|
40
|
+
* maxDeliveryCount: 1,
|
|
41
|
+
* });
|
|
42
|
+
* const exampleSubscriptionRule = new azure.servicebus.SubscriptionRule("example", {
|
|
43
|
+
* name: "tfex_servicebus_rule",
|
|
44
|
+
* subscriptionId: exampleSubscription.id,
|
|
45
|
+
* filterType: "SqlFilter",
|
|
46
|
+
* sqlFilter: "colour = 'red'",
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
15
50
|
* ### Correlation Filter)
|
|
16
51
|
*
|
|
52
|
+
* ```typescript
|
|
53
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
54
|
+
* import * as azure from "@pulumi/azure";
|
|
55
|
+
*
|
|
56
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
57
|
+
* name: "tfex-servicebus-subscription-rule-cor",
|
|
58
|
+
* location: "West Europe",
|
|
59
|
+
* });
|
|
60
|
+
* const exampleNamespace = new azure.servicebus.Namespace("example", {
|
|
61
|
+
* name: "tfex-servicebus-namespace",
|
|
62
|
+
* location: example.location,
|
|
63
|
+
* resourceGroupName: example.name,
|
|
64
|
+
* sku: "Standard",
|
|
65
|
+
* tags: {
|
|
66
|
+
* source: "example",
|
|
67
|
+
* },
|
|
68
|
+
* });
|
|
69
|
+
* const exampleTopic = new azure.servicebus.Topic("example", {
|
|
70
|
+
* name: "tfex_servicebus_topic",
|
|
71
|
+
* namespaceId: exampleNamespace.id,
|
|
72
|
+
* enablePartitioning: true,
|
|
73
|
+
* });
|
|
74
|
+
* const exampleSubscription = new azure.servicebus.Subscription("example", {
|
|
75
|
+
* name: "tfex_servicebus_subscription",
|
|
76
|
+
* topicId: exampleTopic.id,
|
|
77
|
+
* maxDeliveryCount: 1,
|
|
78
|
+
* });
|
|
79
|
+
* const exampleSubscriptionRule = new azure.servicebus.SubscriptionRule("example", {
|
|
80
|
+
* name: "tfex_servicebus_rule",
|
|
81
|
+
* subscriptionId: exampleSubscription.id,
|
|
82
|
+
* filterType: "CorrelationFilter",
|
|
83
|
+
* correlationFilter: {
|
|
84
|
+
* correlationId: "high",
|
|
85
|
+
* label: "red",
|
|
86
|
+
* properties: {
|
|
87
|
+
* customProperty: "value",
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* });
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
17
93
|
* ## API Providers
|
|
18
94
|
*
|
|
19
95
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionRule.js","sourceRoot":"","sources":["../../servicebus/subscriptionRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"subscriptionRule.js","sourceRoot":"","sources":["../../servicebus/subscriptionRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmGG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAoCD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,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AC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,kDAAkD,EAAE,CAAC,EAAE,CAAC;QAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA9FL,4CA+FC;AAjFG,gBAAgB;AACO,6BAAY,GAAG,oDAAoD,CAAC"}
|
|
@@ -6,6 +6,61 @@ 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 exampleService = new azure.signalr.Service("example", {
|
|
18
|
+
* name: "example-signalr",
|
|
19
|
+
* location: example.location,
|
|
20
|
+
* resourceGroupName: example.name,
|
|
21
|
+
* sku: {
|
|
22
|
+
* name: "Standard_S1",
|
|
23
|
+
* capacity: 1,
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
27
|
+
* name: "example-vnet",
|
|
28
|
+
* resourceGroupName: example.name,
|
|
29
|
+
* location: example.location,
|
|
30
|
+
* addressSpaces: ["10.5.0.0/16"],
|
|
31
|
+
* });
|
|
32
|
+
* const exampleSubnet = new azure.network.Subnet("example", {
|
|
33
|
+
* name: "example-subnet",
|
|
34
|
+
* resourceGroupName: example.name,
|
|
35
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
36
|
+
* addressPrefixes: ["10.5.2.0/24"],
|
|
37
|
+
* enforcePrivateLinkEndpointNetworkPolicies: true,
|
|
38
|
+
* });
|
|
39
|
+
* const exampleEndpoint = new azure.privatelink.Endpoint("example", {
|
|
40
|
+
* name: "example-privateendpoint",
|
|
41
|
+
* resourceGroupName: example.name,
|
|
42
|
+
* location: example.location,
|
|
43
|
+
* subnetId: exampleSubnet.id,
|
|
44
|
+
* privateServiceConnection: {
|
|
45
|
+
* name: "psc-sig-test",
|
|
46
|
+
* isManualConnection: false,
|
|
47
|
+
* privateConnectionResourceId: exampleService.id,
|
|
48
|
+
* subresourceNames: ["signalr"],
|
|
49
|
+
* },
|
|
50
|
+
* });
|
|
51
|
+
* const exampleServiceNetworkAcl = new azure.signalr.ServiceNetworkAcl("example", {
|
|
52
|
+
* signalrServiceId: exampleService.id,
|
|
53
|
+
* defaultAction: "Deny",
|
|
54
|
+
* publicNetwork: {
|
|
55
|
+
* allowedRequestTypes: ["ClientConnection"],
|
|
56
|
+
* },
|
|
57
|
+
* privateEndpoints: [{
|
|
58
|
+
* id: exampleEndpoint.id,
|
|
59
|
+
* allowedRequestTypes: ["ServerConnection"],
|
|
60
|
+
* }],
|
|
61
|
+
* });
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
9
64
|
* ## API Providers
|
|
10
65
|
*
|
|
11
66
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -10,6 +10,61 @@ 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 exampleService = new azure.signalr.Service("example", {
|
|
22
|
+
* name: "example-signalr",
|
|
23
|
+
* location: example.location,
|
|
24
|
+
* resourceGroupName: example.name,
|
|
25
|
+
* sku: {
|
|
26
|
+
* name: "Standard_S1",
|
|
27
|
+
* capacity: 1,
|
|
28
|
+
* },
|
|
29
|
+
* });
|
|
30
|
+
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
31
|
+
* name: "example-vnet",
|
|
32
|
+
* resourceGroupName: example.name,
|
|
33
|
+
* location: example.location,
|
|
34
|
+
* addressSpaces: ["10.5.0.0/16"],
|
|
35
|
+
* });
|
|
36
|
+
* const exampleSubnet = new azure.network.Subnet("example", {
|
|
37
|
+
* name: "example-subnet",
|
|
38
|
+
* resourceGroupName: example.name,
|
|
39
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
40
|
+
* addressPrefixes: ["10.5.2.0/24"],
|
|
41
|
+
* enforcePrivateLinkEndpointNetworkPolicies: true,
|
|
42
|
+
* });
|
|
43
|
+
* const exampleEndpoint = new azure.privatelink.Endpoint("example", {
|
|
44
|
+
* name: "example-privateendpoint",
|
|
45
|
+
* resourceGroupName: example.name,
|
|
46
|
+
* location: example.location,
|
|
47
|
+
* subnetId: exampleSubnet.id,
|
|
48
|
+
* privateServiceConnection: {
|
|
49
|
+
* name: "psc-sig-test",
|
|
50
|
+
* isManualConnection: false,
|
|
51
|
+
* privateConnectionResourceId: exampleService.id,
|
|
52
|
+
* subresourceNames: ["signalr"],
|
|
53
|
+
* },
|
|
54
|
+
* });
|
|
55
|
+
* const exampleServiceNetworkAcl = new azure.signalr.ServiceNetworkAcl("example", {
|
|
56
|
+
* signalrServiceId: exampleService.id,
|
|
57
|
+
* defaultAction: "Deny",
|
|
58
|
+
* publicNetwork: {
|
|
59
|
+
* allowedRequestTypes: ["ClientConnection"],
|
|
60
|
+
* },
|
|
61
|
+
* privateEndpoints: [{
|
|
62
|
+
* id: exampleEndpoint.id,
|
|
63
|
+
* allowedRequestTypes: ["ServerConnection"],
|
|
64
|
+
* }],
|
|
65
|
+
* });
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
13
68
|
* ## API Providers
|
|
14
69
|
*
|
|
15
70
|
* <!-- This section is generated, changes will be overwritten -->
|