Skip to content

Commit a174acf

Browse files
Merge pull request #3047 from Azure/ant/hdiaks
Enable autogen for HDInsight on AKS
2 parents a4fb04b + 56608ea commit a174acf

File tree

6 files changed

+5802
-731
lines changed

6 files changed

+5802
-731
lines changed

generator/autogenlist.ts

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -109,18 +109,6 @@ const disabledProviders: AutoGenConfig[] = [
109109
namespace: 'Microsoft.ConfidentialLedger',
110110
disabledForAutogen: true
111111
},
112-
{
113-
basePath: 'containerservice/resource-manager/Microsoft.ContainerService/aks',
114-
namespace: 'Microsoft.ContainerService',
115-
useNamespaceFromConfig: true,
116-
suffix: 'Aks'
117-
},
118-
{
119-
basePath: 'containerservice/resource-manager/Microsoft.ContainerService/fleet',
120-
namespace: 'Microsoft.ContainerService',
121-
useNamespaceFromConfig: true,
122-
suffix: 'Fleet'
123-
},
124112
];
125113

126114
// Run "npm run list-basepaths" to discover all the valid readme files to add to this list
@@ -1160,6 +1148,25 @@ const autoGenList: AutoGenConfig[] = [
11601148
},
11611149
]
11621150
},
1151+
{
1152+
basePath: 'containerservice/resource-manager/Microsoft.ContainerService/aks',
1153+
namespace: 'Microsoft.ContainerService',
1154+
useNamespaceFromConfig: true,
1155+
suffix: 'Aks'
1156+
},
1157+
{
1158+
basePath: 'containerservice/resource-manager/Microsoft.ContainerService/fleet',
1159+
namespace: 'Microsoft.ContainerService',
1160+
useNamespaceFromConfig: true,
1161+
suffix: 'Fleet'
1162+
},
1163+
{
1164+
basePath: 'hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks',
1165+
namespace: 'Microsoft.HDInsight',
1166+
useNamespaceFromConfig: true,
1167+
useAutorestV2: true,
1168+
suffix: 'OnAks',
1169+
},
11631170
];
11641171

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

schemas/2019-04-01/deploymentTemplate.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -661,9 +661,7 @@
661661
{ "$ref": "https://schema.management.azure.com/schemas/2022-05-05-preview/Microsoft.PlayFab.json#/resourceDefinitions/titles" },
662662
{ "$ref": "https://schema.management.azure.com/schemas/2022-05-05-preview/Microsoft.PlayFab.json#/resourceDefinitions/titles_segments" },
663663
{ "$ref": "https://schema.management.azure.com/schemas/2022-05-05-preview/Microsoft.PlayFab.json#/resourceDefinitions/titles_titledatasets" },
664-
{ "$ref": "https://schema.management.azure.com/schemas/2022-05-05-preview/Microsoft.PlayFab.json#/resourceDefinitions/titles_titleinternaldatasets" },
665-
{ "$ref": "https://schema.management.azure.com/schemas/2023-06-01-preview/Microsoft.HDInsight.json#/resourceDefinitions/clusterpools" },
666-
{ "$ref": "https://schema.management.azure.com/schemas/2023-06-01-preview/Microsoft.HDInsight.json#/resourceDefinitions/clusterpools_clusters" }
664+
{ "$ref": "https://schema.management.azure.com/schemas/2022-05-05-preview/Microsoft.PlayFab.json#/resourceDefinitions/titles_titleinternaldatasets" }
667665
]
668666
}
669667
]

0 commit comments

Comments
 (0)