From c83b6a9d7e5209509e39f6dc4c48b75c0433ba26 Mon Sep 17 00:00:00 2001 From: alecbaird Date: Thu, 1 Dec 2022 13:43:46 -0700 Subject: [PATCH] reverted mistaken common type edit and added pattern to parameters --- specification/common-types/resource-management/v1/types.json | 1 - .../preview/2022-10-14-preview/desktopvirtualization.json | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/common-types/resource-management/v1/types.json b/specification/common-types/resource-management/v1/types.json index 00ad4492d313..71216592bf7c 100644 --- a/specification/common-types/resource-management/v1/types.json +++ b/specification/common-types/resource-management/v1/types.json @@ -569,7 +569,6 @@ "in": "path", "required": true, "type": "string", - "pattern": "^[a-z][a-z0-9]*$", "description": "The name of the resource group. The name is case insensitive.", "minLength": 1, "maxLength": 90, diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2022-10-14-preview/desktopvirtualization.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2022-10-14-preview/desktopvirtualization.json index 2dd2304b45b7..48c42aa8f54c 100644 --- a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2022-10-14-preview/desktopvirtualization.json +++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2022-10-14-preview/desktopvirtualization.json @@ -6341,6 +6341,7 @@ "in": "path", "required": true, "type": "string", + "pattern": "^[a-z][a-z0-9]*$", "description": "The name of the host pool within the specified resource group", "maxLength": 64, "minLength": 3, @@ -6391,6 +6392,7 @@ "in": "path", "required": true, "type": "string", + "pattern": "^[a-z][a-z0-9]*$", "description": "The name of the workspace", "maxLength": 64, "minLength": 3,