@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
|
@@ -4,6 +4,90 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Manages a Microsoft SQL Virtual Machine Availability Group Listener.
|
|
6
6
|
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as azure from "@pulumi/azure";
|
|
12
|
+
*
|
|
13
|
+
* const example = azure.network.getSubnet({
|
|
14
|
+
* name: "examplesubnet",
|
|
15
|
+
* virtualNetworkName: "examplevnet",
|
|
16
|
+
* resourceGroupName: "example-resources",
|
|
17
|
+
* });
|
|
18
|
+
* const exampleGetLB = azure.lb.getLB({
|
|
19
|
+
* name: "example-lb",
|
|
20
|
+
* resourceGroupName: "example-resources",
|
|
21
|
+
* });
|
|
22
|
+
* const exampleGetVirtualMachine = (new Array(2)).map((_, i) => i).map(__index => (azure.compute.getVirtualMachine({
|
|
23
|
+
* name: "example-vm",
|
|
24
|
+
* resourceGroupName: "example-resources",
|
|
25
|
+
* })));
|
|
26
|
+
* const exampleVirtualMachineGroup = new azure.mssql.VirtualMachineGroup("example", {
|
|
27
|
+
* name: "examplegroup",
|
|
28
|
+
* resourceGroupName: "example-resources",
|
|
29
|
+
* location: "West Europe",
|
|
30
|
+
* sqlImageOffer: "SQL2017-WS2016",
|
|
31
|
+
* sqlImageSku: "Developer",
|
|
32
|
+
* wsfcDomainProfile: {
|
|
33
|
+
* fqdn: "testdomain.com",
|
|
34
|
+
* clusterSubnetType: "SingleSubnet",
|
|
35
|
+
* },
|
|
36
|
+
* });
|
|
37
|
+
* const exampleVirtualMachine: azure.mssql.VirtualMachine[] = [];
|
|
38
|
+
* for (const range = {value: 0}; range.value < 2; range.value++) {
|
|
39
|
+
* exampleVirtualMachine.push(new azure.mssql.VirtualMachine(`example-${range.value}`, {
|
|
40
|
+
* virtualMachineId: exampleGetVirtualMachine[range.value].then(exampleGetVirtualMachine => exampleGetVirtualMachine.id),
|
|
41
|
+
* sqlLicenseType: "PAYG",
|
|
42
|
+
* sqlVirtualMachineGroupId: exampleVirtualMachineGroup.id,
|
|
43
|
+
* wsfcDomainCredential: {
|
|
44
|
+
* clusterBootstrapAccountPassword: "P@ssw0rd1234!",
|
|
45
|
+
* clusterOperatorAccountPassword: "P@ssw0rd1234!",
|
|
46
|
+
* sqlServiceAccountPassword: "P@ssw0rd1234!",
|
|
47
|
+
* },
|
|
48
|
+
* }));
|
|
49
|
+
* }
|
|
50
|
+
* const exampleVirtualMachineAvailabilityGroupListener = new azure.mssql.VirtualMachineAvailabilityGroupListener("example", {
|
|
51
|
+
* name: "listener1",
|
|
52
|
+
* availabilityGroupName: "availabilitygroup1",
|
|
53
|
+
* port: 1433,
|
|
54
|
+
* sqlVirtualMachineGroupId: exampleVirtualMachineGroup.id,
|
|
55
|
+
* loadBalancerConfiguration: {
|
|
56
|
+
* loadBalancerId: exampleGetLB.then(exampleGetLB => exampleGetLB.id),
|
|
57
|
+
* privateIpAddress: "10.0.2.11",
|
|
58
|
+
* probePort: 51572,
|
|
59
|
+
* subnetId: example.then(example => example.id),
|
|
60
|
+
* sqlVirtualMachineIds: [
|
|
61
|
+
* exampleVirtualMachine[0].id,
|
|
62
|
+
* exampleVirtualMachine[1].id,
|
|
63
|
+
* ],
|
|
64
|
+
* },
|
|
65
|
+
* replicas: [
|
|
66
|
+
* {
|
|
67
|
+
* sqlVirtualMachineId: exampleVirtualMachine[0].id,
|
|
68
|
+
* role: "Primary",
|
|
69
|
+
* commit: "Synchronous_Commit",
|
|
70
|
+
* failover: "Automatic",
|
|
71
|
+
* readableSecondary: "All",
|
|
72
|
+
* },
|
|
73
|
+
* {
|
|
74
|
+
* sqlVirtualMachineId: exampleVirtualMachine[1].id,
|
|
75
|
+
* role: "Secondary",
|
|
76
|
+
* commit: "Asynchronous_Commit",
|
|
77
|
+
* failover: "Manual",
|
|
78
|
+
* readableSecondary: "No",
|
|
79
|
+
* },
|
|
80
|
+
* ],
|
|
81
|
+
* });
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* ## API Providers
|
|
85
|
+
*
|
|
86
|
+
* <!-- This section is generated, changes will be overwritten -->
|
|
87
|
+
* This resource uses the following Azure API Providers:
|
|
88
|
+
*
|
|
89
|
+
* * `Microsoft.SqlVirtualMachine` - 2023-10-01
|
|
90
|
+
*
|
|
7
91
|
* ## Import
|
|
8
92
|
*
|
|
9
93
|
* Microsoft SQL Virtual Machine Availability Group Listeners can be imported using the `resource id`, e.g.
|
|
@@ -8,6 +8,90 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Manages a Microsoft SQL Virtual Machine Availability Group Listener.
|
|
10
10
|
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const example = azure.network.getSubnet({
|
|
18
|
+
* name: "examplesubnet",
|
|
19
|
+
* virtualNetworkName: "examplevnet",
|
|
20
|
+
* resourceGroupName: "example-resources",
|
|
21
|
+
* });
|
|
22
|
+
* const exampleGetLB = azure.lb.getLB({
|
|
23
|
+
* name: "example-lb",
|
|
24
|
+
* resourceGroupName: "example-resources",
|
|
25
|
+
* });
|
|
26
|
+
* const exampleGetVirtualMachine = (new Array(2)).map((_, i) => i).map(__index => (azure.compute.getVirtualMachine({
|
|
27
|
+
* name: "example-vm",
|
|
28
|
+
* resourceGroupName: "example-resources",
|
|
29
|
+
* })));
|
|
30
|
+
* const exampleVirtualMachineGroup = new azure.mssql.VirtualMachineGroup("example", {
|
|
31
|
+
* name: "examplegroup",
|
|
32
|
+
* resourceGroupName: "example-resources",
|
|
33
|
+
* location: "West Europe",
|
|
34
|
+
* sqlImageOffer: "SQL2017-WS2016",
|
|
35
|
+
* sqlImageSku: "Developer",
|
|
36
|
+
* wsfcDomainProfile: {
|
|
37
|
+
* fqdn: "testdomain.com",
|
|
38
|
+
* clusterSubnetType: "SingleSubnet",
|
|
39
|
+
* },
|
|
40
|
+
* });
|
|
41
|
+
* const exampleVirtualMachine: azure.mssql.VirtualMachine[] = [];
|
|
42
|
+
* for (const range = {value: 0}; range.value < 2; range.value++) {
|
|
43
|
+
* exampleVirtualMachine.push(new azure.mssql.VirtualMachine(`example-${range.value}`, {
|
|
44
|
+
* virtualMachineId: exampleGetVirtualMachine[range.value].then(exampleGetVirtualMachine => exampleGetVirtualMachine.id),
|
|
45
|
+
* sqlLicenseType: "PAYG",
|
|
46
|
+
* sqlVirtualMachineGroupId: exampleVirtualMachineGroup.id,
|
|
47
|
+
* wsfcDomainCredential: {
|
|
48
|
+
* clusterBootstrapAccountPassword: "P@ssw0rd1234!",
|
|
49
|
+
* clusterOperatorAccountPassword: "P@ssw0rd1234!",
|
|
50
|
+
* sqlServiceAccountPassword: "P@ssw0rd1234!",
|
|
51
|
+
* },
|
|
52
|
+
* }));
|
|
53
|
+
* }
|
|
54
|
+
* const exampleVirtualMachineAvailabilityGroupListener = new azure.mssql.VirtualMachineAvailabilityGroupListener("example", {
|
|
55
|
+
* name: "listener1",
|
|
56
|
+
* availabilityGroupName: "availabilitygroup1",
|
|
57
|
+
* port: 1433,
|
|
58
|
+
* sqlVirtualMachineGroupId: exampleVirtualMachineGroup.id,
|
|
59
|
+
* loadBalancerConfiguration: {
|
|
60
|
+
* loadBalancerId: exampleGetLB.then(exampleGetLB => exampleGetLB.id),
|
|
61
|
+
* privateIpAddress: "10.0.2.11",
|
|
62
|
+
* probePort: 51572,
|
|
63
|
+
* subnetId: example.then(example => example.id),
|
|
64
|
+
* sqlVirtualMachineIds: [
|
|
65
|
+
* exampleVirtualMachine[0].id,
|
|
66
|
+
* exampleVirtualMachine[1].id,
|
|
67
|
+
* ],
|
|
68
|
+
* },
|
|
69
|
+
* replicas: [
|
|
70
|
+
* {
|
|
71
|
+
* sqlVirtualMachineId: exampleVirtualMachine[0].id,
|
|
72
|
+
* role: "Primary",
|
|
73
|
+
* commit: "Synchronous_Commit",
|
|
74
|
+
* failover: "Automatic",
|
|
75
|
+
* readableSecondary: "All",
|
|
76
|
+
* },
|
|
77
|
+
* {
|
|
78
|
+
* sqlVirtualMachineId: exampleVirtualMachine[1].id,
|
|
79
|
+
* role: "Secondary",
|
|
80
|
+
* commit: "Asynchronous_Commit",
|
|
81
|
+
* failover: "Manual",
|
|
82
|
+
* readableSecondary: "No",
|
|
83
|
+
* },
|
|
84
|
+
* ],
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* ## API Providers
|
|
89
|
+
*
|
|
90
|
+
* <!-- This section is generated, changes will be overwritten -->
|
|
91
|
+
* This resource uses the following Azure API Providers:
|
|
92
|
+
*
|
|
93
|
+
* * `Microsoft.SqlVirtualMachine` - 2023-10-01
|
|
94
|
+
*
|
|
11
95
|
* ## Import
|
|
12
96
|
*
|
|
13
97
|
* Microsoft SQL Virtual Machine Availability Group Listeners can be imported using the `resource id`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtualMachineAvailabilityGroupListener.js","sourceRoot":"","sources":["../../mssql/virtualMachineAvailabilityGroupListener.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"virtualMachineAvailabilityGroupListener.js","sourceRoot":"","sources":["../../mssql/virtualMachineAvailabilityGroupListener.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8FG;AACH,MAAa,uCAAwC,SAAQ,MAAM,CAAC,cAAc;IAC9E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoD,EAAE,IAAmC;QAClJ,OAAO,IAAI,uCAAuC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9F,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,uCAAuC,CAAC,YAAY,CAAC;IACxF,CAAC;IAyCD,YAAY,IAAY,EAAE,WAAwG,EAAE,IAAmC;QACnK,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuE,CAAC;YACtF,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,EAAE,qBAAqB,CAAC;YACvE,cAAc,CAAC,2BAA2B,CAAC,GAAG,KAAK,EAAE,yBAAyB,CAAC;YAC/E,cAAc,CAAC,6BAA6B,CAAC,GAAG,KAAK,EAAE,2BAA2B,CAAC;YACnF,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,0BAA0B,CAAC,GAAG,KAAK,EAAE,wBAAwB,CAAC;SAChF;aAAM;YACH,MAAM,IAAI,GAAG,WAAsE,CAAC;YACpF,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,IAAI,EAAE,wBAAwB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;aAC3E;YACD,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;YAC9E,cAAc,CAAC,6BAA6B,CAAC,GAAG,IAAI,EAAE,2BAA2B,CAAC;YAClF,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uCAAuC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5F,CAAC;;AAjGL,0FAkGC;AApFG,gBAAgB;AACO,oDAAY,GAAG,6FAA6F,CAAC"}
|
|
@@ -9,7 +9,7 @@ import * as outputs from "../types/output";
|
|
|
9
9
|
* import * as azure from "@pulumi/azure";
|
|
10
10
|
* import * as random from "@pulumi/random";
|
|
11
11
|
*
|
|
12
|
-
* const example = new random.
|
|
12
|
+
* const example = new random.index.String("example", {
|
|
13
13
|
* length: 12,
|
|
14
14
|
* special: true,
|
|
15
15
|
* });
|
|
@@ -13,7 +13,7 @@ const utilities = require("../utilities");
|
|
|
13
13
|
* import * as azure from "@pulumi/azure";
|
|
14
14
|
* import * as random from "@pulumi/random";
|
|
15
15
|
*
|
|
16
|
-
* const example = new random.
|
|
16
|
+
* const example = new random.index.String("example", {
|
|
17
17
|
* length: 12,
|
|
18
18
|
* special: true,
|
|
19
19
|
* });
|
|
@@ -1,6 +1,34 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Use this data source to access information about an existing Virtual Wan.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
*
|
|
11
|
+
* const example = azure.network.getVirtualWan({
|
|
12
|
+
* name: "existing",
|
|
13
|
+
* resourceGroupName: "existing",
|
|
14
|
+
* });
|
|
15
|
+
* export const id = example.then(example => example.id);
|
|
16
|
+
* export const allowBranchToBranchTraffic = example.then(example => example.allowBranchToBranchTraffic);
|
|
17
|
+
* export const disableVpnEncryption = example.then(example => example.disableVpnEncryption);
|
|
18
|
+
* export const location = example.then(example => example.location);
|
|
19
|
+
* export const office365LocalBreakoutCategory = example.then(example => example.office365LocalBreakoutCategory);
|
|
20
|
+
* export const sku = example.then(example => example.sku);
|
|
21
|
+
* export const tags = example.then(example => example.tags);
|
|
22
|
+
* export const virtualHubs = example.then(example => example.virtualHubs);
|
|
23
|
+
* export const vpnSites = example.then(example => example.vpnSites);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## API Providers
|
|
27
|
+
*
|
|
28
|
+
* <!-- This section is generated, changes will be overwritten -->
|
|
29
|
+
* This data source uses the following Azure API Providers:
|
|
30
|
+
*
|
|
31
|
+
* * `Microsoft.Network` - 2024-05-01
|
|
4
32
|
*/
|
|
5
33
|
export declare function getVirtualWan(args: GetVirtualWanArgs, opts?: pulumi.InvokeOptions): Promise<GetVirtualWanResult>;
|
|
6
34
|
/**
|
|
@@ -63,6 +91,34 @@ export interface GetVirtualWanResult {
|
|
|
63
91
|
}
|
|
64
92
|
/**
|
|
65
93
|
* Use this data source to access information about an existing Virtual Wan.
|
|
94
|
+
*
|
|
95
|
+
* ## Example Usage
|
|
96
|
+
*
|
|
97
|
+
* ```typescript
|
|
98
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
99
|
+
* import * as azure from "@pulumi/azure";
|
|
100
|
+
*
|
|
101
|
+
* const example = azure.network.getVirtualWan({
|
|
102
|
+
* name: "existing",
|
|
103
|
+
* resourceGroupName: "existing",
|
|
104
|
+
* });
|
|
105
|
+
* export const id = example.then(example => example.id);
|
|
106
|
+
* export const allowBranchToBranchTraffic = example.then(example => example.allowBranchToBranchTraffic);
|
|
107
|
+
* export const disableVpnEncryption = example.then(example => example.disableVpnEncryption);
|
|
108
|
+
* export const location = example.then(example => example.location);
|
|
109
|
+
* export const office365LocalBreakoutCategory = example.then(example => example.office365LocalBreakoutCategory);
|
|
110
|
+
* export const sku = example.then(example => example.sku);
|
|
111
|
+
* export const tags = example.then(example => example.tags);
|
|
112
|
+
* export const virtualHubs = example.then(example => example.virtualHubs);
|
|
113
|
+
* export const vpnSites = example.then(example => example.vpnSites);
|
|
114
|
+
* ```
|
|
115
|
+
*
|
|
116
|
+
* ## API Providers
|
|
117
|
+
*
|
|
118
|
+
* <!-- This section is generated, changes will be overwritten -->
|
|
119
|
+
* This data source uses the following Azure API Providers:
|
|
120
|
+
*
|
|
121
|
+
* * `Microsoft.Network` - 2024-05-01
|
|
66
122
|
*/
|
|
67
123
|
export declare function getVirtualWanOutput(args: GetVirtualWanOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVirtualWanResult>;
|
|
68
124
|
/**
|
package/network/getVirtualWan.js
CHANGED
|
@@ -7,6 +7,34 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to access information about an existing Virtual Wan.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const example = azure.network.getVirtualWan({
|
|
18
|
+
* name: "existing",
|
|
19
|
+
* resourceGroupName: "existing",
|
|
20
|
+
* });
|
|
21
|
+
* export const id = example.then(example => example.id);
|
|
22
|
+
* export const allowBranchToBranchTraffic = example.then(example => example.allowBranchToBranchTraffic);
|
|
23
|
+
* export const disableVpnEncryption = example.then(example => example.disableVpnEncryption);
|
|
24
|
+
* export const location = example.then(example => example.location);
|
|
25
|
+
* export const office365LocalBreakoutCategory = example.then(example => example.office365LocalBreakoutCategory);
|
|
26
|
+
* export const sku = example.then(example => example.sku);
|
|
27
|
+
* export const tags = example.then(example => example.tags);
|
|
28
|
+
* export const virtualHubs = example.then(example => example.virtualHubs);
|
|
29
|
+
* export const vpnSites = example.then(example => example.vpnSites);
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## API Providers
|
|
33
|
+
*
|
|
34
|
+
* <!-- This section is generated, changes will be overwritten -->
|
|
35
|
+
* This data source uses the following Azure API Providers:
|
|
36
|
+
*
|
|
37
|
+
* * `Microsoft.Network` - 2024-05-01
|
|
10
38
|
*/
|
|
11
39
|
function getVirtualWan(args, opts) {
|
|
12
40
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -18,6 +46,34 @@ function getVirtualWan(args, opts) {
|
|
|
18
46
|
exports.getVirtualWan = getVirtualWan;
|
|
19
47
|
/**
|
|
20
48
|
* Use this data source to access information about an existing Virtual Wan.
|
|
49
|
+
*
|
|
50
|
+
* ## Example Usage
|
|
51
|
+
*
|
|
52
|
+
* ```typescript
|
|
53
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
54
|
+
* import * as azure from "@pulumi/azure";
|
|
55
|
+
*
|
|
56
|
+
* const example = azure.network.getVirtualWan({
|
|
57
|
+
* name: "existing",
|
|
58
|
+
* resourceGroupName: "existing",
|
|
59
|
+
* });
|
|
60
|
+
* export const id = example.then(example => example.id);
|
|
61
|
+
* export const allowBranchToBranchTraffic = example.then(example => example.allowBranchToBranchTraffic);
|
|
62
|
+
* export const disableVpnEncryption = example.then(example => example.disableVpnEncryption);
|
|
63
|
+
* export const location = example.then(example => example.location);
|
|
64
|
+
* export const office365LocalBreakoutCategory = example.then(example => example.office365LocalBreakoutCategory);
|
|
65
|
+
* export const sku = example.then(example => example.sku);
|
|
66
|
+
* export const tags = example.then(example => example.tags);
|
|
67
|
+
* export const virtualHubs = example.then(example => example.virtualHubs);
|
|
68
|
+
* export const vpnSites = example.then(example => example.vpnSites);
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* ## API Providers
|
|
72
|
+
*
|
|
73
|
+
* <!-- This section is generated, changes will be overwritten -->
|
|
74
|
+
* This data source uses the following Azure API Providers:
|
|
75
|
+
*
|
|
76
|
+
* * `Microsoft.Network` - 2024-05-01
|
|
21
77
|
*/
|
|
22
78
|
function getVirtualWanOutput(args, opts) {
|
|
23
79
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVirtualWan.js","sourceRoot":"","sources":["../../network/getVirtualWan.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getVirtualWan.js","sourceRoot":"","sources":["../../network/getVirtualWan.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AA2DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2CAA2C,EAAE;QAC5E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC"}
|
|
@@ -2,6 +2,116 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Manages the association between a Network Interface and a Application Gateway's Backend Address Pool.
|
|
4
4
|
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
*
|
|
11
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
12
|
+
* name: "example-resources",
|
|
13
|
+
* location: "West Europe",
|
|
14
|
+
* });
|
|
15
|
+
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
16
|
+
* name: "example-network",
|
|
17
|
+
* addressSpaces: ["10.0.0.0/16"],
|
|
18
|
+
* location: example.location,
|
|
19
|
+
* resourceGroupName: example.name,
|
|
20
|
+
* });
|
|
21
|
+
* const frontend = new azure.network.Subnet("frontend", {
|
|
22
|
+
* name: "frontend",
|
|
23
|
+
* resourceGroupName: example.name,
|
|
24
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
25
|
+
* addressPrefixes: ["10.0.1.0/24"],
|
|
26
|
+
* });
|
|
27
|
+
* const backend = new azure.network.Subnet("backend", {
|
|
28
|
+
* name: "backend",
|
|
29
|
+
* resourceGroupName: example.name,
|
|
30
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
31
|
+
* addressPrefixes: ["10.0.2.0/24"],
|
|
32
|
+
* });
|
|
33
|
+
* const examplePublicIp = new azure.network.PublicIp("example", {
|
|
34
|
+
* name: "example-pip",
|
|
35
|
+
* location: example.location,
|
|
36
|
+
* resourceGroupName: example.name,
|
|
37
|
+
* allocationMethod: "Static",
|
|
38
|
+
* });
|
|
39
|
+
* const backendAddressPoolName = pulumi.interpolate`${exampleVirtualNetwork.name}-beap`;
|
|
40
|
+
* const frontendPortName = pulumi.interpolate`${exampleVirtualNetwork.name}-feport`;
|
|
41
|
+
* const frontendIpConfigurationName = pulumi.interpolate`${exampleVirtualNetwork.name}-feip`;
|
|
42
|
+
* const httpSettingName = pulumi.interpolate`${exampleVirtualNetwork.name}-be-htst`;
|
|
43
|
+
* const listenerName = pulumi.interpolate`${exampleVirtualNetwork.name}-httplstn`;
|
|
44
|
+
* const requestRoutingRuleName = pulumi.interpolate`${exampleVirtualNetwork.name}-rqrt`;
|
|
45
|
+
* const network = new azure.network.ApplicationGateway("network", {
|
|
46
|
+
* name: "example-appgateway",
|
|
47
|
+
* resourceGroupName: example.name,
|
|
48
|
+
* location: example.location,
|
|
49
|
+
* sku: {
|
|
50
|
+
* name: "Standard_v2",
|
|
51
|
+
* tier: "Standard_v2",
|
|
52
|
+
* capacity: 2,
|
|
53
|
+
* },
|
|
54
|
+
* gatewayIpConfigurations: [{
|
|
55
|
+
* name: "my-gateway-ip-configuration",
|
|
56
|
+
* subnetId: backend.id,
|
|
57
|
+
* }],
|
|
58
|
+
* frontendPorts: [{
|
|
59
|
+
* name: frontendPortName,
|
|
60
|
+
* port: 80,
|
|
61
|
+
* }],
|
|
62
|
+
* frontendIpConfigurations: [{
|
|
63
|
+
* name: frontendIpConfigurationName,
|
|
64
|
+
* publicIpAddressId: examplePublicIp.id,
|
|
65
|
+
* }],
|
|
66
|
+
* backendAddressPools: [{
|
|
67
|
+
* name: backendAddressPoolName,
|
|
68
|
+
* }],
|
|
69
|
+
* backendHttpSettings: [{
|
|
70
|
+
* name: httpSettingName,
|
|
71
|
+
* cookieBasedAffinity: "Disabled",
|
|
72
|
+
* port: 80,
|
|
73
|
+
* protocol: "Http",
|
|
74
|
+
* requestTimeout: 1,
|
|
75
|
+
* }],
|
|
76
|
+
* httpListeners: [{
|
|
77
|
+
* name: listenerName,
|
|
78
|
+
* frontendIpConfigurationName: frontendIpConfigurationName,
|
|
79
|
+
* frontendPortName: frontendPortName,
|
|
80
|
+
* protocol: "Http",
|
|
81
|
+
* }],
|
|
82
|
+
* requestRoutingRules: [{
|
|
83
|
+
* name: requestRoutingRuleName,
|
|
84
|
+
* ruleType: "Basic",
|
|
85
|
+
* priority: 25,
|
|
86
|
+
* httpListenerName: listenerName,
|
|
87
|
+
* backendAddressPoolName: backendAddressPoolName,
|
|
88
|
+
* backendHttpSettingsName: httpSettingName,
|
|
89
|
+
* }],
|
|
90
|
+
* });
|
|
91
|
+
* const exampleNetworkInterface = new azure.network.NetworkInterface("example", {
|
|
92
|
+
* name: "example-nic",
|
|
93
|
+
* location: example.location,
|
|
94
|
+
* resourceGroupName: example.name,
|
|
95
|
+
* ipConfigurations: [{
|
|
96
|
+
* name: "testconfiguration1",
|
|
97
|
+
* subnetId: frontend.id,
|
|
98
|
+
* privateIpAddressAllocation: "Dynamic",
|
|
99
|
+
* }],
|
|
100
|
+
* });
|
|
101
|
+
* const exampleNetworkInterfaceApplicationGatewayBackendAddressPoolAssociation = new azure.network.NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation("example", {
|
|
102
|
+
* networkInterfaceId: exampleNetworkInterface.id,
|
|
103
|
+
* ipConfigurationName: "testconfiguration1",
|
|
104
|
+
* backendAddressPoolId: network.backendAddressPools.apply(backendAddressPools => backendAddressPools[0].id),
|
|
105
|
+
* });
|
|
106
|
+
* ```
|
|
107
|
+
*
|
|
108
|
+
* ## API Providers
|
|
109
|
+
*
|
|
110
|
+
* <!-- This section is generated, changes will be overwritten -->
|
|
111
|
+
* This resource uses the following Azure API Providers:
|
|
112
|
+
*
|
|
113
|
+
* * `Microsoft.Network` - 2024-05-01
|
|
114
|
+
*
|
|
5
115
|
* ## Import
|
|
6
116
|
*
|
|
7
117
|
* Associations between Network Interfaces and Application Gateway Backend Address Pools can be imported using the `resource id`, e.g.
|
|
@@ -8,6 +8,116 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Manages the association between a Network Interface and a Application Gateway's Backend Address Pool.
|
|
10
10
|
*
|
|
11
|
+
* ## Example Usage
|
|
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 exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
22
|
+
* name: "example-network",
|
|
23
|
+
* addressSpaces: ["10.0.0.0/16"],
|
|
24
|
+
* location: example.location,
|
|
25
|
+
* resourceGroupName: example.name,
|
|
26
|
+
* });
|
|
27
|
+
* const frontend = new azure.network.Subnet("frontend", {
|
|
28
|
+
* name: "frontend",
|
|
29
|
+
* resourceGroupName: example.name,
|
|
30
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
31
|
+
* addressPrefixes: ["10.0.1.0/24"],
|
|
32
|
+
* });
|
|
33
|
+
* const backend = new azure.network.Subnet("backend", {
|
|
34
|
+
* name: "backend",
|
|
35
|
+
* resourceGroupName: example.name,
|
|
36
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
37
|
+
* addressPrefixes: ["10.0.2.0/24"],
|
|
38
|
+
* });
|
|
39
|
+
* const examplePublicIp = new azure.network.PublicIp("example", {
|
|
40
|
+
* name: "example-pip",
|
|
41
|
+
* location: example.location,
|
|
42
|
+
* resourceGroupName: example.name,
|
|
43
|
+
* allocationMethod: "Static",
|
|
44
|
+
* });
|
|
45
|
+
* const backendAddressPoolName = pulumi.interpolate`${exampleVirtualNetwork.name}-beap`;
|
|
46
|
+
* const frontendPortName = pulumi.interpolate`${exampleVirtualNetwork.name}-feport`;
|
|
47
|
+
* const frontendIpConfigurationName = pulumi.interpolate`${exampleVirtualNetwork.name}-feip`;
|
|
48
|
+
* const httpSettingName = pulumi.interpolate`${exampleVirtualNetwork.name}-be-htst`;
|
|
49
|
+
* const listenerName = pulumi.interpolate`${exampleVirtualNetwork.name}-httplstn`;
|
|
50
|
+
* const requestRoutingRuleName = pulumi.interpolate`${exampleVirtualNetwork.name}-rqrt`;
|
|
51
|
+
* const network = new azure.network.ApplicationGateway("network", {
|
|
52
|
+
* name: "example-appgateway",
|
|
53
|
+
* resourceGroupName: example.name,
|
|
54
|
+
* location: example.location,
|
|
55
|
+
* sku: {
|
|
56
|
+
* name: "Standard_v2",
|
|
57
|
+
* tier: "Standard_v2",
|
|
58
|
+
* capacity: 2,
|
|
59
|
+
* },
|
|
60
|
+
* gatewayIpConfigurations: [{
|
|
61
|
+
* name: "my-gateway-ip-configuration",
|
|
62
|
+
* subnetId: backend.id,
|
|
63
|
+
* }],
|
|
64
|
+
* frontendPorts: [{
|
|
65
|
+
* name: frontendPortName,
|
|
66
|
+
* port: 80,
|
|
67
|
+
* }],
|
|
68
|
+
* frontendIpConfigurations: [{
|
|
69
|
+
* name: frontendIpConfigurationName,
|
|
70
|
+
* publicIpAddressId: examplePublicIp.id,
|
|
71
|
+
* }],
|
|
72
|
+
* backendAddressPools: [{
|
|
73
|
+
* name: backendAddressPoolName,
|
|
74
|
+
* }],
|
|
75
|
+
* backendHttpSettings: [{
|
|
76
|
+
* name: httpSettingName,
|
|
77
|
+
* cookieBasedAffinity: "Disabled",
|
|
78
|
+
* port: 80,
|
|
79
|
+
* protocol: "Http",
|
|
80
|
+
* requestTimeout: 1,
|
|
81
|
+
* }],
|
|
82
|
+
* httpListeners: [{
|
|
83
|
+
* name: listenerName,
|
|
84
|
+
* frontendIpConfigurationName: frontendIpConfigurationName,
|
|
85
|
+
* frontendPortName: frontendPortName,
|
|
86
|
+
* protocol: "Http",
|
|
87
|
+
* }],
|
|
88
|
+
* requestRoutingRules: [{
|
|
89
|
+
* name: requestRoutingRuleName,
|
|
90
|
+
* ruleType: "Basic",
|
|
91
|
+
* priority: 25,
|
|
92
|
+
* httpListenerName: listenerName,
|
|
93
|
+
* backendAddressPoolName: backendAddressPoolName,
|
|
94
|
+
* backendHttpSettingsName: httpSettingName,
|
|
95
|
+
* }],
|
|
96
|
+
* });
|
|
97
|
+
* const exampleNetworkInterface = new azure.network.NetworkInterface("example", {
|
|
98
|
+
* name: "example-nic",
|
|
99
|
+
* location: example.location,
|
|
100
|
+
* resourceGroupName: example.name,
|
|
101
|
+
* ipConfigurations: [{
|
|
102
|
+
* name: "testconfiguration1",
|
|
103
|
+
* subnetId: frontend.id,
|
|
104
|
+
* privateIpAddressAllocation: "Dynamic",
|
|
105
|
+
* }],
|
|
106
|
+
* });
|
|
107
|
+
* const exampleNetworkInterfaceApplicationGatewayBackendAddressPoolAssociation = new azure.network.NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation("example", {
|
|
108
|
+
* networkInterfaceId: exampleNetworkInterface.id,
|
|
109
|
+
* ipConfigurationName: "testconfiguration1",
|
|
110
|
+
* backendAddressPoolId: network.backendAddressPools.apply(backendAddressPools => backendAddressPools[0].id),
|
|
111
|
+
* });
|
|
112
|
+
* ```
|
|
113
|
+
*
|
|
114
|
+
* ## API Providers
|
|
115
|
+
*
|
|
116
|
+
* <!-- This section is generated, changes will be overwritten -->
|
|
117
|
+
* This resource uses the following Azure API Providers:
|
|
118
|
+
*
|
|
119
|
+
* * `Microsoft.Network` - 2024-05-01
|
|
120
|
+
*
|
|
11
121
|
* ## Import
|
|
12
122
|
*
|
|
13
123
|
* Associations between Network Interfaces and Application Gateway Backend Address Pools can be imported using the `resource id`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"networkInterfaceApplicationGatewayBackendAddressPoolAssociation.js","sourceRoot":"","sources":["../../network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"networkInterfaceApplicationGatewayBackendAddressPoolAssociation.js","sourceRoot":"","sources":["../../network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwHG;AACH,MAAa,+DAAgE,SAAQ,MAAM,CAAC,cAAc;IACtG;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4E,EAAE,IAAmC;QAC1K,OAAO,IAAI,+DAA+D,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtH,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,+DAA+D,CAAC,YAAY,CAAC;IAChH,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAwJ,EAAE,IAAmC;QACnN,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+F,CAAC;YAC9G,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,EAAE,oBAAoB,CAAC;YACrE,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,EAAE,mBAAmB,CAAC;YACnE,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,EAAE,kBAAkB,CAAC;SACpE;aAAM;YACH,MAAM,IAAI,GAAG,WAA8F,CAAC;YAC5G,IAAI,IAAI,EAAE,oBAAoB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAC;aACvE;YACD,IAAI,IAAI,EAAE,mBAAmB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;aACtE;YACD,IAAI,IAAI,EAAE,kBAAkB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;aACrE;YACD,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,+DAA+D,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpH,CAAC;;AA1EL,0IA2EC;AA7DG,gBAAgB;AACO,4EAAY,GAAG,+IAA+I,CAAC"}
|
|
@@ -11,9 +11,9 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as azure from "@pulumi/azure";
|
|
12
12
|
* import * as random from "@pulumi/random";
|
|
13
13
|
*
|
|
14
|
-
* const server = new random.
|
|
14
|
+
* const server = new random.index.Id("server", {
|
|
15
15
|
* keepers: {
|
|
16
|
-
*
|
|
16
|
+
* aziId: 1,
|
|
17
17
|
* },
|
|
18
18
|
* byteLength: 8,
|
|
19
19
|
* });
|
|
@@ -15,9 +15,9 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* import * as azure from "@pulumi/azure";
|
|
16
16
|
* import * as random from "@pulumi/random";
|
|
17
17
|
*
|
|
18
|
-
* const server = new random.
|
|
18
|
+
* const server = new random.index.Id("server", {
|
|
19
19
|
* keepers: {
|
|
20
|
-
*
|
|
20
|
+
* aziId: 1,
|
|
21
21
|
* },
|
|
22
22
|
* byteLength: 8,
|
|
23
23
|
* });
|
|
@@ -2,6 +2,34 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* ## Example Usage
|
|
4
4
|
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as azure from "@pulumi/azure";
|
|
8
|
+
*
|
|
9
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
10
|
+
* name: "example-resources",
|
|
11
|
+
* location: "West Europe",
|
|
12
|
+
* });
|
|
13
|
+
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
14
|
+
* name: "example-vnet",
|
|
15
|
+
* addressSpaces: ["10.0.0.0/16"],
|
|
16
|
+
* location: example.location,
|
|
17
|
+
* resourceGroupName: example.name,
|
|
18
|
+
* subnets: [{
|
|
19
|
+
* name: "subnet1",
|
|
20
|
+
* addressPrefix: "10.0.1.0/24",
|
|
21
|
+
* }],
|
|
22
|
+
* });
|
|
23
|
+
* const exampleVirtualNetworkDnsServers = new azure.network.VirtualNetworkDnsServers("example", {
|
|
24
|
+
* virtualNetworkId: exampleVirtualNetwork.id,
|
|
25
|
+
* dnsServers: [
|
|
26
|
+
* "10.7.7.2",
|
|
27
|
+
* "10.7.7.7",
|
|
28
|
+
* "10.7.7.1",
|
|
29
|
+
* ],
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
5
33
|
* ## API Providers
|
|
6
34
|
*
|
|
7
35
|
* <!-- This section is generated, changes will be overwritten -->
|