From db9143e7ac44ca4f0e04299a36b123d41be0ec62 Mon Sep 17 00:00:00 2001 From: Mike Pateras Date: Mon, 26 Jul 2021 14:08:04 -0400 Subject: [PATCH] Fixed order C# needs required fields to be before any optional fields. Because username and password are no longer required, autorest is ordering these parameters alphabetically. --- .../stable/2021-06-01/BatchManagement.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2021-06-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2021-06-01/BatchManagement.json index 295b83ff972e..e1157bc679ba 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2021-06-01/BatchManagement.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2021-06-01/BatchManagement.json @@ -4258,11 +4258,6 @@ "ContainerRegistry": { "type": "object", "properties": { - "registryServer": { - "type": "string", - "title": "The registry URL.", - "description": "If omitted, the default is \"docker.io\"." - }, "username": { "type": "string", "x-ms-client-name": "userName", @@ -4272,6 +4267,11 @@ "type": "string", "title": "The password to log into the registry server." }, + "registryServer": { + "type": "string", + "title": "The registry URL.", + "description": "If omitted, the default is \"docker.io\"." + }, "identityReference": { "title": "The reference to the user assigned identity to use to access an Azure Container Registry instead of username and password.", "$ref": "#/definitions/ComputeNodeIdentityReference"