Skip to content

Commit

Permalink
Merge pull request #1361 from Azure/revert-1075-master
Browse files Browse the repository at this point in the history
Revert "Onboarding authorization for autogeneration"
  • Loading branch information
jorgecotillo authored Nov 20, 2020
2 parents 09cd940 + ee8d2aa commit 8e56d13
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 831 deletions.
70 changes: 28 additions & 42 deletions generator/autogenlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const autogenlist: AutogenlistConfig[] = [
basePath: 'adhybridhealthservice/resource-manager',
namespace: 'Microsoft.ADHybridHealthService',
},
{
{
basePath: 'cdn/resource-manager',
namespace: 'Microsoft.Cdn',
},
Expand Down Expand Up @@ -50,20 +50,6 @@ const autogenlist: AutogenlistConfig[] = [
basePath: 'attestation/resource-manager',
namespace: 'Microsoft.Attestation',
},
{
basePath: 'authorization/resource-manager',
namespace: 'Microsoft.Authorization',
resourceConfig: [
{
type: 'roleAssignments',
scopes: ScopeType.Tenant | ScopeType.Subcription | ScopeType.ResourceGroup | ScopeType.ManagementGroup,
},
{
type: 'roleDefinitions',
scopes: ScopeType.Tenant | ScopeType.Subcription | ScopeType.ResourceGroup | ScopeType.ManagementGroup,
},
]
},
{
basePath: 'automation/resource-manager',
namespace: 'Microsoft.Automation',
Expand All @@ -76,11 +62,11 @@ const autogenlist: AutogenlistConfig[] = [
basePath: 'azurestack/resource-manager',
namespace: 'Microsoft.AzureStack',
},
{
{
basePath: 'batch/resource-manager',
namespace: 'Microsoft.Batch',
},
{
{
basePath: 'batchai/resource-manager',
namespace: 'Microsoft.BatchAI',
},
Expand Down Expand Up @@ -156,7 +142,7 @@ const autogenlist: AutogenlistConfig[] = [
basePath: 'databox/resource-manager',
namespace: 'Microsoft.DataBox',
},
{
{
basePath: 'operationalinsights/resource-manager',
namespace: 'Microsoft.OperationalInsights',
},
Expand Down Expand Up @@ -219,14 +205,14 @@ const autogenlist: AutogenlistConfig[] = [
namespace: 'Microsoft.DesktopVirtualization',
},
{
basePath: 'digitaltwins/resource-manager',
namespace: 'Microsoft.DigitalTwins',
resourceConfig: [
{
type: 'integrationResources',
scopes: ScopeType.Extension,
}
]
basePath: 'digitaltwins/resource-manager',
namespace: 'Microsoft.DigitalTwins',
resourceConfig: [
{
type: 'integrationResources',
scopes: ScopeType.Extension,
}
]
},
{
basePath: 'deviceprovisioningservices/resource-manager',
Expand All @@ -253,7 +239,7 @@ const autogenlist: AutogenlistConfig[] = [
basePath: 'resourcegraph/resource-manager',
namespace: 'Microsoft.ResourceGraph',
},
{
{
basePath: 'redis/resource-manager',
namespace: 'Microsoft.Cache',
},
Expand All @@ -266,14 +252,14 @@ const autogenlist: AutogenlistConfig[] = [
namespace: 'Microsoft.HDInsight',
},
{
basePath: 'resourcehealth/resource-manager',
namespace: 'Microsoft.ResourceHealth',
},
        basePath: 'resourcehealth/resource-manager',
        namespace: 'Microsoft.ResourceHealth',
    },
{
basePath: 'EnterpriseKnowledgeGraph/resource-manager',
namespace: 'Microsoft.EnterpriseKnowledgeGraph',
},
{
{
basePath: 'domainservices/resource-manager',
namespace: 'Microsoft.AAD',
},
Expand Down Expand Up @@ -326,7 +312,7 @@ const autogenlist: AutogenlistConfig[] = [
basePath: 'labservices/resource-manager',
namespace: 'Microsoft.LabServices',
},
{
{
basePath: 'eventgrid/resource-manager',
namespace: 'Microsoft.EventGrid',
resourceConfig: [
Expand Down Expand Up @@ -408,8 +394,8 @@ const autogenlist: AutogenlistConfig[] = [
namespace: 'Microsoft.NetApp',
},
{
basePath: 'notificationhubs/resource-manager',
namespace: 'Microsoft.NotificationHubs'
basePath: 'notificationhubs/resource-manager',
namespace: 'Microsoft.NotificationHubs'
},
{
basePath: 'policyinsights/resource-manager',
Expand Down Expand Up @@ -517,10 +503,10 @@ const autogenlist: AutogenlistConfig[] = [
namespace: 'Microsoft.ImportExport'
},
{
basePath: 'storSimple1200Series/resource-manager',
namespace: 'Microsoft.StorSimple',
        basePath: 'storSimple1200Series/resource-manager',
        namespace: 'Microsoft.StorSimple',
suffix: '1200'
},
    },
{
basePath: 'storage/resource-manager',
namespace: 'Microsoft.Storage',
Expand All @@ -534,28 +520,28 @@ const autogenlist: AutogenlistConfig[] = [
basePath: 'visualstudio/resource-manager',
namespace: 'Microsoft.VisualStudio',
},
{
{
basePath: 'sql/resource-manager',
namespace: 'Microsoft.Sql',
},
{
{
basePath: 'scheduler/resource-manager',
namespace: 'Microsoft.Scheduler',
},
{
basePath: 'search/resource-manager',
namespace: 'Microsoft.Search',
},
{
{
basePath: 'subscription/resource-manager',
namespace: 'Microsoft.Subscription',
},
{
{
basePath: 'storsimple8000series/resource-manager',
namespace: 'Microsoft.StorSimple',
suffix: '8000',
},
{
{
basePath: 'support/resource-manager',
namespace: 'Microsoft.Support',
},
Expand Down
187 changes: 0 additions & 187 deletions schemas/2015-07-01/Microsoft.Authorization.json

This file was deleted.

Loading

0 comments on commit 8e56d13

Please sign in to comment.