@@ -106,6 +106,15 @@ param (
106106
107107. $PSScriptRoot / SubConfig- Helpers.ps1
108108
109+ $azsdkPipelineVnet = " /subscriptions/a18897a6-7e44-457d-9260-f2854c0aca42/resourceGroups/azsdk-pools/providers/Microsoft.Network/virtualNetworks/azsdk-pipeline-vnet-wus"
110+ $azsdkPipelineSubnets = @ (
111+ ($azsdkPipelineVnet + " /subnets/pipeline-subnet-ubuntu-1804-general" ),
112+ ($azsdkPipelineVnet + " /subnets/pipeline-subnet-ubuntu-2004-general" ),
113+ ($azsdkPipelineVnet + " /subnets/pipeline-subnet-ubuntu-2204-general" ),
114+ ($azsdkPipelineVnet + " /subnets/pipeline-subnet-win-2019-general" ),
115+ ($azsdkPipelineVnet + " /subnets/pipeline-subnet-win-2022-general" )
116+ )
117+
109118if (! $ServicePrincipalAuth ) {
110119 # Clear secrets if not using Service Principal auth. This prevents secrets
111120 # from being passed to pre- and post-scripts.
@@ -743,13 +752,15 @@ try {
743752 if ($ProvisionerApplicationOid ) {
744753 $templateParameters [" provisionerApplicationOid" ] = " $ProvisionerApplicationOid "
745754 }
746-
747755 if ($TenantId ) {
748756 $templateParameters.Add (' tenantId' , $TenantId )
749757 }
750758 if ($TestApplicationSecret -and $ServicePrincipalAuth ) {
751759 $templateParameters.Add (' testApplicationSecret' , $TestApplicationSecret )
752760 }
761+ if ($CI -and $Environment -eq ' AzureCloud' ) {
762+ $templateParameters.Add (' azsdkPipelineSubnetList' , $azsdkPipelineSubnets )
763+ }
753764
754765 $defaultCloudParameters = LoadCloudConfig $Environment
755766 MergeHashes $defaultCloudParameters $ (Get-Variable templateParameters)
0 commit comments