Skip to content

Commit 8e56d13

Browse files
authored
Merge pull request #1361 from Azure/revert-1075-master
Revert "Onboarding authorization for autogeneration"
2 parents 09cd940 + ee8d2aa commit 8e56d13

File tree

11 files changed

+38
-831
lines changed

11 files changed

+38
-831
lines changed

generator/autogenlist.ts

Lines changed: 28 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const autogenlist: AutogenlistConfig[] = [
1414
basePath: 'adhybridhealthservice/resource-manager',
1515
namespace: 'Microsoft.ADHybridHealthService',
1616
},
17-
{
17+
{
1818
basePath: 'cdn/resource-manager',
1919
namespace: 'Microsoft.Cdn',
2020
},
@@ -50,20 +50,6 @@ const autogenlist: AutogenlistConfig[] = [
5050
basePath: 'attestation/resource-manager',
5151
namespace: 'Microsoft.Attestation',
5252
},
53-
{
54-
basePath: 'authorization/resource-manager',
55-
namespace: 'Microsoft.Authorization',
56-
resourceConfig: [
57-
{
58-
type: 'roleAssignments',
59-
scopes: ScopeType.Tenant | ScopeType.Subcription | ScopeType.ResourceGroup | ScopeType.ManagementGroup,
60-
},
61-
{
62-
type: 'roleDefinitions',
63-
scopes: ScopeType.Tenant | ScopeType.Subcription | ScopeType.ResourceGroup | ScopeType.ManagementGroup,
64-
},
65-
]
66-
},
6753
{
6854
basePath: 'automation/resource-manager',
6955
namespace: 'Microsoft.Automation',
@@ -76,11 +62,11 @@ const autogenlist: AutogenlistConfig[] = [
7662
basePath: 'azurestack/resource-manager',
7763
namespace: 'Microsoft.AzureStack',
7864
},
79-
{
65+
{
8066
basePath: 'batch/resource-manager',
8167
namespace: 'Microsoft.Batch',
8268
},
83-
{
69+
{
8470
basePath: 'batchai/resource-manager',
8571
namespace: 'Microsoft.BatchAI',
8672
},
@@ -156,7 +142,7 @@ const autogenlist: AutogenlistConfig[] = [
156142
basePath: 'databox/resource-manager',
157143
namespace: 'Microsoft.DataBox',
158144
},
159-
{
145+
{
160146
basePath: 'operationalinsights/resource-manager',
161147
namespace: 'Microsoft.OperationalInsights',
162148
},
@@ -219,14 +205,14 @@ const autogenlist: AutogenlistConfig[] = [
219205
namespace: 'Microsoft.DesktopVirtualization',
220206
},
221207
{
222-
basePath: 'digitaltwins/resource-manager',
223-
namespace: 'Microsoft.DigitalTwins',
224-
resourceConfig: [
225-
{
226-
type: 'integrationResources',
227-
scopes: ScopeType.Extension,
228-
}
229-
]
208+
basePath: 'digitaltwins/resource-manager',
209+
namespace: 'Microsoft.DigitalTwins',
210+
resourceConfig: [
211+
{
212+
type: 'integrationResources',
213+
scopes: ScopeType.Extension,
214+
}
215+
]
230216
},
231217
{
232218
basePath: 'deviceprovisioningservices/resource-manager',
@@ -253,7 +239,7 @@ const autogenlist: AutogenlistConfig[] = [
253239
basePath: 'resourcegraph/resource-manager',
254240
namespace: 'Microsoft.ResourceGraph',
255241
},
256-
{
242+
{
257243
basePath: 'redis/resource-manager',
258244
namespace: 'Microsoft.Cache',
259245
},
@@ -266,14 +252,14 @@ const autogenlist: AutogenlistConfig[] = [
266252
namespace: 'Microsoft.HDInsight',
267253
},
268254
{
269-
basePath: 'resourcehealth/resource-manager',
270-
namespace: 'Microsoft.ResourceHealth',
271-
},
255+
        basePath: 'resourcehealth/resource-manager',
256+
        namespace: 'Microsoft.ResourceHealth',
257+
    },
272258
{
273259
basePath: 'EnterpriseKnowledgeGraph/resource-manager',
274260
namespace: 'Microsoft.EnterpriseKnowledgeGraph',
275261
},
276-
{
262+
{
277263
basePath: 'domainservices/resource-manager',
278264
namespace: 'Microsoft.AAD',
279265
},
@@ -326,7 +312,7 @@ const autogenlist: AutogenlistConfig[] = [
326312
basePath: 'labservices/resource-manager',
327313
namespace: 'Microsoft.LabServices',
328314
},
329-
{
315+
{
330316
basePath: 'eventgrid/resource-manager',
331317
namespace: 'Microsoft.EventGrid',
332318
resourceConfig: [
@@ -408,8 +394,8 @@ const autogenlist: AutogenlistConfig[] = [
408394
namespace: 'Microsoft.NetApp',
409395
},
410396
{
411-
basePath: 'notificationhubs/resource-manager',
412-
namespace: 'Microsoft.NotificationHubs'
397+
basePath: 'notificationhubs/resource-manager',
398+
namespace: 'Microsoft.NotificationHubs'
413399
},
414400
{
415401
basePath: 'policyinsights/resource-manager',
@@ -517,10 +503,10 @@ const autogenlist: AutogenlistConfig[] = [
517503
namespace: 'Microsoft.ImportExport'
518504
},
519505
{
520-
basePath: 'storSimple1200Series/resource-manager',
521-
namespace: 'Microsoft.StorSimple',
506+
        basePath: 'storSimple1200Series/resource-manager',
507+
        namespace: 'Microsoft.StorSimple',
522508
suffix: '1200'
523-
},
509+
    },
524510
{
525511
basePath: 'storage/resource-manager',
526512
namespace: 'Microsoft.Storage',
@@ -534,28 +520,28 @@ const autogenlist: AutogenlistConfig[] = [
534520
basePath: 'visualstudio/resource-manager',
535521
namespace: 'Microsoft.VisualStudio',
536522
},
537-
{
523+
{
538524
basePath: 'sql/resource-manager',
539525
namespace: 'Microsoft.Sql',
540526
},
541-
{
527+
{
542528
basePath: 'scheduler/resource-manager',
543529
namespace: 'Microsoft.Scheduler',
544530
},
545531
{
546532
basePath: 'search/resource-manager',
547533
namespace: 'Microsoft.Search',
548534
},
549-
{
535+
{
550536
basePath: 'subscription/resource-manager',
551537
namespace: 'Microsoft.Subscription',
552538
},
553-
{
539+
{
554540
basePath: 'storsimple8000series/resource-manager',
555541
namespace: 'Microsoft.StorSimple',
556542
suffix: '8000',
557543
},
558-
{
544+
{
559545
basePath: 'support/resource-manager',
560546
namespace: 'Microsoft.Support',
561547
},

schemas/2015-07-01/Microsoft.Authorization.json

Lines changed: 0 additions & 187 deletions
This file was deleted.

0 commit comments

Comments
 (0)