Skip to content

Commit afe6b13

Browse files
Fix AKS TypeSpec validation and regenerate specs
1 parent d256e9f commit afe6b13

File tree

4 files changed

+46
-23
lines changed

4 files changed

+46
-23
lines changed

specification/containerservice/resource-manager/Microsoft.ContainerService/aks/AgentPoolModels.tsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ model ManagedClusterAgentPoolProfileProperties {
393393
/**
394394
* Settings to determine the node customization used to provision nodes in a pool.
395395
*/
396-
@added(Versions.v2026_01_02_preview)
396+
@added(Versions.v2026_02_01)
397397
@removed(Versions.v2026_02_02_preview)
398398
nodeCustomizationProfile?: NodeCustomizationProfile;
399399

@@ -1057,7 +1057,7 @@ model LocalDNSOverride {
10571057
/**
10581058
* Settings to determine the node customization used to provision nodes in a pool.
10591059
*/
1060-
@added(Versions.v2026_01_02_preview)
1060+
@added(Versions.v2026_02_01)
10611061
@removed(Versions.v2026_02_02_preview)
10621062
model NodeCustomizationProfile {
10631063
/**

specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2026-02-02-preview/managedClusters.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10490,9 +10490,9 @@
1049010490
"$ref": "#/definitions/LocalDNSProfile",
1049110491
"description": "Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns."
1049210492
},
10493-
"nodeCustomizationProfile": {
10494-
"$ref": "#/definitions/NodeCustomizationProfile",
10495-
"description": "Settings to determine the node customization used to provision nodes in a pool."
10493+
"preparedImageSpecificationProfile": {
10494+
"$ref": "#/definitions/PreparedImageSpecificationProfile",
10495+
"description": "Settings to determine the prepared image specification used to provision nodes in a pool."
1049610496
}
1049710497
}
1049810498
},
@@ -13276,24 +13276,6 @@
1327613276
]
1327713277
}
1327813278
},
13279-
"NodeCustomizationProfile": {
13280-
"type": "object",
13281-
"description": "Settings to determine the node customization used to provision nodes in a pool.",
13282-
"properties": {
13283-
"nodeCustomizationId": {
13284-
"type": "string",
13285-
"format": "arm-id",
13286-
"description": "The resource ID of the node customization resource to use. This can be a version. Omitting the version will use the latest version of the node customization.",
13287-
"x-ms-arm-id-details": {
13288-
"allowedResources": [
13289-
{
13290-
"type": "Microsoft.ContainerService/nodeCustomizations"
13291-
}
13292-
]
13293-
}
13294-
}
13295-
}
13296-
},
1329713279
"NodeImageVersion": {
1329813280
"type": "object",
1329913281
"description": "node image version profile for given major.minor.patch release.",
@@ -13765,6 +13747,24 @@
1376513747
}
1376613748
}
1376713749
},
13750+
"PreparedImageSpecificationProfile": {
13751+
"type": "object",
13752+
"description": "Settings to determine the prepared image specification used to provision nodes in a pool.",
13753+
"properties": {
13754+
"preparedImageSpecificationId": {
13755+
"type": "string",
13756+
"format": "arm-id",
13757+
"description": "The resource ID of the prepared image specification resource to use. This can include a version. Omitting the version will use the latest version of the prepared image specification.",
13758+
"x-ms-arm-id-details": {
13759+
"allowedResources": [
13760+
{
13761+
"type": "Microsoft.ContainerService/preparedImageSpecifications"
13762+
}
13763+
]
13764+
}
13765+
}
13766+
}
13767+
},
1376813768
"PrivateEndpoint": {
1376913769
"type": "object",
1377013770
"description": "Private endpoint which a connection belongs to.",

specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2026-02-01/managedClusters.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6956,6 +6956,10 @@
69566956
"localDNSProfile": {
69576957
"$ref": "#/definitions/LocalDNSProfile",
69586958
"description": "Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns."
6959+
},
6960+
"nodeCustomizationProfile": {
6961+
"$ref": "#/definitions/NodeCustomizationProfile",
6962+
"description": "Settings to determine the node customization used to provision nodes in a pool."
69596963
}
69606964
}
69616965
},
@@ -8927,6 +8931,24 @@
89278931
]
89288932
}
89298933
},
8934+
"NodeCustomizationProfile": {
8935+
"type": "object",
8936+
"description": "Settings to determine the node customization used to provision nodes in a pool.",
8937+
"properties": {
8938+
"nodeCustomizationId": {
8939+
"type": "string",
8940+
"format": "arm-id",
8941+
"description": "The resource ID of the node customization resource to use. This can be a version. Omitting the version will use the latest version of the node customization.",
8942+
"x-ms-arm-id-details": {
8943+
"allowedResources": [
8944+
{
8945+
"type": "Microsoft.ContainerService/nodeCustomizations"
8946+
}
8947+
]
8948+
}
8949+
}
8950+
}
8951+
},
89308952
"NodeOSUpgradeChannel": {
89318953
"type": "string",
89328954
"description": "Node OS Upgrade Channel. Manner in which the OS on your nodes is updated. The default is NodeImage.",

specification/containerservice/resource-manager/Microsoft.ContainerService/aks/tspconfig.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ emit:
55
- "@azure-tools/typespec-autorest"
66
options:
77
"@azure-tools/typespec-autorest":
8+
azure-resource-provider-folder: "resource-manager"
89
omit-unreachable-types: true
910
use-read-only-status-schema: true
1011
emitter-output-dir: "{project-root}"

0 commit comments

Comments
 (0)