From 013f305c950d58e81a059924e300485c655b2a31 Mon Sep 17 00:00:00 2001 From: Jared Erwin Date: Fri, 20 Dec 2019 11:49:24 -0800 Subject: [PATCH 1/3] Add Identity property to the healthcareapis resource --- .../stable/2019-09-16/healthcare-apis.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2019-09-16/healthcare-apis.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2019-09-16/healthcare-apis.json index 3c7ea1171836..482294b6ba21 100644 --- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2019-09-16/healthcare-apis.json +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2019-09-16/healthcare-apis.json @@ -681,6 +681,23 @@ "etag": { "description": "An etag associated with the resource, used for optimistic concurrency when editing it.", "type": "string" + }, + "identity": { + "type": "object", + "description": "Setting indicating whether the service has a managed identity associated with it.", + "properties": { + "type":{ + "type": "string", + "enum": [ + "SystemAssigned", + "None" + ], + "x-ms-enum": { + "name": "ManagedServiceIdentityType", + "modelAsString": false + } + } + } } }, "x-ms-azure-resource": true, From 99ba7069a502ccd876f8b01714eba3aacaa5bc83 Mon Sep 17 00:00:00 2001 From: Jared Erwin Date: Fri, 20 Dec 2019 11:55:51 -0800 Subject: [PATCH 2/3] Update description on identity type --- .../stable/2019-09-16/healthcare-apis.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2019-09-16/healthcare-apis.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2019-09-16/healthcare-apis.json index 482294b6ba21..33ae35cd6b5c 100644 --- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2019-09-16/healthcare-apis.json +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2019-09-16/healthcare-apis.json @@ -687,6 +687,7 @@ "description": "Setting indicating whether the service has a managed identity associated with it.", "properties": { "type":{ + "description" : "Type of identity being specified, currently SystemAssigned and None are allowed.", "type": "string", "enum": [ "SystemAssigned", From 14f40d11c3c6df2ef9358debb1c205671f5bc7d0 Mon Sep 17 00:00:00 2001 From: Jared Erwin Date: Tue, 7 Jan 2020 09:07:47 -0800 Subject: [PATCH 3/3] Change enum to model as string --- .../stable/2019-09-16/healthcare-apis.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2019-09-16/healthcare-apis.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2019-09-16/healthcare-apis.json index 33ae35cd6b5c..9ed9c916676a 100644 --- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2019-09-16/healthcare-apis.json +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2019-09-16/healthcare-apis.json @@ -695,7 +695,7 @@ ], "x-ms-enum": { "name": "ManagedServiceIdentityType", - "modelAsString": false + "modelAsString": true } } }