diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2022-12-27/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2022-12-27/HybridCompute.json index 31bde3f3971e..35fe24b6e395 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2022-12-27/HybridCompute.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2022-12-27/HybridCompute.json @@ -56,7 +56,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the hybrid machine." @@ -112,7 +112,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the hybrid machine." @@ -168,7 +168,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the hybrid machine." @@ -215,7 +215,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the hybrid machine." @@ -488,7 +488,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the machine where the extension should be created or updated." @@ -555,7 +555,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the machine where the extension should be created or updated." @@ -637,7 +637,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the machine where the extension should be deleted." @@ -710,7 +710,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the machine containing the extension." @@ -766,7 +766,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the machine containing the extension." @@ -831,7 +831,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the hybrid machine." @@ -1065,7 +1065,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the hybrid machine." @@ -1712,7 +1712,6 @@ "type": "object", "properties": { "properties": { - "x-ms-client-flatten": true, "$ref": "#/definitions/MachineExtensionProperties", "description": "Describes Machine Extension Properties." }