@@ -16,26 +16,11 @@ const disabledProviders: AutoGenConfig[] = [
1616 namespace : 'Microsoft.Advisor' ,
1717 disabledForAutogen : true ,
1818 } ,
19- {
20- basePath : 'agrifood/resource-manager' ,
21- namespace : 'Microsoft.AgFoodPlatform' ,
22- disabledForAutogen : true ,
23- } ,
2419 {
2520 basePath : 'azure-kusto/resource-manager' ,
2621 namespace : 'Microsoft.Kusto' ,
2722 disabledForAutogen : true ,
2823 } ,
29- {
30- basePath : 'azurestackhci/resource-manager' ,
31- namespace : 'Microsoft.AzureStackHCI' ,
32- disabledForAutogen : true ,
33- } ,
34- {
35- basePath : 'baremetalinfrastructure/resource-manager' ,
36- namespace : 'Microsoft.BareMetalInfrastructure' ,
37- disabledForAutogen : true ,
38- } ,
3924 {
4025 basePath : 'cloudshell/resource-manager' ,
4126 namespace : 'Microsoft.Portal' ,
@@ -46,92 +31,33 @@ const disabledProviders: AutoGenConfig[] = [
4631 namespace : 'Microsoft.ContainerService' ,
4732 disabledForAutogen : true ,
4833 } ,
49- {
50- basePath : 'confidentialledger/resource-manager' ,
51- namespace : 'Microsoft.ConfidentialLedger' ,
52- disabledForAutogen : true ,
53- } ,
54- {
55- basePath : 'cost-management/resource-manager' ,
56- namespace : 'Microsoft.CostManagement' ,
57- disabledForAutogen : true ,
58- } ,
59- {
60- basePath : 'cpim/resource-manager' ,
61- namespace : 'Microsoft.AzureActiveDirectory' ,
62- disabledForAutogen : true ,
63- } ,
64- {
65- basePath : 'dataprotection/resource-manager' ,
66- namespace : 'Microsoft.DataProtection' ,
67- disabledForAutogen : true ,
68- } ,
6934 {
7035 // Disabled as the swagger spec contains a type ("DateTimeRfc1123") which autorest is unable to parse: https://github.com/Azure/autorest.azureresourceschema/issues/71
7136 basePath : 'domainservices/resource-manager' ,
7237 namespace : 'Microsoft.AAD' ,
7338 disabledForAutogen : true ,
7439 } ,
75- {
76- basePath : 'dfp/resource-manager' ,
77- namespace : 'Microsoft.Dynamics365Fraudprotection' ,
78- disabledForAutogen : true ,
79- } ,
80- {
81- basePath : 'dnc/resource-manager' ,
82- namespace : 'Microsoft.DelegatedNetwork' ,
83- disabledForAutogen : true ,
84- } ,
8540 {
8641 basePath : 'dns/resource-manager' ,
8742 namespace : 'Microsoft.Network' ,
8843 disabledForAutogen : true ,
8944 } ,
9045 {
91- basePath : 'edgeorder/resource-manager' ,
92- namespace : 'Microsoft.EdgeOrder' ,
93- disabledForAutogen : true ,
94- } ,
95- {
46+ // Disabled as the swagger spec contains a bug (enum mismatch)
9647 basePath : 'edgeorderpartner/resource-manager' ,
9748 namespace : 'Microsoft.EdgeOrderPartner' ,
9849 disabledForAutogen : true ,
9950 } ,
100- {
101- basePath : 'fluidrelay/resource-manager' ,
102- namespace : 'Microsoft.FluidRelay' ,
103- disabledForAutogen : true ,
104- } ,
105- {
106- basePath : 'iotsecurity/resource-manager' ,
107- namespace : 'Microsoft.IoTSecurity' ,
108- disabledForAutogen : true ,
109- } ,
11051 {
11152 basePath : 'logic/resource-manager' ,
11253 namespace : 'Microsoft.Logic' ,
11354 disabledForAutogen : true ,
11455 } ,
115- {
116- basePath : 'm365securityandcompliance/resource-manager' ,
117- namespace : 'Microsoft.M365SecurityAndCompliance' ,
118- disabledForAutogen : true ,
119- } ,
12056 {
12157 basePath : 'managedservices/resource-manager' ,
12258 namespace : 'Microsoft.ManagedServices' ,
12359 disabledForAutogen : true ,
12460 } ,
125- {
126- basePath : 'marketplacenotifications/resource-manager' ,
127- namespace : 'Microsoft.MarketplaceNotifications' ,
128- disabledForAutogen : true ,
129- } ,
130- {
131- basePath : 'marketplaceordering/resource-manager' ,
132- namespace : 'Microsoft.MarketplaceOrdering' ,
133- disabledForAutogen : true ,
134- } ,
13561 {
13662 basePath : 'mediaservices/resource-manager' ,
13763 namespace : 'Microsoft.Media' ,
@@ -157,46 +83,11 @@ const disabledProviders: AutoGenConfig[] = [
15783 namespace : 'Microsoft.Network' ,
15884 disabledForAutogen : true ,
15985 } ,
160- {
161- basePath : 'providerhub/resource-manager' ,
162- namespace : 'Microsoft.ProviderHub' ,
163- disabledForAutogen : true ,
164- } ,
165- {
166- basePath : 'quota/resource-manager' ,
167- namespace : 'Microsoft.Quota' ,
168- disabledForAutogen : true ,
169- } ,
170- {
171- basePath : 'resources/resource-manager' ,
172- namespace : 'Microsoft.Features' ,
173- disabledForAutogen : true ,
174- } ,
175- {
176- basePath : 'resources/resource-manager' ,
177- namespace : 'Microsoft.Solutions' ,
178- disabledForAutogen : true ,
179- } ,
180- {
181- basePath : 'securityandcompliance/resource-manager' ,
182- namespace : 'Microsoft.SecurityAndCompliance' ,
183- disabledForAutogen : true ,
184- } ,
18586 {
18687 basePath : 'service-map/resource-manager' ,
18788 namespace : 'Microsoft.OperationalInsights' ,
18889 disabledForAutogen : true ,
18990 } ,
190- {
191- basePath : 'servicefabricmanagedclusters/resource-manager' ,
192- namespace : 'Microsoft.ServiceFabricManagedClusters' ,
193- disabledForAutogen : true ,
194- } ,
195- {
196- basePath : 'testbase/resource-manager' ,
197- namespace : 'Microsoft.TestBase' ,
198- disabledForAutogen : true ,
199- } ,
20091 {
20192 basePath : 'trafficmanager/resource-manager' ,
20293 namespace : 'Microsoft.Network' ,
@@ -362,6 +253,24 @@ const autoGenList: AutoGenConfig[] = [
362253 } ,
363254 ] ,
364255 } ,
256+ {
257+ basePath : 'cost-management/resource-manager' ,
258+ namespace : 'Microsoft.CostManagement' ,
259+ resourceConfig : [
260+ {
261+ type : 'exports' ,
262+ scopes : ScopeType . ManagementGroup | ScopeType . Subcription | ScopeType . ResourceGroup ,
263+ } ,
264+ {
265+ type : 'budgets' ,
266+ scopes : ScopeType . ManagementGroup | ScopeType . Subcription | ScopeType . ResourceGroup | ScopeType . Extension ,
267+ } ,
268+ {
269+ type : 'views' ,
270+ scopes : ScopeType . Tenant | ScopeType . ManagementGroup | ScopeType . Subcription | ScopeType . ResourceGroup | ScopeType . Extension ,
271+ } ,
272+ ] ,
273+ } ,
365274 {
366275 basePath : 'customerlockbox/resource-manager' ,
367276 namespace : 'Microsoft.CustomerLockbox' ,
@@ -511,6 +420,20 @@ const autoGenList: AutoGenConfig[] = [
511420 basePath : 'iotspaces/resource-manager' ,
512421 namespace : 'Microsoft.IoTSpaces' ,
513422 } ,
423+ {
424+ basePath : 'iotsecurity/resource-manager' ,
425+ namespace : 'Microsoft.IoTSecurity' ,
426+ resourceConfig : [
427+ {
428+ type : 'sensors' ,
429+ scopes : ScopeType . Extension ,
430+ } ,
431+ {
432+ type : 'sites' ,
433+ scopes : ScopeType . Extension ,
434+ }
435+ ]
436+ } ,
514437 {
515438 basePath : 'intune/resource-manager' ,
516439 namespace : 'Microsoft.Intune' ,
@@ -650,6 +573,20 @@ const autoGenList: AutoGenConfig[] = [
650573 basePath : 'powerbiembedded/resource-manager' ,
651574 namespace : 'Microsoft.PowerBI' ,
652575 } ,
576+ {
577+ basePath : 'quota/resource-manager' ,
578+ namespace : 'Microsoft.Quota' ,
579+ resourceConfig : [
580+ {
581+ type : 'quotaLimits' ,
582+ scopes : ScopeType . Extension ,
583+ } ,
584+ {
585+ type : 'quotas' ,
586+ scopes : ScopeType . Extension ,
587+ } ,
588+ ] ,
589+ } ,
653590 {
654591 basePath : 'redhatopenshift/resource-manager' ,
655592 namespace : 'Microsoft.RedHatOpenShift' ,
@@ -689,6 +626,10 @@ const autoGenList: AutoGenConfig[] = [
689626 type : 'policyExemptions' ,
690627 scopes : ScopeType . ManagementGroup | ScopeType . Subcription | ScopeType . ResourceGroup | ScopeType . Extension ,
691628 } ,
629+ {
630+ type : 'policyPricings' ,
631+ scopes : ScopeType . ManagementGroup | ScopeType . Subcription ,
632+ } ,
692633 {
693634 type : 'locks' ,
694635 scopes : ScopeType . Subcription | ScopeType . ResourceGroup | ScopeType . Extension ,
0 commit comments