@@ -106,6 +106,15 @@ param (
106
106
107
107
. $PSScriptRoot / SubConfig- Helpers.ps1
108
108
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
+
109
118
if (! $ServicePrincipalAuth ) {
110
119
# Clear secrets if not using Service Principal auth. This prevents secrets
111
120
# from being passed to pre- and post-scripts.
@@ -743,13 +752,15 @@ try {
743
752
if ($ProvisionerApplicationOid ) {
744
753
$templateParameters [" provisionerApplicationOid" ] = " $ProvisionerApplicationOid "
745
754
}
746
-
747
755
if ($TenantId ) {
748
756
$templateParameters.Add (' tenantId' , $TenantId )
749
757
}
750
758
if ($TestApplicationSecret -and $ServicePrincipalAuth ) {
751
759
$templateParameters.Add (' testApplicationSecret' , $TestApplicationSecret )
752
760
}
761
+ if ($CI -and $Environment -eq ' AzureCloud' ) {
762
+ $templateParameters.Add (' azsdkPipelineSubnetList' , $azsdkPipelineSubnets )
763
+ }
753
764
754
765
$defaultCloudParameters = LoadCloudConfig $Environment
755
766
MergeHashes $defaultCloudParameters $ (Get-Variable templateParameters)
0 commit comments