@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
|
@@ -17,12 +17,12 @@ import * as outputs from "../types/output";
|
|
|
17
17
|
* policyType: "Custom",
|
|
18
18
|
* displayName: "Example",
|
|
19
19
|
* parameters: ` {
|
|
20
|
-
* "allowedLocations": {
|
|
21
|
-
* "type": "Array",
|
|
22
|
-
* "metadata": {
|
|
23
|
-
* "description": "The list of allowed locations for resources
|
|
24
|
-
* "displayName": "Allowed locations",
|
|
25
|
-
* "strongType": "location"
|
|
20
|
+
* \\"allowedLocations\\": {
|
|
21
|
+
* \\"type\\": \\"Array\\",
|
|
22
|
+
* \\"metadata\\": {
|
|
23
|
+
* \\"description\\": \\"The list of allowed locations for resources.\\",
|
|
24
|
+
* \\"displayName\\": \\"Allowed locations\\",
|
|
25
|
+
* \\"strongType\\": \\"location\\"
|
|
26
26
|
* }
|
|
27
27
|
* }
|
|
28
28
|
* }
|
|
@@ -31,7 +31,7 @@ import * as outputs from "../types/output";
|
|
|
31
31
|
* version: "1.0.*",
|
|
32
32
|
* policyDefinitionId: "/providers/Microsoft.Authorization/policyDefinitions/e765b5de-1225-4ba3-bd56-1ac6695af988",
|
|
33
33
|
* parameterValues: ` {
|
|
34
|
-
* "listOfAllowedLocations": {"value": "[parameters('allowedLocations')]"}
|
|
34
|
+
* \\"listOfAllowedLocations\\": {\\"value\\": \\"[parameters('allowedLocations')]\\"}
|
|
35
35
|
* }
|
|
36
36
|
* `,
|
|
37
37
|
* }],
|
|
@@ -21,12 +21,12 @@ const utilities = require("../utilities");
|
|
|
21
21
|
* policyType: "Custom",
|
|
22
22
|
* displayName: "Example",
|
|
23
23
|
* parameters: ` {
|
|
24
|
-
* "allowedLocations": {
|
|
25
|
-
* "type": "Array",
|
|
26
|
-
* "metadata": {
|
|
27
|
-
* "description": "The list of allowed locations for resources
|
|
28
|
-
* "displayName": "Allowed locations",
|
|
29
|
-
* "strongType": "location"
|
|
24
|
+
* \\"allowedLocations\\": {
|
|
25
|
+
* \\"type\\": \\"Array\\",
|
|
26
|
+
* \\"metadata\\": {
|
|
27
|
+
* \\"description\\": \\"The list of allowed locations for resources.\\",
|
|
28
|
+
* \\"displayName\\": \\"Allowed locations\\",
|
|
29
|
+
* \\"strongType\\": \\"location\\"
|
|
30
30
|
* }
|
|
31
31
|
* }
|
|
32
32
|
* }
|
|
@@ -35,7 +35,7 @@ const utilities = require("../utilities");
|
|
|
35
35
|
* version: "1.0.*",
|
|
36
36
|
* policyDefinitionId: "/providers/Microsoft.Authorization/policyDefinitions/e765b5de-1225-4ba3-bd56-1ac6695af988",
|
|
37
37
|
* parameterValues: ` {
|
|
38
|
-
* "listOfAllowedLocations": {"value": "[parameters('allowedLocations')]"}
|
|
38
|
+
* \\"listOfAllowedLocations\\": {\\"value\\": \\"[parameters('allowedLocations')]\\"}
|
|
39
39
|
* }
|
|
40
40
|
* `,
|
|
41
41
|
* }],
|
|
@@ -2,53 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Allows you to set a user or group as the AD administrator for a PostgreSQL Flexible Server.
|
|
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 current = azure.core.getClientConfig({});
|
|
13
|
-
* const example = current.then(current => azuread.getServicePrincipal({
|
|
14
|
-
* objectId: current.objectId,
|
|
15
|
-
* }));
|
|
16
|
-
* const exampleResourceGroup = new azure.core.ResourceGroup("example", {
|
|
17
|
-
* name: "example-resources",
|
|
18
|
-
* location: "West Europe",
|
|
19
|
-
* });
|
|
20
|
-
* const exampleFlexibleServer = new azure.postgresql.FlexibleServer("example", {
|
|
21
|
-
* name: "example-fs",
|
|
22
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
23
|
-
* location: exampleResourceGroup.location,
|
|
24
|
-
* administratorLogin: "adminTerraform",
|
|
25
|
-
* administratorPassword: "QAZwsx123",
|
|
26
|
-
* storageMb: 32768,
|
|
27
|
-
* version: "12",
|
|
28
|
-
* skuName: "GP_Standard_D2s_v3",
|
|
29
|
-
* zone: "2",
|
|
30
|
-
* authentication: {
|
|
31
|
-
* activeDirectoryAuthEnabled: true,
|
|
32
|
-
* tenantId: current.then(current => current.tenantId),
|
|
33
|
-
* },
|
|
34
|
-
* });
|
|
35
|
-
* const exampleFlexibleServerActiveDirectoryAdministrator = new azure.postgresql.FlexibleServerActiveDirectoryAdministrator("example", {
|
|
36
|
-
* serverName: exampleFlexibleServer.name,
|
|
37
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
38
|
-
* tenantId: current.then(current => current.tenantId),
|
|
39
|
-
* objectId: example.then(example => example.objectId),
|
|
40
|
-
* principalName: example.then(example => example.displayName),
|
|
41
|
-
* principalType: "ServicePrincipal",
|
|
42
|
-
* });
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* ## API Providers
|
|
46
|
-
*
|
|
47
|
-
* <!-- This section is generated, changes will be overwritten -->
|
|
48
|
-
* This resource uses the following Azure API Providers:
|
|
49
|
-
*
|
|
50
|
-
* * `Microsoft.DBforPostgreSQL` - 2024-08-01
|
|
51
|
-
*
|
|
52
5
|
* ## Import
|
|
53
6
|
*
|
|
54
7
|
* A PostgreSQL Flexible Server Active Directory Administrator can be imported using the `resource id`, e.g.
|
|
@@ -8,53 +8,6 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Allows you to set a user or group as the AD administrator for a PostgreSQL Flexible Server.
|
|
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 current = azure.core.getClientConfig({});
|
|
19
|
-
* const example = current.then(current => azuread.getServicePrincipal({
|
|
20
|
-
* objectId: current.objectId,
|
|
21
|
-
* }));
|
|
22
|
-
* const exampleResourceGroup = new azure.core.ResourceGroup("example", {
|
|
23
|
-
* name: "example-resources",
|
|
24
|
-
* location: "West Europe",
|
|
25
|
-
* });
|
|
26
|
-
* const exampleFlexibleServer = new azure.postgresql.FlexibleServer("example", {
|
|
27
|
-
* name: "example-fs",
|
|
28
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
29
|
-
* location: exampleResourceGroup.location,
|
|
30
|
-
* administratorLogin: "adminTerraform",
|
|
31
|
-
* administratorPassword: "QAZwsx123",
|
|
32
|
-
* storageMb: 32768,
|
|
33
|
-
* version: "12",
|
|
34
|
-
* skuName: "GP_Standard_D2s_v3",
|
|
35
|
-
* zone: "2",
|
|
36
|
-
* authentication: {
|
|
37
|
-
* activeDirectoryAuthEnabled: true,
|
|
38
|
-
* tenantId: current.then(current => current.tenantId),
|
|
39
|
-
* },
|
|
40
|
-
* });
|
|
41
|
-
* const exampleFlexibleServerActiveDirectoryAdministrator = new azure.postgresql.FlexibleServerActiveDirectoryAdministrator("example", {
|
|
42
|
-
* serverName: exampleFlexibleServer.name,
|
|
43
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
44
|
-
* tenantId: current.then(current => current.tenantId),
|
|
45
|
-
* objectId: example.then(example => example.objectId),
|
|
46
|
-
* principalName: example.then(example => example.displayName),
|
|
47
|
-
* principalType: "ServicePrincipal",
|
|
48
|
-
* });
|
|
49
|
-
* ```
|
|
50
|
-
*
|
|
51
|
-
* ## API Providers
|
|
52
|
-
*
|
|
53
|
-
* <!-- This section is generated, changes will be overwritten -->
|
|
54
|
-
* This resource uses the following Azure API Providers:
|
|
55
|
-
*
|
|
56
|
-
* * `Microsoft.DBforPostgreSQL` - 2024-08-01
|
|
57
|
-
*
|
|
58
11
|
* ## Import
|
|
59
12
|
*
|
|
60
13
|
* A PostgreSQL Flexible Server Active Directory Administrator can be imported using the `resource id`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flexibleServerActiveDirectoryAdministrator.js","sourceRoot":"","sources":["../../postgresql/flexibleServerActiveDirectoryAdministrator.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"flexibleServerActiveDirectoryAdministrator.js","sourceRoot":"","sources":["../../postgresql/flexibleServerActiveDirectoryAdministrator.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,MAAa,0CAA2C,SAAQ,MAAM,CAAC,cAAc;IACjF;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuD,EAAE,IAAmC;QACrJ,OAAO,IAAI,0CAA0C,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjG,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,0CAA0C,CAAC,YAAY,CAAC;IAC3F,CAAC;IAmCD,YAAY,IAAY,EAAE,WAA8G,EAAE,IAAmC;QACzK,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0E,CAAC;YACzF,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,EAAE,aAAa,CAAC;YACvD,cAA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tD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0CAA0C,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/F,CAAC;;AArGL,gGAsGC;AAxFG,gBAAgB;AACO,uDAAY,GAAG,wGAAwG,CAAC"}
|
|
@@ -8,6 +8,70 @@ import * as outputs from "../types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
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: "example-resources",
|
|
17
|
+
* location: "West Europe",
|
|
18
|
+
* });
|
|
19
|
+
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
20
|
+
* name: "example-network",
|
|
21
|
+
* resourceGroupName: example.name,
|
|
22
|
+
* location: example.location,
|
|
23
|
+
* addressSpaces: ["10.5.0.0/16"],
|
|
24
|
+
* });
|
|
25
|
+
* const exampleSubnet = new azure.network.Subnet("example", {
|
|
26
|
+
* name: "example-subnet",
|
|
27
|
+
* resourceGroupName: example.name,
|
|
28
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
29
|
+
* addressPrefixes: ["10.5.1.0/24"],
|
|
30
|
+
* enforcePrivateLinkServiceNetworkPolicies: true,
|
|
31
|
+
* });
|
|
32
|
+
* const examplePublicIp = new azure.network.PublicIp("example", {
|
|
33
|
+
* name: "example-api",
|
|
34
|
+
* sku: "Standard",
|
|
35
|
+
* location: example.location,
|
|
36
|
+
* resourceGroupName: example.name,
|
|
37
|
+
* allocationMethod: "Static",
|
|
38
|
+
* });
|
|
39
|
+
* const exampleLoadBalancer = new azure.lb.LoadBalancer("example", {
|
|
40
|
+
* name: "example-lb",
|
|
41
|
+
* sku: "Standard",
|
|
42
|
+
* location: example.location,
|
|
43
|
+
* resourceGroupName: example.name,
|
|
44
|
+
* frontendIpConfigurations: [{
|
|
45
|
+
* name: examplePublicIp.name,
|
|
46
|
+
* publicIpAddressId: examplePublicIp.id,
|
|
47
|
+
* }],
|
|
48
|
+
* });
|
|
49
|
+
* const exampleLinkService = new azure.privatedns.LinkService("example", {
|
|
50
|
+
* name: "example-privatelink",
|
|
51
|
+
* resourceGroupName: example.name,
|
|
52
|
+
* location: example.location,
|
|
53
|
+
* autoApprovalSubscriptionIds: ["00000000-0000-0000-0000-000000000000"],
|
|
54
|
+
* visibilitySubscriptionIds: ["00000000-0000-0000-0000-000000000000"],
|
|
55
|
+
* loadBalancerFrontendIpConfigurationIds: [exampleLoadBalancer.frontendIpConfigurations.apply(frontendIpConfigurations => frontendIpConfigurations?.[0]?.id)],
|
|
56
|
+
* natIpConfigurations: [
|
|
57
|
+
* {
|
|
58
|
+
* name: "primary",
|
|
59
|
+
* privateIpAddress: "10.5.1.17",
|
|
60
|
+
* privateIpAddressVersion: "IPv4",
|
|
61
|
+
* subnetId: exampleSubnet.id,
|
|
62
|
+
* primary: true,
|
|
63
|
+
* },
|
|
64
|
+
* {
|
|
65
|
+
* name: "secondary",
|
|
66
|
+
* privateIpAddress: "10.5.1.18",
|
|
67
|
+
* privateIpAddressVersion: "IPv4",
|
|
68
|
+
* subnetId: exampleSubnet.id,
|
|
69
|
+
* primary: false,
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* });
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
11
75
|
* ## API Providers
|
|
12
76
|
*
|
|
13
77
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -12,6 +12,70 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
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: "example-resources",
|
|
21
|
+
* location: "West Europe",
|
|
22
|
+
* });
|
|
23
|
+
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
24
|
+
* name: "example-network",
|
|
25
|
+
* resourceGroupName: example.name,
|
|
26
|
+
* location: example.location,
|
|
27
|
+
* addressSpaces: ["10.5.0.0/16"],
|
|
28
|
+
* });
|
|
29
|
+
* const exampleSubnet = new azure.network.Subnet("example", {
|
|
30
|
+
* name: "example-subnet",
|
|
31
|
+
* resourceGroupName: example.name,
|
|
32
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
33
|
+
* addressPrefixes: ["10.5.1.0/24"],
|
|
34
|
+
* enforcePrivateLinkServiceNetworkPolicies: true,
|
|
35
|
+
* });
|
|
36
|
+
* const examplePublicIp = new azure.network.PublicIp("example", {
|
|
37
|
+
* name: "example-api",
|
|
38
|
+
* sku: "Standard",
|
|
39
|
+
* location: example.location,
|
|
40
|
+
* resourceGroupName: example.name,
|
|
41
|
+
* allocationMethod: "Static",
|
|
42
|
+
* });
|
|
43
|
+
* const exampleLoadBalancer = new azure.lb.LoadBalancer("example", {
|
|
44
|
+
* name: "example-lb",
|
|
45
|
+
* sku: "Standard",
|
|
46
|
+
* location: example.location,
|
|
47
|
+
* resourceGroupName: example.name,
|
|
48
|
+
* frontendIpConfigurations: [{
|
|
49
|
+
* name: examplePublicIp.name,
|
|
50
|
+
* publicIpAddressId: examplePublicIp.id,
|
|
51
|
+
* }],
|
|
52
|
+
* });
|
|
53
|
+
* const exampleLinkService = new azure.privatedns.LinkService("example", {
|
|
54
|
+
* name: "example-privatelink",
|
|
55
|
+
* resourceGroupName: example.name,
|
|
56
|
+
* location: example.location,
|
|
57
|
+
* autoApprovalSubscriptionIds: ["00000000-0000-0000-0000-000000000000"],
|
|
58
|
+
* visibilitySubscriptionIds: ["00000000-0000-0000-0000-000000000000"],
|
|
59
|
+
* loadBalancerFrontendIpConfigurationIds: [exampleLoadBalancer.frontendIpConfigurations.apply(frontendIpConfigurations => frontendIpConfigurations?.[0]?.id)],
|
|
60
|
+
* natIpConfigurations: [
|
|
61
|
+
* {
|
|
62
|
+
* name: "primary",
|
|
63
|
+
* privateIpAddress: "10.5.1.17",
|
|
64
|
+
* privateIpAddressVersion: "IPv4",
|
|
65
|
+
* subnetId: exampleSubnet.id,
|
|
66
|
+
* primary: true,
|
|
67
|
+
* },
|
|
68
|
+
* {
|
|
69
|
+
* name: "secondary",
|
|
70
|
+
* privateIpAddress: "10.5.1.18",
|
|
71
|
+
* privateIpAddressVersion: "IPv4",
|
|
72
|
+
* subnetId: exampleSubnet.id,
|
|
73
|
+
* primary: false,
|
|
74
|
+
* },
|
|
75
|
+
* ],
|
|
76
|
+
* });
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
15
79
|
* ## API Providers
|
|
16
80
|
*
|
|
17
81
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkService.js","sourceRoot":"","sources":["../../privatedns/linkService.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"linkService.js","sourceRoot":"","sources":["../../privatedns/linkService.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;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AG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;YAC9E,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA/HL,kCAgIC;AAlHG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -4,6 +4,87 @@ 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 current = azure.core.getSubscription({});
|
|
12
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
13
|
+
* name: "example-PEASGAsso",
|
|
14
|
+
* location: "West Europe",
|
|
15
|
+
* });
|
|
16
|
+
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
17
|
+
* name: "examplevnet",
|
|
18
|
+
* resourceGroupName: example.name,
|
|
19
|
+
* location: example.location,
|
|
20
|
+
* addressSpaces: ["10.5.0.0/16"],
|
|
21
|
+
* });
|
|
22
|
+
* const service = new azure.network.Subnet("service", {
|
|
23
|
+
* name: "examplenetservice",
|
|
24
|
+
* resourceGroupName: example.name,
|
|
25
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
26
|
+
* addressPrefixes: ["10.5.1.0/24"],
|
|
27
|
+
* enforcePrivateLinkServiceNetworkPolicies: true,
|
|
28
|
+
* });
|
|
29
|
+
* const endpoint = new azure.network.Subnet("endpoint", {
|
|
30
|
+
* name: "examplenetendpoint",
|
|
31
|
+
* resourceGroupName: example.name,
|
|
32
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
33
|
+
* addressPrefixes: ["10.5.2.0/24"],
|
|
34
|
+
* enforcePrivateLinkEndpointNetworkPolicies: true,
|
|
35
|
+
* });
|
|
36
|
+
* const examplePublicIp = new azure.network.PublicIp("example", {
|
|
37
|
+
* name: "examplepip",
|
|
38
|
+
* sku: "Standard",
|
|
39
|
+
* location: example.location,
|
|
40
|
+
* resourceGroupName: example.name,
|
|
41
|
+
* allocationMethod: "Static",
|
|
42
|
+
* });
|
|
43
|
+
* const exampleLoadBalancer = new azure.lb.LoadBalancer("example", {
|
|
44
|
+
* name: "examplelb",
|
|
45
|
+
* sku: "Standard",
|
|
46
|
+
* location: example.location,
|
|
47
|
+
* resourceGroupName: example.name,
|
|
48
|
+
* frontendIpConfigurations: [{
|
|
49
|
+
* name: examplePublicIp.name,
|
|
50
|
+
* publicIpAddressId: examplePublicIp.id,
|
|
51
|
+
* }],
|
|
52
|
+
* });
|
|
53
|
+
* const exampleLinkService = new azure.privatedns.LinkService("example", {
|
|
54
|
+
* name: "examplePLS",
|
|
55
|
+
* location: example.location,
|
|
56
|
+
* resourceGroupName: example.name,
|
|
57
|
+
* autoApprovalSubscriptionIds: [current.then(current => current.subscriptionId)],
|
|
58
|
+
* visibilitySubscriptionIds: [current.then(current => current.subscriptionId)],
|
|
59
|
+
* natIpConfigurations: [{
|
|
60
|
+
* name: "primaryIpConfiguration",
|
|
61
|
+
* primary: true,
|
|
62
|
+
* subnetId: service.id,
|
|
63
|
+
* }],
|
|
64
|
+
* loadBalancerFrontendIpConfigurationIds: [exampleLoadBalancer.frontendIpConfigurations.apply(frontendIpConfigurations => frontendIpConfigurations?.[0]?.id)],
|
|
65
|
+
* });
|
|
66
|
+
* const exampleEndpoint = new azure.privatelink.Endpoint("example", {
|
|
67
|
+
* name: "example-privatelink",
|
|
68
|
+
* resourceGroupName: example.name,
|
|
69
|
+
* location: example.location,
|
|
70
|
+
* subnetId: endpoint.id,
|
|
71
|
+
* privateServiceConnection: {
|
|
72
|
+
* name: exampleLinkService.name,
|
|
73
|
+
* isManualConnection: false,
|
|
74
|
+
* privateConnectionResourceId: exampleLinkService.id,
|
|
75
|
+
* },
|
|
76
|
+
* });
|
|
77
|
+
* const exampleApplicationSecurityGroup = new azure.network.ApplicationSecurityGroup("example", {
|
|
78
|
+
* name: "example",
|
|
79
|
+
* location: example.location,
|
|
80
|
+
* resourceGroupName: example.name,
|
|
81
|
+
* });
|
|
82
|
+
* const exampleApplicationSecurityGroupAssociation = new azure.privatelink.ApplicationSecurityGroupAssociation("example", {
|
|
83
|
+
* privateEndpointId: exampleEndpoint.id,
|
|
84
|
+
* applicationSecurityGroupId: exampleApplicationSecurityGroup.id,
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
7
88
|
* ## API Providers
|
|
8
89
|
*
|
|
9
90
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -10,6 +10,87 @@ 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 current = azure.core.getSubscription({});
|
|
18
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
19
|
+
* name: "example-PEASGAsso",
|
|
20
|
+
* location: "West Europe",
|
|
21
|
+
* });
|
|
22
|
+
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
23
|
+
* name: "examplevnet",
|
|
24
|
+
* resourceGroupName: example.name,
|
|
25
|
+
* location: example.location,
|
|
26
|
+
* addressSpaces: ["10.5.0.0/16"],
|
|
27
|
+
* });
|
|
28
|
+
* const service = new azure.network.Subnet("service", {
|
|
29
|
+
* name: "examplenetservice",
|
|
30
|
+
* resourceGroupName: example.name,
|
|
31
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
32
|
+
* addressPrefixes: ["10.5.1.0/24"],
|
|
33
|
+
* enforcePrivateLinkServiceNetworkPolicies: true,
|
|
34
|
+
* });
|
|
35
|
+
* const endpoint = new azure.network.Subnet("endpoint", {
|
|
36
|
+
* name: "examplenetendpoint",
|
|
37
|
+
* resourceGroupName: example.name,
|
|
38
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
39
|
+
* addressPrefixes: ["10.5.2.0/24"],
|
|
40
|
+
* enforcePrivateLinkEndpointNetworkPolicies: true,
|
|
41
|
+
* });
|
|
42
|
+
* const examplePublicIp = new azure.network.PublicIp("example", {
|
|
43
|
+
* name: "examplepip",
|
|
44
|
+
* sku: "Standard",
|
|
45
|
+
* location: example.location,
|
|
46
|
+
* resourceGroupName: example.name,
|
|
47
|
+
* allocationMethod: "Static",
|
|
48
|
+
* });
|
|
49
|
+
* const exampleLoadBalancer = new azure.lb.LoadBalancer("example", {
|
|
50
|
+
* name: "examplelb",
|
|
51
|
+
* sku: "Standard",
|
|
52
|
+
* location: example.location,
|
|
53
|
+
* resourceGroupName: example.name,
|
|
54
|
+
* frontendIpConfigurations: [{
|
|
55
|
+
* name: examplePublicIp.name,
|
|
56
|
+
* publicIpAddressId: examplePublicIp.id,
|
|
57
|
+
* }],
|
|
58
|
+
* });
|
|
59
|
+
* const exampleLinkService = new azure.privatedns.LinkService("example", {
|
|
60
|
+
* name: "examplePLS",
|
|
61
|
+
* location: example.location,
|
|
62
|
+
* resourceGroupName: example.name,
|
|
63
|
+
* autoApprovalSubscriptionIds: [current.then(current => current.subscriptionId)],
|
|
64
|
+
* visibilitySubscriptionIds: [current.then(current => current.subscriptionId)],
|
|
65
|
+
* natIpConfigurations: [{
|
|
66
|
+
* name: "primaryIpConfiguration",
|
|
67
|
+
* primary: true,
|
|
68
|
+
* subnetId: service.id,
|
|
69
|
+
* }],
|
|
70
|
+
* loadBalancerFrontendIpConfigurationIds: [exampleLoadBalancer.frontendIpConfigurations.apply(frontendIpConfigurations => frontendIpConfigurations?.[0]?.id)],
|
|
71
|
+
* });
|
|
72
|
+
* const exampleEndpoint = new azure.privatelink.Endpoint("example", {
|
|
73
|
+
* name: "example-privatelink",
|
|
74
|
+
* resourceGroupName: example.name,
|
|
75
|
+
* location: example.location,
|
|
76
|
+
* subnetId: endpoint.id,
|
|
77
|
+
* privateServiceConnection: {
|
|
78
|
+
* name: exampleLinkService.name,
|
|
79
|
+
* isManualConnection: false,
|
|
80
|
+
* privateConnectionResourceId: exampleLinkService.id,
|
|
81
|
+
* },
|
|
82
|
+
* });
|
|
83
|
+
* const exampleApplicationSecurityGroup = new azure.network.ApplicationSecurityGroup("example", {
|
|
84
|
+
* name: "example",
|
|
85
|
+
* location: example.location,
|
|
86
|
+
* resourceGroupName: example.name,
|
|
87
|
+
* });
|
|
88
|
+
* const exampleApplicationSecurityGroupAssociation = new azure.privatelink.ApplicationSecurityGroupAssociation("example", {
|
|
89
|
+
* privateEndpointId: exampleEndpoint.id,
|
|
90
|
+
* applicationSecurityGroupId: exampleApplicationSecurityGroup.id,
|
|
91
|
+
* });
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
13
94
|
* ## API Providers
|
|
14
95
|
*
|
|
15
96
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicationSecurityGroupAssociation.js","sourceRoot":"","sources":["../../privatelink/applicationSecurityGroupAssociation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"applicationSecurityGroupAssociation.js","sourceRoot":"","sources":["../../privatelink/applicationSecurityGroupAssociation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;YACD,cAAc,CAAC,4BAA4B,CAAC,GAAG,IAAI,EAAE,0BAA0B,CAAC;YAChF,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mCAAmC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxF,CAAC;;AAjEL,kFAkEC;AApDG,gBAAgB;AACO,gDAAY,GAAG,2FAA2F,CAAC"}
|
|
@@ -8,6 +8,75 @@ import * as outputs from "../types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
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: "example-resources",
|
|
17
|
+
* location: "West Europe",
|
|
18
|
+
* });
|
|
19
|
+
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
20
|
+
* name: "example-network",
|
|
21
|
+
* addressSpaces: ["10.0.0.0/16"],
|
|
22
|
+
* location: example.location,
|
|
23
|
+
* resourceGroupName: example.name,
|
|
24
|
+
* });
|
|
25
|
+
* const service = new azure.network.Subnet("service", {
|
|
26
|
+
* name: "service",
|
|
27
|
+
* resourceGroupName: example.name,
|
|
28
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
29
|
+
* addressPrefixes: ["10.0.1.0/24"],
|
|
30
|
+
* enforcePrivateLinkServiceNetworkPolicies: true,
|
|
31
|
+
* });
|
|
32
|
+
* const endpoint = new azure.network.Subnet("endpoint", {
|
|
33
|
+
* name: "endpoint",
|
|
34
|
+
* resourceGroupName: example.name,
|
|
35
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
36
|
+
* addressPrefixes: ["10.0.2.0/24"],
|
|
37
|
+
* enforcePrivateLinkEndpointNetworkPolicies: true,
|
|
38
|
+
* });
|
|
39
|
+
* const examplePublicIp = new azure.network.PublicIp("example", {
|
|
40
|
+
* name: "example-pip",
|
|
41
|
+
* sku: "Standard",
|
|
42
|
+
* location: example.location,
|
|
43
|
+
* resourceGroupName: example.name,
|
|
44
|
+
* allocationMethod: "Static",
|
|
45
|
+
* });
|
|
46
|
+
* const exampleLoadBalancer = new azure.lb.LoadBalancer("example", {
|
|
47
|
+
* name: "example-lb",
|
|
48
|
+
* sku: "Standard",
|
|
49
|
+
* location: example.location,
|
|
50
|
+
* resourceGroupName: example.name,
|
|
51
|
+
* frontendIpConfigurations: [{
|
|
52
|
+
* name: examplePublicIp.name,
|
|
53
|
+
* publicIpAddressId: examplePublicIp.id,
|
|
54
|
+
* }],
|
|
55
|
+
* });
|
|
56
|
+
* const exampleLinkService = new azure.privatedns.LinkService("example", {
|
|
57
|
+
* name: "example-privatelink",
|
|
58
|
+
* location: example.location,
|
|
59
|
+
* resourceGroupName: example.name,
|
|
60
|
+
* natIpConfigurations: [{
|
|
61
|
+
* name: examplePublicIp.name,
|
|
62
|
+
* primary: true,
|
|
63
|
+
* subnetId: service.id,
|
|
64
|
+
* }],
|
|
65
|
+
* loadBalancerFrontendIpConfigurationIds: [exampleLoadBalancer.frontendIpConfigurations.apply(frontendIpConfigurations => frontendIpConfigurations?.[0]?.id)],
|
|
66
|
+
* });
|
|
67
|
+
* const exampleEndpoint = new azure.privatelink.Endpoint("example", {
|
|
68
|
+
* name: "example-endpoint",
|
|
69
|
+
* location: example.location,
|
|
70
|
+
* resourceGroupName: example.name,
|
|
71
|
+
* subnetId: endpoint.id,
|
|
72
|
+
* privateServiceConnection: {
|
|
73
|
+
* name: "example-privateserviceconnection",
|
|
74
|
+
* privateConnectionResourceId: exampleLinkService.id,
|
|
75
|
+
* isManualConnection: false,
|
|
76
|
+
* },
|
|
77
|
+
* });
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
11
80
|
* Using a Private Link Service Alias with existing resources:
|
|
12
81
|
*
|
|
13
82
|
* ```typescript
|