From a9694f038563b6600cacb177465b9e1390df027a Mon Sep 17 00:00:00 2001 From: Matt Boersma Date: Tue, 5 Mar 2019 10:59:53 -0700 Subject: [PATCH] Add regex validation for ManagedClusterAgentPoolProfile.name --- .../stable/2018-03-31/managedClusters.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json index b12567ed2abf..0b00fbf5f352 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json @@ -1035,7 +1035,8 @@ "properties": { "name": { "type": "string", - "description": "Unique name of the agent pool profile in the context of the subscription and resource group." + "description": "Unique name of the agent pool profile in the context of the subscription and resource group.", + "pattern": "^[a-z][a-z0-9]{0,11}$" }, "count": { "type": "integer",