From 4c66777ab5c461c62b1bf1c259a2045f2c67530c Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 24 May 2021 03:11:23 +0000 Subject: [PATCH] CodeGen from PR 14439 in Azure/azure-rest-api-specs SQL - Add Resource Identity swagger to common v2 (#14439) * Add Resource Identity swagger to common v2 * Change version number * Changed version num. Removed parameters --- schemas/2020-11-01-preview/Microsoft.Sql.json | 6 +++--- schemas/2021-02-01-preview/Microsoft.Sql.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/schemas/2020-11-01-preview/Microsoft.Sql.json b/schemas/2020-11-01-preview/Microsoft.Sql.json index 42ed01324f..51283ce3e7 100644 --- a/schemas/2020-11-01-preview/Microsoft.Sql.json +++ b/schemas/2020-11-01-preview/Microsoft.Sql.json @@ -164,7 +164,7 @@ "identity": { "oneOf": [ { - "$ref": "#/definitions/ResourceIdentityWithUserAssignedIdentities" + "$ref": "#/definitions/ResourceIdentity" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -1089,7 +1089,7 @@ "identity": { "oneOf": [ { - "$ref": "#/definitions/ResourceIdentityWithUserAssignedIdentities" + "$ref": "#/definitions/ResourceIdentity" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -5993,7 +5993,7 @@ "status" ] }, - "ResourceIdentityWithUserAssignedIdentities": { + "ResourceIdentity": { "type": "object", "properties": { "type": { diff --git a/schemas/2021-02-01-preview/Microsoft.Sql.json b/schemas/2021-02-01-preview/Microsoft.Sql.json index f84669f0e5..341a28eb19 100644 --- a/schemas/2021-02-01-preview/Microsoft.Sql.json +++ b/schemas/2021-02-01-preview/Microsoft.Sql.json @@ -164,7 +164,7 @@ "identity": { "oneOf": [ { - "$ref": "#/definitions/ResourceIdentityWithUserAssignedIdentities" + "$ref": "#/definitions/ResourceIdentity" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -1089,7 +1089,7 @@ "identity": { "oneOf": [ { - "$ref": "#/definitions/ResourceIdentityWithUserAssignedIdentities" + "$ref": "#/definitions/ResourceIdentity" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -6109,7 +6109,7 @@ "status" ] }, - "ResourceIdentityWithUserAssignedIdentities": { + "ResourceIdentity": { "type": "object", "properties": { "type": {