From 4844fe08bfd144edbb52ecb8ae56b687ed578b74 Mon Sep 17 00:00:00 2001 From: roytan-microsoft <73565668+roytan-microsoft@users.noreply.github.com> Date: Wed, 30 Dec 2020 01:26:28 -0800 Subject: [PATCH] [Hub Generated] Review request for Microsoft.MixedReality to add version preview/2019-12-02-preview (#11769) * fix for swagger completeness * forgot curly brace * fix example --- ...heckNameAvailabilityForLocalUniqueness.json | 2 +- .../preview/2019-12-02-preview/proxy.json | 18 +++++------------- .../2019-12-02-preview/remote-rendering.json | 4 ++++ .../2019-12-02-preview/spatial-anchors.json | 4 ++++ 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/proxy/CheckNameAvailabilityForLocalUniqueness.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/proxy/CheckNameAvailabilityForLocalUniqueness.json index 55760ca21f3b..73fd74e8faa1 100644 --- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/proxy/CheckNameAvailabilityForLocalUniqueness.json +++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/examples/proxy/CheckNameAvailabilityForLocalUniqueness.json @@ -11,7 +11,7 @@ "responses": { "200": { "body": { - "nameAvailable": "false", + "nameAvailable": false, "reason": "AlreadyExists", "message": "..." } diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/proxy.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/proxy.json index 72049cad4544..42788fe33f37 100644 --- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/proxy.json +++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/proxy.json @@ -141,7 +141,7 @@ "properties": { "nameAvailable": { "description": "if name Available", - "$ref": "#/definitions/NameAvailability" + "type": "boolean" }, "reason": { "description": "Resource Name To Verify", @@ -164,6 +164,10 @@ "display": { "description": "The object that represents the operation.", "$ref": "#/definitions/OperationDisplay" + }, + "isDataAction": { + "description": "Whether or not this is a data plane operation", + "type": "boolean" } } }, @@ -195,18 +199,6 @@ } } }, - "NameAvailability": { - "description": "Whether or not the name is available.", - "type": "string", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "name": "NameAvailability", - "modelAsString": true - } - }, "NameUnavailableReason": { "description": "reason of name unavailable.", "type": "string", diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/remote-rendering.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/remote-rendering.json index 8b18e79e51c4..771b2e2497fd 100644 --- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/remote-rendering.json +++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/remote-rendering.json @@ -390,6 +390,10 @@ "x-ms-client-flatten": true, "description": "Property bag.", "$ref": "./common.json#/definitions/MixedRealityAccountProperties" + }, + "identity": { + "description": "The identity associated with this account", + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity" } } }, diff --git a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/spatial-anchors.json b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/spatial-anchors.json index 53795b91d58d..8e9bf08872ed 100644 --- a/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/spatial-anchors.json +++ b/specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2019-12-02-preview/spatial-anchors.json @@ -390,6 +390,10 @@ "x-ms-client-flatten": true, "description": "Property bag.", "$ref": "./common.json#/definitions/MixedRealityAccountProperties" + }, + "identity": { + "description": "The identity associated with this account", + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity" } } },