Skip to content

Commit 4bd5052

Browse files
Merge pull request #2960 from larsmaes-sogeti/patch-1
Fix Microsoft.Security autogeneration
2 parents 022893c + 4285bf2 commit 4bd5052

File tree

1 file changed

+35
-23
lines changed

1 file changed

+35
-23
lines changed

generator/autogenlist.ts

Lines changed: 35 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const disabledProviders: AutoGenConfig[] = [
9696
namespace: 'Microsoft.ServiceFabricMesh',
9797
disabledForAutogen: true,
9898
},
99-
{
99+
{
100100
// Disabled as the swagger spec contains a bug (enum mismatch - missing: ProvisioningStateEnum)
101101
basePath: 'operationalinsights/resource-manager',
102102
namespace: 'Microsoft.OperationalInsights',
@@ -216,7 +216,7 @@ const autoGenList: AutoGenConfig[] = [
216216
basePath: 'azurestack/resource-manager',
217217
namespace: 'Microsoft.AzureStack',
218218
},
219-
{
219+
{
220220
basePath: 'batch/resource-manager',
221221
namespace: 'Microsoft.Batch',
222222
},
@@ -410,14 +410,14 @@ const autoGenList: AutoGenConfig[] = [
410410
namespace: 'Microsoft.DesktopVirtualization',
411411
},
412412
{
413-
basePath: 'digitaltwins/resource-manager',
414-
namespace: 'Microsoft.DigitalTwins',
415-
resourceConfig: [
416-
{
417-
type: 'integrationResources',
418-
scopes: ScopeType.Extension,
419-
}
420-
]
413+
basePath: 'digitaltwins/resource-manager',
414+
namespace: 'Microsoft.DigitalTwins',
415+
resourceConfig: [
416+
{
417+
type: 'integrationResources',
418+
scopes: ScopeType.Extension,
419+
}
420+
]
421421
},
422422
{
423423
basePath: 'deviceprovisioningservices/resource-manager',
@@ -444,11 +444,11 @@ const autoGenList: AutoGenConfig[] = [
444444
basePath: 'resourcegraph/resource-manager',
445445
namespace: 'Microsoft.ResourceGraph',
446446
},
447-
{
447+
{
448448
basePath: 'redis/resource-manager',
449449
namespace: 'Microsoft.Cache',
450450
},
451-
{
451+
{
452452
basePath: 'redisenterprise/resource-manager',
453453
namespace: 'Microsoft.Cache',
454454
suffix: 'Enterprise'
@@ -489,7 +489,7 @@ const autoGenList: AutoGenConfig[] = [
489489
{
490490
basePath: 'healthcareapis/resource-manager',
491491
namespace: 'Microsoft.HealthcareApis',
492-
},
492+
},
493493
{
494494
basePath: 'hybridcompute/resource-manager',
495495
namespace: 'Microsoft.HybridCompute',
@@ -542,7 +542,7 @@ const autoGenList: AutoGenConfig[] = [
542542
basePath: 'labservices/resource-manager',
543543
namespace: 'Microsoft.LabServices',
544544
},
545-
{
545+
{
546546
basePath: 'eventgrid/resource-manager',
547547
namespace: 'Microsoft.EventGrid',
548548
resourceConfig: [
@@ -641,8 +641,8 @@ const autoGenList: AutoGenConfig[] = [
641641
namespace: 'Microsoft.NetApp',
642642
},
643643
{
644-
basePath: 'notificationhubs/resource-manager',
645-
namespace: 'Microsoft.NotificationHubs'
644+
basePath: 'notificationhubs/resource-manager',
645+
namespace: 'Microsoft.NotificationHubs'
646646
},
647647
{
648648
basePath: 'policyinsights/resource-manager',
@@ -866,6 +866,18 @@ const autoGenList: AutoGenConfig[] = [
866866
type: 'iotSites',
867867
scopes: ScopeType.Subscription | ScopeType.ResourceGroup | ScopeType.Extension,
868868
},
869+
{
870+
type: 'assessments/governanceAssignments',
871+
scopes: ScopeType.Subscription,
872+
},
873+
{
874+
type: 'governanceRules',
875+
scopes: ScopeType.Subscription,
876+
},
877+
{
878+
type: 'defenderForStorageSettings',
879+
scopes: ScopeType.Subscription,
880+
},
869881
]
870882
},
871883
{
@@ -910,28 +922,28 @@ const autoGenList: AutoGenConfig[] = [
910922
basePath: 'visualstudio/resource-manager',
911923
namespace: 'Microsoft.VisualStudio',
912924
},
913-
{
925+
{
914926
basePath: 'sql/resource-manager',
915927
namespace: 'Microsoft.Sql',
916928
},
917-
{
929+
{
918930
basePath: 'scheduler/resource-manager',
919931
namespace: 'Microsoft.Scheduler',
920932
},
921933
{
922934
basePath: 'search/resource-manager',
923935
namespace: 'Microsoft.Search',
924936
},
925-
{
937+
{
926938
basePath: 'subscription/resource-manager',
927939
namespace: 'Microsoft.Subscription',
928940
},
929-
{
941+
{
930942
basePath: 'storsimple8000series/resource-manager',
931943
namespace: 'Microsoft.StorSimple',
932944
suffix: '8000',
933945
},
934-
{
946+
{
935947
basePath: 'support/resource-manager',
936948
namespace: 'Microsoft.Support',
937949
},
@@ -1107,10 +1119,10 @@ const autoGenList: AutoGenConfig[] = [
11071119
{
11081120
basePath: 'network/resource-manager',
11091121
namespace: 'Microsoft.Network',
1110-
postProcessor: networkPostProcessor,
1122+
postProcessor: networkPostProcessor,
11111123
suffix: 'NRP'
11121124
},
1113-
{
1125+
{
11141126
basePath: 'dnsresolver/resource-manager',
11151127
namespace: 'Microsoft.Network',
11161128
suffix: 'DnsResolver',

0 commit comments

Comments
 (0)