From 5fa05b7d4e9e87e1183f73f3936282b602901fe1 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 28 Oct 2022 07:33:23 +0000 Subject: [PATCH] CodeGen from PR 21128 in Azure/azure-rest-api-specs Merge 6d4365eb6ead06264dd06ab636e3cbf84c41edf7 into e82a24def11ffc98cc263884f9f1742c99f2df5e --- schemas/2022-08-08/Microsoft.Automation.json | 26 ++++++++++++++++---- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/schemas/2022-08-08/Microsoft.Automation.json b/schemas/2022-08-08/Microsoft.Automation.json index aeaa1184d6..005160db60 100644 --- a/schemas/2022-08-08/Microsoft.Automation.json +++ b/schemas/2022-08-08/Microsoft.Automation.json @@ -47,9 +47,6 @@ "type": "array", "items": { "oneOf": [ - { - "$ref": "#/definitions/automationAccounts_python3Packages_childResource" - }, { "$ref": "#/definitions/automationAccounts_certificates_childResource" }, @@ -83,6 +80,9 @@ { "$ref": "#/definitions/automationAccounts_python2Packages_childResource" }, + { + "$ref": "#/definitions/automationAccounts_python3Packages_childResource" + }, { "$ref": "#/definitions/automationAccounts_runbooks_childResource" }, @@ -749,7 +749,15 @@ "description": "Gets or sets the location of the resource." }, "name": { - "type": "string", + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], "description": "The runbook name." }, "properties": { @@ -1808,7 +1816,15 @@ "description": "Gets or sets the location of the resource." }, "name": { - "type": "string", + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], "description": "The runbook name." }, "properties": {