diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2023-12-01/appplatform.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2023-12-01/appplatform.json index dad40ce9cf44..22020b8d6c50 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2023-12-01/appplatform.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2023-12-01/appplatform.json @@ -14597,7 +14597,7 @@ "description": "The name of the application accelerator.", "required": true, "type": "string", - "pattern": "^[a-z][a-z0-9]*$", + "pattern": "^[a-z][a-z0-9-]*[a-z0-9]$", "x-ms-parameter-location": "method" }, "CustomizedAcceleratorNameParameter": { @@ -14606,7 +14606,7 @@ "description": "The name of the customized accelerator.", "required": true, "type": "string", - "pattern": "^[a-z][a-z0-9]*$", + "pattern": "^[a-z][a-z0-9-]*[a-z0-9]$", "x-ms-parameter-location": "method" }, "PredefinedAcceleratorNameParameter": { @@ -14615,7 +14615,7 @@ "description": "The name of the predefined accelerator.", "required": true, "type": "string", - "pattern": "^[a-z][a-z0-9]*$", + "pattern": "^[a-z][a-z0-9-]*[a-z0-9]$", "x-ms-parameter-location": "method" } },