Skip to content

Commit

Permalink
Merge pull request #3047 from Azure/ant/hdiaks
Browse files Browse the repository at this point in the history
Enable autogen for HDInsight on AKS
  • Loading branch information
anthony-c-martin authored Apr 11, 2024
2 parents a4fb04b + 56608ea commit a174acf
Show file tree
Hide file tree
Showing 6 changed files with 5,802 additions and 731 deletions.
31 changes: 19 additions & 12 deletions generator/autogenlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,6 @@ const disabledProviders: AutoGenConfig[] = [
namespace: 'Microsoft.ConfidentialLedger',
disabledForAutogen: true
},
{
basePath: 'containerservice/resource-manager/Microsoft.ContainerService/aks',
namespace: 'Microsoft.ContainerService',
useNamespaceFromConfig: true,
suffix: 'Aks'
},
{
basePath: 'containerservice/resource-manager/Microsoft.ContainerService/fleet',
namespace: 'Microsoft.ContainerService',
useNamespaceFromConfig: true,
suffix: 'Fleet'
},
];

// Run "npm run list-basepaths" to discover all the valid readme files to add to this list
Expand Down Expand Up @@ -1160,6 +1148,25 @@ const autoGenList: AutoGenConfig[] = [
},
]
},
{
basePath: 'containerservice/resource-manager/Microsoft.ContainerService/aks',
namespace: 'Microsoft.ContainerService',
useNamespaceFromConfig: true,
suffix: 'Aks'
},
{
basePath: 'containerservice/resource-manager/Microsoft.ContainerService/fleet',
namespace: 'Microsoft.ContainerService',
useNamespaceFromConfig: true,
suffix: 'Fleet'
},
{
basePath: 'hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks',
namespace: 'Microsoft.HDInsight',
useNamespaceFromConfig: true,
useAutorestV2: true,
suffix: 'OnAks',
},
];

export function findAutogenEntries(basePath: string): AutoGenConfig[] {
Expand Down
4 changes: 1 addition & 3 deletions schemas/2019-04-01/deploymentTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -661,9 +661,7 @@
{ "$ref": "https://schema.management.azure.com/schemas/2022-05-05-preview/Microsoft.PlayFab.json#/resourceDefinitions/titles" },
{ "$ref": "https://schema.management.azure.com/schemas/2022-05-05-preview/Microsoft.PlayFab.json#/resourceDefinitions/titles_segments" },
{ "$ref": "https://schema.management.azure.com/schemas/2022-05-05-preview/Microsoft.PlayFab.json#/resourceDefinitions/titles_titledatasets" },
{ "$ref": "https://schema.management.azure.com/schemas/2022-05-05-preview/Microsoft.PlayFab.json#/resourceDefinitions/titles_titleinternaldatasets" },
{ "$ref": "https://schema.management.azure.com/schemas/2023-06-01-preview/Microsoft.HDInsight.json#/resourceDefinitions/clusterpools" },
{ "$ref": "https://schema.management.azure.com/schemas/2023-06-01-preview/Microsoft.HDInsight.json#/resourceDefinitions/clusterpools_clusters" }
{ "$ref": "https://schema.management.azure.com/schemas/2022-05-05-preview/Microsoft.PlayFab.json#/resourceDefinitions/titles_titleinternaldatasets" }
]
}
]
Expand Down
Loading

0 comments on commit a174acf

Please sign in to comment.