@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
|
@@ -2,85 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Manages a Virtual Desktop Scaling Plan Host Pool Association.
|
|
4
4
|
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as azure from "@pulumi/azure";
|
|
10
|
-
* import * as azuread from "@pulumi/azuread";
|
|
11
|
-
*
|
|
12
|
-
* const exampleResourceGroup = new azure.core.ResourceGroup("example", {
|
|
13
|
-
* name: "rg-example-virtualdesktop",
|
|
14
|
-
* location: "West Europe",
|
|
15
|
-
* });
|
|
16
|
-
* const example = azuread.getServicePrincipal({
|
|
17
|
-
* displayName: "Windows Virtual Desktop",
|
|
18
|
-
* });
|
|
19
|
-
* const exampleAssignment = new azure.authorization.Assignment("example", {
|
|
20
|
-
* scope: exampleResourceGroup.id,
|
|
21
|
-
* roleDefinitionName: "Desktop Virtualization Power On Off Contributor",
|
|
22
|
-
* principalId: example.then(example => example.objectId),
|
|
23
|
-
* });
|
|
24
|
-
* const exampleHostPool = new azure.desktopvirtualization.HostPool("example", {
|
|
25
|
-
* name: "example-hostpool",
|
|
26
|
-
* location: exampleResourceGroup.location,
|
|
27
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
28
|
-
* type: "Pooled",
|
|
29
|
-
* validateEnvironment: true,
|
|
30
|
-
* loadBalancerType: "BreadthFirst",
|
|
31
|
-
* });
|
|
32
|
-
* const exampleScalingPlan = new azure.desktopvirtualization.ScalingPlan("example", {
|
|
33
|
-
* name: "example-scaling-plan",
|
|
34
|
-
* location: exampleResourceGroup.location,
|
|
35
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
36
|
-
* friendlyName: "Scaling Plan Test",
|
|
37
|
-
* description: "Test Scaling Plan",
|
|
38
|
-
* timeZone: "GMT Standard Time",
|
|
39
|
-
* schedules: [{
|
|
40
|
-
* name: "Weekdays",
|
|
41
|
-
* daysOfWeeks: [
|
|
42
|
-
* "Monday",
|
|
43
|
-
* "Tuesday",
|
|
44
|
-
* "Wednesday",
|
|
45
|
-
* "Thursday",
|
|
46
|
-
* "Friday",
|
|
47
|
-
* ],
|
|
48
|
-
* rampUpStartTime: "06:00",
|
|
49
|
-
* rampUpLoadBalancingAlgorithm: "BreadthFirst",
|
|
50
|
-
* rampUpMinimumHostsPercent: 20,
|
|
51
|
-
* rampUpCapacityThresholdPercent: 10,
|
|
52
|
-
* peakStartTime: "09:00",
|
|
53
|
-
* peakLoadBalancingAlgorithm: "BreadthFirst",
|
|
54
|
-
* rampDownStartTime: "18:00",
|
|
55
|
-
* rampDownLoadBalancingAlgorithm: "BreadthFirst",
|
|
56
|
-
* rampDownMinimumHostsPercent: 10,
|
|
57
|
-
* rampDownForceLogoffUsers: false,
|
|
58
|
-
* rampDownWaitTimeMinutes: 45,
|
|
59
|
-
* rampDownNotificationMessage: "Please log of in the next 45 minutes...",
|
|
60
|
-
* rampDownCapacityThresholdPercent: 5,
|
|
61
|
-
* rampDownStopHostsWhen: "ZeroSessions",
|
|
62
|
-
* offPeakStartTime: "22:00",
|
|
63
|
-
* offPeakLoadBalancingAlgorithm: "BreadthFirst",
|
|
64
|
-
* }],
|
|
65
|
-
* }, {
|
|
66
|
-
* dependsOn: [exampleAssignment],
|
|
67
|
-
* });
|
|
68
|
-
* const exampleScalingPlanHostPoolAssociation = new azure.desktopvirtualization.ScalingPlanHostPoolAssociation("example", {
|
|
69
|
-
* hostPoolId: exampleHostPool.id,
|
|
70
|
-
* scalingPlanId: exampleScalingPlan.id,
|
|
71
|
-
* enabled: true,
|
|
72
|
-
* }, {
|
|
73
|
-
* dependsOn: [exampleAssignment],
|
|
74
|
-
* });
|
|
75
|
-
* ```
|
|
76
|
-
*
|
|
77
|
-
* ## API Providers
|
|
78
|
-
*
|
|
79
|
-
* <!-- This section is generated, changes will be overwritten -->
|
|
80
|
-
* This resource uses the following Azure API Providers:
|
|
81
|
-
*
|
|
82
|
-
* * `Microsoft.DesktopVirtualization` - 2024-04-03
|
|
83
|
-
*
|
|
84
5
|
* ## Import
|
|
85
6
|
*
|
|
86
7
|
* Associations between Virtual Desktop Scaling Plans and Virtual Desktop Host Pools can be imported using the `resource id`, e.g.
|
|
@@ -8,85 +8,6 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Manages a Virtual Desktop Scaling Plan Host Pool Association.
|
|
10
10
|
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as azure from "@pulumi/azure";
|
|
16
|
-
* import * as azuread from "@pulumi/azuread";
|
|
17
|
-
*
|
|
18
|
-
* const exampleResourceGroup = new azure.core.ResourceGroup("example", {
|
|
19
|
-
* name: "rg-example-virtualdesktop",
|
|
20
|
-
* location: "West Europe",
|
|
21
|
-
* });
|
|
22
|
-
* const example = azuread.getServicePrincipal({
|
|
23
|
-
* displayName: "Windows Virtual Desktop",
|
|
24
|
-
* });
|
|
25
|
-
* const exampleAssignment = new azure.authorization.Assignment("example", {
|
|
26
|
-
* scope: exampleResourceGroup.id,
|
|
27
|
-
* roleDefinitionName: "Desktop Virtualization Power On Off Contributor",
|
|
28
|
-
* principalId: example.then(example => example.objectId),
|
|
29
|
-
* });
|
|
30
|
-
* const exampleHostPool = new azure.desktopvirtualization.HostPool("example", {
|
|
31
|
-
* name: "example-hostpool",
|
|
32
|
-
* location: exampleResourceGroup.location,
|
|
33
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
34
|
-
* type: "Pooled",
|
|
35
|
-
* validateEnvironment: true,
|
|
36
|
-
* loadBalancerType: "BreadthFirst",
|
|
37
|
-
* });
|
|
38
|
-
* const exampleScalingPlan = new azure.desktopvirtualization.ScalingPlan("example", {
|
|
39
|
-
* name: "example-scaling-plan",
|
|
40
|
-
* location: exampleResourceGroup.location,
|
|
41
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
42
|
-
* friendlyName: "Scaling Plan Test",
|
|
43
|
-
* description: "Test Scaling Plan",
|
|
44
|
-
* timeZone: "GMT Standard Time",
|
|
45
|
-
* schedules: [{
|
|
46
|
-
* name: "Weekdays",
|
|
47
|
-
* daysOfWeeks: [
|
|
48
|
-
* "Monday",
|
|
49
|
-
* "Tuesday",
|
|
50
|
-
* "Wednesday",
|
|
51
|
-
* "Thursday",
|
|
52
|
-
* "Friday",
|
|
53
|
-
* ],
|
|
54
|
-
* rampUpStartTime: "06:00",
|
|
55
|
-
* rampUpLoadBalancingAlgorithm: "BreadthFirst",
|
|
56
|
-
* rampUpMinimumHostsPercent: 20,
|
|
57
|
-
* rampUpCapacityThresholdPercent: 10,
|
|
58
|
-
* peakStartTime: "09:00",
|
|
59
|
-
* peakLoadBalancingAlgorithm: "BreadthFirst",
|
|
60
|
-
* rampDownStartTime: "18:00",
|
|
61
|
-
* rampDownLoadBalancingAlgorithm: "BreadthFirst",
|
|
62
|
-
* rampDownMinimumHostsPercent: 10,
|
|
63
|
-
* rampDownForceLogoffUsers: false,
|
|
64
|
-
* rampDownWaitTimeMinutes: 45,
|
|
65
|
-
* rampDownNotificationMessage: "Please log of in the next 45 minutes...",
|
|
66
|
-
* rampDownCapacityThresholdPercent: 5,
|
|
67
|
-
* rampDownStopHostsWhen: "ZeroSessions",
|
|
68
|
-
* offPeakStartTime: "22:00",
|
|
69
|
-
* offPeakLoadBalancingAlgorithm: "BreadthFirst",
|
|
70
|
-
* }],
|
|
71
|
-
* }, {
|
|
72
|
-
* dependsOn: [exampleAssignment],
|
|
73
|
-
* });
|
|
74
|
-
* const exampleScalingPlanHostPoolAssociation = new azure.desktopvirtualization.ScalingPlanHostPoolAssociation("example", {
|
|
75
|
-
* hostPoolId: exampleHostPool.id,
|
|
76
|
-
* scalingPlanId: exampleScalingPlan.id,
|
|
77
|
-
* enabled: true,
|
|
78
|
-
* }, {
|
|
79
|
-
* dependsOn: [exampleAssignment],
|
|
80
|
-
* });
|
|
81
|
-
* ```
|
|
82
|
-
*
|
|
83
|
-
* ## API Providers
|
|
84
|
-
*
|
|
85
|
-
* <!-- This section is generated, changes will be overwritten -->
|
|
86
|
-
* This resource uses the following Azure API Providers:
|
|
87
|
-
*
|
|
88
|
-
* * `Microsoft.DesktopVirtualization` - 2024-04-03
|
|
89
|
-
*
|
|
90
11
|
* ## Import
|
|
91
12
|
*
|
|
92
13
|
* Associations between Virtual Desktop Scaling Plans and Virtual Desktop Host Pools can be imported using the `resource id`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scalingPlanHostPoolAssociation.js","sourceRoot":"","sources":["../../desktopvirtualization/scalingPlanHostPoolAssociation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"scalingPlanHostPoolAssociation.js","sourceRoot":"","sources":["../../desktopvirtualization/scalingPlanHostPoolAssociation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;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;IAu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AA7DG,gBAAgB;AACO,2CAAY,GAAG,2FAA2F,CAAC"}
|
package/dynatrace/monitor.d.ts
CHANGED
|
@@ -6,6 +6,39 @@ 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 exampleMonitor = new azure.dynatrace.Monitor("example", {
|
|
18
|
+
* name: "exmpledynatracemonitor",
|
|
19
|
+
* resourceGroupName: example.name,
|
|
20
|
+
* location: test.location,
|
|
21
|
+
* monitoringEnabled: true,
|
|
22
|
+
* marketplaceSubscriptionStatus: "Active",
|
|
23
|
+
* identity: {
|
|
24
|
+
* type: "SystemAssigned",
|
|
25
|
+
* },
|
|
26
|
+
* user: {
|
|
27
|
+
* firstName: "Alice",
|
|
28
|
+
* lastName: "Bobab",
|
|
29
|
+
* email: "alice@microsoft.com",
|
|
30
|
+
* phoneNumber: "123456",
|
|
31
|
+
* country: "westus",
|
|
32
|
+
* },
|
|
33
|
+
* plan: {
|
|
34
|
+
* usageType: "COMMITTED",
|
|
35
|
+
* billingCycle: "MONTHLY",
|
|
36
|
+
* plan: "azureportalintegration_privatepreview@TIDhjdtn7tfnxcy",
|
|
37
|
+
* effectiveDate: "2019-08-30T15:14:33Z",
|
|
38
|
+
* },
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
9
42
|
* ## API Providers
|
|
10
43
|
*
|
|
11
44
|
* <!-- This section is generated, changes will be overwritten -->
|
package/dynatrace/monitor.js
CHANGED
|
@@ -10,6 +10,39 @@ 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 exampleMonitor = new azure.dynatrace.Monitor("example", {
|
|
22
|
+
* name: "exmpledynatracemonitor",
|
|
23
|
+
* resourceGroupName: example.name,
|
|
24
|
+
* location: test.location,
|
|
25
|
+
* monitoringEnabled: true,
|
|
26
|
+
* marketplaceSubscriptionStatus: "Active",
|
|
27
|
+
* identity: {
|
|
28
|
+
* type: "SystemAssigned",
|
|
29
|
+
* },
|
|
30
|
+
* user: {
|
|
31
|
+
* firstName: "Alice",
|
|
32
|
+
* lastName: "Bobab",
|
|
33
|
+
* email: "alice@microsoft.com",
|
|
34
|
+
* phoneNumber: "123456",
|
|
35
|
+
* country: "westus",
|
|
36
|
+
* },
|
|
37
|
+
* plan: {
|
|
38
|
+
* usageType: "COMMITTED",
|
|
39
|
+
* billingCycle: "MONTHLY",
|
|
40
|
+
* plan: "azureportalintegration_privatepreview@TIDhjdtn7tfnxcy",
|
|
41
|
+
* effectiveDate: "2019-08-30T15:14:33Z",
|
|
42
|
+
* },
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
13
46
|
* ## API Providers
|
|
14
47
|
*
|
|
15
48
|
* <!-- This section is generated, changes will be overwritten -->
|
package/dynatrace/monitor.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monitor.js","sourceRoot":"","sources":["../../dynatrace/monitor.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"monitor.js","sourceRoot":"","sources":["../../dynatrace/monitor.ts"],"names":[],"mappings":";AAAA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AC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA1HL,0BA2HC;AA7GG,gBAAgB;AACO,oBAAY,GAAG,iCAAiC,CAAC"}
|
package/dynatrace/tagRules.d.ts
CHANGED
|
@@ -6,6 +6,60 @@ 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 exampleMonitor = new azure.dynatrace.Monitor("example", {
|
|
18
|
+
* name: "exmpledynatracemonitor",
|
|
19
|
+
* resourceGroupName: example.name,
|
|
20
|
+
* location: test.location,
|
|
21
|
+
* monitoringEnabled: true,
|
|
22
|
+
* marketplaceSubscriptionStatus: "Active",
|
|
23
|
+
* identity: {
|
|
24
|
+
* type: "SystemAssigned",
|
|
25
|
+
* },
|
|
26
|
+
* user: {
|
|
27
|
+
* firstName: "Alice",
|
|
28
|
+
* lastName: "Bobab",
|
|
29
|
+
* email: "alice@microsoft.com",
|
|
30
|
+
* phoneNumber: "123456",
|
|
31
|
+
* country: "westus",
|
|
32
|
+
* },
|
|
33
|
+
* plan: {
|
|
34
|
+
* usageType: "COMMITTED",
|
|
35
|
+
* billingCycle: "MONTHLY",
|
|
36
|
+
* plan: "azureportalintegration_privatepreview@TIDhjdtn7tfnxcy",
|
|
37
|
+
* effectiveDate: "2019-08-30T15:14:33Z",
|
|
38
|
+
* },
|
|
39
|
+
* });
|
|
40
|
+
* const exampleTagRules = new azure.dynatrace.TagRules("example", {
|
|
41
|
+
* name: "default",
|
|
42
|
+
* monitorId: testAzurermDynatraceMonitors.id,
|
|
43
|
+
* logRule: {
|
|
44
|
+
* filteringTags: [{
|
|
45
|
+
* name: "Environment",
|
|
46
|
+
* value: "Prod",
|
|
47
|
+
* action: "Include",
|
|
48
|
+
* }],
|
|
49
|
+
* sendAzureActiveDirectoryLogsEnabled: true,
|
|
50
|
+
* sendActivityLogsEnabled: true,
|
|
51
|
+
* sendSubscriptionLogsEnabled: true,
|
|
52
|
+
* },
|
|
53
|
+
* metricRule: {
|
|
54
|
+
* filteringTags: [{
|
|
55
|
+
* name: "Environment",
|
|
56
|
+
* value: "Prod",
|
|
57
|
+
* action: "Include",
|
|
58
|
+
* }],
|
|
59
|
+
* },
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
9
63
|
* ## API Providers
|
|
10
64
|
*
|
|
11
65
|
* <!-- This section is generated, changes will be overwritten -->
|
package/dynatrace/tagRules.js
CHANGED
|
@@ -10,6 +10,60 @@ 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 exampleMonitor = new azure.dynatrace.Monitor("example", {
|
|
22
|
+
* name: "exmpledynatracemonitor",
|
|
23
|
+
* resourceGroupName: example.name,
|
|
24
|
+
* location: test.location,
|
|
25
|
+
* monitoringEnabled: true,
|
|
26
|
+
* marketplaceSubscriptionStatus: "Active",
|
|
27
|
+
* identity: {
|
|
28
|
+
* type: "SystemAssigned",
|
|
29
|
+
* },
|
|
30
|
+
* user: {
|
|
31
|
+
* firstName: "Alice",
|
|
32
|
+
* lastName: "Bobab",
|
|
33
|
+
* email: "alice@microsoft.com",
|
|
34
|
+
* phoneNumber: "123456",
|
|
35
|
+
* country: "westus",
|
|
36
|
+
* },
|
|
37
|
+
* plan: {
|
|
38
|
+
* usageType: "COMMITTED",
|
|
39
|
+
* billingCycle: "MONTHLY",
|
|
40
|
+
* plan: "azureportalintegration_privatepreview@TIDhjdtn7tfnxcy",
|
|
41
|
+
* effectiveDate: "2019-08-30T15:14:33Z",
|
|
42
|
+
* },
|
|
43
|
+
* });
|
|
44
|
+
* const exampleTagRules = new azure.dynatrace.TagRules("example", {
|
|
45
|
+
* name: "default",
|
|
46
|
+
* monitorId: testAzurermDynatraceMonitors.id,
|
|
47
|
+
* logRule: {
|
|
48
|
+
* filteringTags: [{
|
|
49
|
+
* name: "Environment",
|
|
50
|
+
* value: "Prod",
|
|
51
|
+
* action: "Include",
|
|
52
|
+
* }],
|
|
53
|
+
* sendAzureActiveDirectoryLogsEnabled: true,
|
|
54
|
+
* sendActivityLogsEnabled: true,
|
|
55
|
+
* sendSubscriptionLogsEnabled: true,
|
|
56
|
+
* },
|
|
57
|
+
* metricRule: {
|
|
58
|
+
* filteringTags: [{
|
|
59
|
+
* name: "Environment",
|
|
60
|
+
* value: "Prod",
|
|
61
|
+
* action: "Include",
|
|
62
|
+
* }],
|
|
63
|
+
* },
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
13
67
|
* ## API Providers
|
|
14
68
|
*
|
|
15
69
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tagRules.js","sourceRoot":"","sources":["../../dynatrace/tagRules.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"tagRules.js","sourceRoot":"","sources":["../../dynatrace/tagRules.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAAuC,CAAC;YACrD,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA1EL,4BA2EC;AA7DG,gBAAgB;AACO,qBAAY,GAAG,mCAAmC,CAAC"}
|
|
@@ -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":["../../eventhub/queueAuthorizationRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"queueAuthorizationRule.js","sourceRoot":"","sources":["../../eventhub/queueAuthorizationRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,qJAAqJ,CAAC,CAAA;QACtK,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SA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+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 -->
|