From 96b0ffe95e51f0abf41d30cea7bcf0810ac3f09c Mon Sep 17 00:00:00 2001 From: "NORTHAMERICA\\dramuy" Date: Sun, 25 Jun 2023 21:23:25 -0700 Subject: [PATCH 1/3] Fixing the API-version in ManagedServices examples --- ...GetRegistrationAssignmentsWithManagedByTenantIdEqFilter.json | 2 +- ...GetRegistrationAssignmentsWithManagedByTenantIdInFilter.json | 2 +- ...GetRegistrationDefinitionsWithManagedByTenantIdEqFilter.json | 2 +- ...GetRegistrationDefinitionsWithManagedByTenantIdInFilter.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdEqFilter.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdEqFilter.json index 3c8e0697a084..f3e0923a4de9 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdEqFilter.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdEqFilter.json @@ -1,7 +1,7 @@ { "parameters": { "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", - "api-version": "2021-11-01-preview", + "api-version": "2022-10-01" "$filter": "$filter=managedByTenantId eq '83abe5cd-bcc3-441a-bd86-e6a75360cecc'" }, "responses": { diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdInFilter.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdInFilter.json index b18ec8167784..0d28a637d6f0 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdInFilter.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdInFilter.json @@ -1,7 +1,7 @@ { "parameters": { "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", - "api-version": "2021-11-01-preview", + "api-version": "2022-10-01", "$filter": "$filter=managedByTenantId in (83abe5cd-bcc3-441a-bd86-e6a75360cec, de83f4a9-a76a-4025-a91a-91171923eac7)" }, "responses": { diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdEqFilter.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdEqFilter.json index 35268ae38c50..c6db78b0dc23 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdEqFilter.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdEqFilter.json @@ -1,7 +1,7 @@ { "parameters": { "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", - "api-version": "2021-11-01-preview", + "api-version": "2022-10-01", "$filter": "$filter=managedByTenantId eq '83ace5cd-bcc3-441a-hd86-e6a75360cecc'" }, "responses": { diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdInFilter.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdInFilter.json index 617e9c1597da..773291da1605 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdInFilter.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdInFilter.json @@ -1,7 +1,7 @@ { "parameters": { "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", - "api-version": "2021-11-01-preview", + "api-version": "2022-10-01", "$filter": "$filter=managedByTenantId in (83ace5cd-bcc3-441a-hd86-e6a75360cecc, de83f4a9-a76a-4025-a91a-91171923eac7)" }, "responses": { From 13bf9d6b7b5e56a023769184d8a32c3699d0739e Mon Sep 17 00:00:00 2001 From: "NORTHAMERICA\\dramuy" Date: Mon, 26 Jun 2023 14:20:02 -0700 Subject: [PATCH 2/3] Addressing the swagger errors --- ...tRegistrationAssignmentsWithManagedByTenantIdEqFilter.json | 4 ++-- ...tRegistrationAssignmentsWithManagedByTenantIdInFilter.json | 2 +- ...tRegistrationDefinitionsWithManagedByTenantIdEqFilter.json | 2 +- ...tRegistrationDefinitionsWithManagedByTenantIdInFilter.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdEqFilter.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdEqFilter.json index f3e0923a4de9..ae462694c6c1 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdEqFilter.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdEqFilter.json @@ -1,8 +1,8 @@ { "parameters": { "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", - "api-version": "2022-10-01" - "$filter": "$filter=managedByTenantId eq '83abe5cd-bcc3-441a-bd86-e6a75360cecc'" + "api-version": "2022-10-01", + "$filter": "%24filter%3DmanagedByTenantId+eq+%2783abe5cd-bcc3-441a-bd86-e6a75360cecc%27" }, "responses": { "200": { diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdInFilter.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdInFilter.json index 0d28a637d6f0..868711ce2b0e 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdInFilter.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdInFilter.json @@ -2,7 +2,7 @@ "parameters": { "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", "api-version": "2022-10-01", - "$filter": "$filter=managedByTenantId in (83abe5cd-bcc3-441a-bd86-e6a75360cec, de83f4a9-a76a-4025-a91a-91171923eac7)" + "$filter": "%24filter%3DmanagedByTenantId+in+%28%2783abe5cd-bcc3-441a-bd86-e6a75360cec%27%2C+%27de83f4a9-a76a-4025-a91a-91171923eac7%27%29" }, "responses": { "200": { diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdEqFilter.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdEqFilter.json index c6db78b0dc23..55ddd4f07466 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdEqFilter.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdEqFilter.json @@ -2,7 +2,7 @@ "parameters": { "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", "api-version": "2022-10-01", - "$filter": "$filter=managedByTenantId eq '83ace5cd-bcc3-441a-hd86-e6a75360cecc'" + "$filter": "%24filter%3DmanagedByTenantId+eq+%2783ace5cd-bcc3-441a-hd86-e6a75360cecc%27" }, "responses": { "200": { diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdInFilter.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdInFilter.json index 773291da1605..071aea7a1d64 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdInFilter.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdInFilter.json @@ -2,7 +2,7 @@ "parameters": { "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", "api-version": "2022-10-01", - "$filter": "$filter=managedByTenantId in (83ace5cd-bcc3-441a-hd86-e6a75360cecc, de83f4a9-a76a-4025-a91a-91171923eac7)" + "$filter": "%24filter%3DmanagedByTenantId+in+%28%2783ace5cd-bcc3-441a-hd86-e6a75360cecc%27%2C+%27de83f4a9-a76a-4025-a91a-91171923eac7%27%29" }, "responses": { "200": { From 20fd9229df2f2693d4154daf6df9dba6fc9bbb42 Mon Sep 17 00:00:00 2001 From: "NORTHAMERICA\\dramuy" Date: Mon, 26 Jun 2023 17:29:53 -0700 Subject: [PATCH 3/3] Addressing the Location header issue on Delete Registration assignment Async operation response --- .../2022-10-01/examples/DeleteRegistrationAssignment.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/DeleteRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/DeleteRegistrationAssignment.json index 8ea5ce3fd64d..1385e380fd29 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/DeleteRegistrationAssignment.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/DeleteRegistrationAssignment.json @@ -7,6 +7,10 @@ "responses": { "200": {}, "204": {}, - "202": {} + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/operationStatuses/eyJmdWxseVF1YWxpZmll...Y4NTZCNSJ9?api-version=2022-10-01" + } + } } }