@@ -19,11 +19,6 @@ import { lowerCaseEquals } from './utils';
1919
2020// New providers are onboarded by default. The providers listed here are the only ones **not** onboarded.
2121const disabledProviders : AutoGenConfig [ ] = [
22- {
23- basePath : 'advisor/resource-manager' ,
24- namespace : 'Microsoft.Advisor' ,
25- disabledForAutogen : true ,
26- } ,
2722 {
2823 basePath : 'cloudshell/resource-manager' ,
2924 namespace : 'Microsoft.Portal' ,
@@ -46,6 +41,12 @@ const disabledProviders: AutoGenConfig[] = [
4641 disabledForAutogen : true ,
4742 suffix : 'DNS' ,
4843 } ,
44+ {
45+ basePath : 'privatedns/resource-manager' ,
46+ namespace : 'Microsoft.Network' ,
47+ disabledForAutogen : true ,
48+ suffix : 'privateDns' ,
49+ } ,
4950 {
5051 // Disabled as the swagger spec contains a bug (enum mismatch)
5152 basePath : 'edgeorderpartner/resource-manager' ,
@@ -67,22 +68,11 @@ const disabledProviders: AutoGenConfig[] = [
6768 namespace : 'Microsoft.OperationsManagement' ,
6869 disabledForAutogen : true ,
6970 } ,
70- {
71- basePath : 'privatedns/resource-manager' ,
72- namespace : 'Microsoft.Network' ,
73- disabledForAutogen : true ,
74- suffix : 'privateDns' ,
75- } ,
7671 {
7772 basePath : 'service-map/resource-manager' ,
7873 namespace : 'Microsoft.OperationalInsights' ,
7974 disabledForAutogen : true ,
8075 } ,
81- {
82- basePath : 'trafficmanager/resource-manager' ,
83- namespace : 'Microsoft.Network' ,
84- suffix : 'TrafficManager' ,
85- } ,
8676 {
8777 basePath : 'videoanalyzer/resource-manager' ,
8878 namespace : 'Microsoft.Media' ,
@@ -1096,6 +1086,11 @@ const autoGenList: AutoGenConfig[] = [
10961086 namespace : 'Microsoft.Media' ,
10971087 postProcessor : mediaPostProcessor
10981088 } ,
1089+ {
1090+ basePath : 'trafficmanager/resource-manager' ,
1091+ namespace : 'Microsoft.Network' ,
1092+ suffix : 'TrafficManager' ,
1093+ } ,
10991094 {
11001095 basePath : 'network/resource-manager' ,
11011096 namespace : 'Microsoft.Network' ,
@@ -1112,6 +1107,16 @@ const autoGenList: AutoGenConfig[] = [
11121107 namespace : 'Microsoft.AzureStackHCI' ,
11131108 postProcessor : azureStackHciPostProcessor
11141109 } ,
1110+ {
1111+ basePath : 'advisor/resource-manager' ,
1112+ namespace : 'Microsoft.Advisor' ,
1113+ resourceConfig : [
1114+ {
1115+ type : 'recommendations/suppressions' ,
1116+ scopes : ScopeType . Tenant | ScopeType . ManagementGroup | ScopeType . Subscription | ScopeType . ResourceGroup | ScopeType . Extension ,
1117+ } ,
1118+ ]
1119+ } ,
11151120] ;
11161121
11171122export function findAutogenEntries ( basePath : string ) : AutoGenConfig [ ] {
0 commit comments