Skip to content

Commit 84958b3

Browse files
Onboard more providers for generation
1 parent d5adb33 commit 84958b3

File tree

15 files changed

+5196
-276
lines changed

15 files changed

+5196
-276
lines changed

generator/autogenlist.ts

Lines changed: 16 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -22,44 +22,17 @@ import { detectProviderNamespaces } from './generate';
2222
// New providers are onboarded by default. The providers listed here are the only ones **not** onboarded.
2323
const disabledProviders: AutoGenConfig[] = [
2424
{
25-
basePath: 'cloudshell/resource-manager',
26-
namespace: 'Microsoft.Portal',
27-
disabledForAutogen: true,
28-
},
29-
{
30-
basePath: 'compute/resource-manager',
31-
namespace: 'Microsoft.ContainerService',
32-
disabledForAutogen: true,
33-
},
34-
{
35-
basePath: 'cdn/resource-manager',
36-
namespace: 'Microsoft.Cdn',
37-
},
38-
{
25+
// Need to be very careful - Microsoft.Logic are heavily dependent on Export Template, and are sensitive to properties being removed unintentionally
3926
basePath: 'logic/resource-manager',
4027
namespace: 'Microsoft.Logic',
4128
disabledForAutogen: true,
4229
},
4330
{
44-
basePath: 'managedservices/resource-manager',
45-
namespace: 'Microsoft.ManagedServices',
46-
disabledForAutogen: true,
47-
},
48-
{
49-
basePath: 'operationsmanagement/resource-manager',
50-
namespace: 'Microsoft.OperationsManagement',
51-
disabledForAutogen: true,
52-
},
53-
{
31+
// Failed to install extension '@microsoft.azure/classic-openapi-validator' (~1.1.5)
5432
basePath: 'service-map/resource-manager',
5533
namespace: 'Microsoft.OperationalInsights',
5634
disabledForAutogen: true,
5735
},
58-
{
59-
basePath: 'videoanalyzer/resource-manager',
60-
namespace: 'Microsoft.Media',
61-
disabledForAutogen: true,
62-
},
6336
];
6437

6538
// Run "npm run list-basepaths" to discover all the valid readme files to add to this list
@@ -1150,6 +1123,20 @@ const autoGenList: AutoGenConfig[] = [
11501123
basePath: 'confidentialLedger/resource-manager',
11511124
namespace: 'Microsoft.ConfidentialLedger',
11521125
},
1126+
{
1127+
basePath: 'managedservices/resource-manager',
1128+
namespace: 'Microsoft.ManagedServices',
1129+
resourceConfig: [
1130+
{
1131+
type: 'registrationDefinitions',
1132+
scopes: ScopeType.Subscription,
1133+
},
1134+
{
1135+
type: 'registrationAssignments',
1136+
scopes: ScopeType.Subscription | ScopeType.ResourceGroup,
1137+
},
1138+
]
1139+
},
11531140
];
11541141

11551142
export function findAutogenEntries(basePath: string): AutoGenConfig[] {

0 commit comments

Comments
 (0)