Skip to content

Commit 731790f

Browse files
authored
Fixing the API-version in ManagedServices examples (#24578)
* Fixing the API-version in ManagedServices examples * Addressing the swagger errors * Addressing the Location header issue on Delete Registration assignment Async operation response
1 parent 9383e81 commit 731790f

5 files changed

Lines changed: 13 additions & 9 deletions

specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/DeleteRegistrationAssignment.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
"responses": {
88
"200": {},
99
"204": {},
10-
"202": {}
10+
"202": {
11+
"headers": {
12+
"Location": "https://management.azure.com/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/operationStatuses/eyJmdWxseVF1YWxpZmll...Y4NTZCNSJ9?api-version=2022-10-01"
13+
}
14+
}
1115
}
1216
}

specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdEqFilter.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"parameters": {
33
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
4-
"api-version": "2021-11-01-preview",
5-
"$filter": "$filter=managedByTenantId eq '83abe5cd-bcc3-441a-bd86-e6a75360cecc'"
4+
"api-version": "2022-10-01",
5+
"$filter": "%24filter%3DmanagedByTenantId+eq+%2783abe5cd-bcc3-441a-bd86-e6a75360cecc%27"
66
},
77
"responses": {
88
"200": {

specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdInFilter.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"parameters": {
33
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
4-
"api-version": "2021-11-01-preview",
5-
"$filter": "$filter=managedByTenantId in (83abe5cd-bcc3-441a-bd86-e6a75360cec, de83f4a9-a76a-4025-a91a-91171923eac7)"
4+
"api-version": "2022-10-01",
5+
"$filter": "%24filter%3DmanagedByTenantId+in+%28%2783abe5cd-bcc3-441a-bd86-e6a75360cec%27%2C+%27de83f4a9-a76a-4025-a91a-91171923eac7%27%29"
66
},
77
"responses": {
88
"200": {

specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdEqFilter.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"parameters": {
33
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
4-
"api-version": "2021-11-01-preview",
5-
"$filter": "$filter=managedByTenantId eq '83ace5cd-bcc3-441a-hd86-e6a75360cecc'"
4+
"api-version": "2022-10-01",
5+
"$filter": "%24filter%3DmanagedByTenantId+eq+%2783ace5cd-bcc3-441a-hd86-e6a75360cecc%27"
66
},
77
"responses": {
88
"200": {

specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdInFilter.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"parameters": {
33
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
4-
"api-version": "2021-11-01-preview",
5-
"$filter": "$filter=managedByTenantId in (83ace5cd-bcc3-441a-hd86-e6a75360cecc, de83f4a9-a76a-4025-a91a-91171923eac7)"
4+
"api-version": "2022-10-01",
5+
"$filter": "%24filter%3DmanagedByTenantId+in+%28%2783ace5cd-bcc3-441a-hd86-e6a75360cecc%27%2C+%27de83f4a9-a76a-4025-a91a-91171923eac7%27%29"
66
},
77
"responses": {
88
"200": {

0 commit comments

Comments
 (0)