Skip to content

Commit d0bf0a9

Browse files
Merge pull request #3056 from Azure/ant/v2
Onboard all resource types to autorest v2
2 parents 54a48c6 + f6c0622 commit d0bf0a9

File tree

2,076 files changed

+1207784
-1195309
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,076 files changed

+1207784
-1195309
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup .NET Core
2121
uses: actions/setup-dotnet@v4
2222
with:
23-
dotnet-version: '5.0.x'
23+
dotnet-version: '8.0.x'
2424

2525
- name: Install NPM modules
2626
run: npm ci

bicep-types-az

generator/autogenlist.ts

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ const disabledProviders: AutoGenConfig[] = [
3434
{
3535
basePath: 'cdn/resource-manager',
3636
namespace: 'Microsoft.Cdn',
37-
useAutorestV2: true,
3837
},
3938
{
4039
basePath: 'logic/resource-manager',
@@ -563,7 +562,6 @@ const autoGenList: AutoGenConfig[] = [
563562
{
564563
basePath: 'mysql/resource-manager',
565564
namespace: 'Microsoft.DBforMySQL',
566-
useAutorestV2: true,
567565
},
568566
{
569567
basePath: 'managementgroups/resource-manager',
@@ -618,7 +616,6 @@ const autoGenList: AutoGenConfig[] = [
618616
{
619617
basePath: 'postgresql/resource-manager',
620618
namespace: 'Microsoft.DBforPostgreSQL',
621-
useAutorestV2: true,
622619
},
623620
{
624621
basePath: 'postgresqlhsc/resource-manager',
@@ -707,18 +704,15 @@ const autoGenList: AutoGenConfig[] = [
707704
basePath: 'recoveryservicessiterecovery/resource-manager',
708705
namespace: 'Microsoft.RecoveryServices',
709706
suffix: 'SiteRecovery',
710-
useAutorestV2: true,
711707
},
712708
{
713709
basePath: 'recoveryservicesbackup/resource-manager',
714710
namespace: 'Microsoft.RecoveryServices',
715711
suffix: "Backup",
716-
useAutorestV2: true,
717712
},
718713
{
719714
basePath: "recoveryservices/resource-manager",
720715
namespace: "Microsoft.RecoveryServices",
721-
useAutorestV2: true,
722716
},
723717
{
724718
basePath: 'reservations/resource-manager',
@@ -864,7 +858,6 @@ const autoGenList: AutoGenConfig[] = [
864858
basePath: 'storage/resource-manager',
865859
namespace: 'Microsoft.Storage',
866860
postProcessor: storageProcessor,
867-
useAutorestV2: true,
868861
},
869862
{
870863
basePath: 'compute/resource-manager',
@@ -882,7 +875,6 @@ const autoGenList: AutoGenConfig[] = [
882875
{
883876
basePath: 'sql/resource-manager',
884877
namespace: 'Microsoft.Sql',
885-
useAutorestV2: true,
886878
},
887879
{
888880
basePath: 'scheduler/resource-manager',
@@ -1051,17 +1043,14 @@ const autoGenList: AutoGenConfig[] = [
10511043
{
10521044
basePath: 'web/resource-manager',
10531045
namespace: 'Microsoft.CertificateRegistration',
1054-
useAutorestV2: true,
10551046
},
10561047
{
10571048
basePath: 'web/resource-manager',
10581049
namespace: 'Microsoft.DomainRegistration',
1059-
useAutorestV2: true,
10601050
},
10611051
{
10621052
basePath: 'web/resource-manager',
10631053
namespace: 'Microsoft.Web',
1064-
useAutorestV2: true,
10651054
},
10661055
{
10671056
basePath: 'deviceupdate/resource-manager',
@@ -1076,45 +1065,38 @@ const autoGenList: AutoGenConfig[] = [
10761065
basePath: 'trafficmanager/resource-manager',
10771066
namespace: 'Microsoft.Network',
10781067
suffix: 'TrafficManager',
1079-
useAutorestV2: true,
10801068
},
10811069
{
10821070
basePath: 'network/resource-manager',
10831071
namespace: 'Microsoft.Network',
10841072
postProcessor: networkPostProcessor,
10851073
suffix: 'NRP',
1086-
useAutorestV2: true,
10871074
},
10881075
{
10891076
basePath: 'dnsresolver/resource-manager',
10901077
namespace: 'Microsoft.Network',
10911078
suffix: 'DnsResolver',
1092-
useAutorestV2: true,
10931079
},
10941080
{
10951081
basePath: 'frontdoor/resource-manager',
10961082
namespace: 'Microsoft.Network',
10971083
suffix: 'FrontDoor',
1098-
useAutorestV2: true,
10991084
},
11001085
{
11011086
basePath: 'dns/resource-manager',
11021087
namespace: 'Microsoft.Network',
11031088
suffix: 'DNS',
1104-
useAutorestV2: true,
11051089
},
11061090
{
11071091
basePath: 'privatedns/resource-manager',
11081092
namespace: 'Microsoft.Network',
11091093
suffix: 'privateDns',
1110-
useAutorestV2: true,
11111094
},
11121095
{
11131096
//Pause autogeneration until errors are fixed
11141097
basePath: 'azurestackhci/resource-manager',
11151098
namespace: 'Microsoft.AzureStackHCI',
11161099
postProcessor: azureStackHciPostProcessor,
1117-
useAutorestV2: true,
11181100
},
11191101
{
11201102
basePath: 'advisor/resource-manager',
@@ -1142,38 +1124,31 @@ const autoGenList: AutoGenConfig[] = [
11421124
basePath: 'hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks',
11431125
namespace: 'Microsoft.HDInsight',
11441126
useNamespaceFromConfig: true,
1145-
useAutorestV2: true,
11461127
suffix: 'OnAks',
11471128
},
11481129
{
11491130
basePath: 'developerhub/resource-manager',
11501131
namespace: 'Microsoft.DevHub',
1151-
useAutorestV2: true,
11521132
},
11531133
{
11541134
basePath: 'domainservices/resource-manager',
11551135
namespace: 'Microsoft.AAD',
1156-
useAutorestV2: true,
11571136
},
11581137
{
11591138
basePath: 'edgeorderpartner/resource-manager',
11601139
namespace: 'Microsoft.EdgeOrderPartner',
1161-
useAutorestV2: true,
11621140
},
11631141
{
11641142
basePath: 'servicefabricmesh/resource-manager',
11651143
namespace: 'Microsoft.ServiceFabricMesh',
1166-
useAutorestV2: true,
11671144
},
11681145
{
11691146
basePath: 'operationalinsights/resource-manager',
11701147
namespace: 'Microsoft.OperationalInsights',
1171-
useAutorestV2: true,
11721148
},
11731149
{
11741150
basePath: 'confidentialLedger/resource-manager',
11751151
namespace: 'Microsoft.ConfidentialLedger',
1176-
useAutorestV2: true
11771152
},
11781153
];
11791154

0 commit comments

Comments
 (0)