From 14c66e74f4432f7d6894b61d9a4defb701ac5d01 Mon Sep 17 00:00:00 2001 From: Neo-MS Date: Mon, 26 May 2025 17:39:17 +1200 Subject: [PATCH] add status for MC and AP in stable swagger --- .../stable/2025-04-01/managedClusters.json | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2025-04-01/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2025-04-01/managedClusters.json index b2ba84f86840..334981e37938 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2025-04-01/managedClusters.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2025-04-01/managedClusters.json @@ -3590,6 +3590,10 @@ }, "virtualMachineNodesStatus": { "$ref": "#/definitions/VirtualMachineNodesStatus" + }, + "status": { + "$ref": "#/definitions/AgentPoolStatus", + "description": "Contains read-only information about the Agent Pool." } }, "description": "Properties for the container service agent pool profile." @@ -5249,6 +5253,10 @@ "bootstrapProfile": { "$ref": "#/definitions/ManagedClusterBootstrapProfile", "description": "Profile of the cluster bootstrap configuration." + }, + "status": { + "$ref": "#/definitions/ManagedClusterStatus", + "description": "Contains read-only information about the Managed Cluster." } }, "description": "Properties of the managed cluster." @@ -6219,6 +6227,30 @@ }, "description": "An error response from the Container service." }, + "ManagedClusterStatus": { + "type": "object", + "properties": { + "provisioningError": { + "$ref": "#/definitions/CloudErrorBody", + "title": "The error details information of the managed cluster.", + "readOnly": true, + "description": "Preserves the detailed info of failure. If there was no error, this field is omitted." + } + }, + "description": "Contains read-only information about the Managed Cluster." + }, + "AgentPoolStatus": { + "type": "object", + "properties": { + "provisioningError": { + "$ref": "#/definitions/CloudErrorBody", + "title": "The error detail information of the agent pool.", + "readOnly": true, + "description": "Preserves the detailed info of failure. If there was no error, this field is omitted." + } + }, + "description": "Contains read-only information about the Agent Pool." + }, "CloudErrorBody": { "type": "object", "x-ms-external": true,