Skip to content

Commit 9dd05d3

Browse files
nschonnierich-wang
authored andcommitted
fix: managementgroups model validation (#6697)
- Add "body" to response - createGroupRequest -> createManagementGroupRequest
1 parent 2fcd013 commit 9dd05d3

File tree

5 files changed

+19
-11
lines changed

5 files changed

+19
-11
lines changed

specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/CheckManagementGroupNameAvailability.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99
},
1010
"responses": {
1111
"200": {
12-
"nameAvailable": "true|false",
13-
"reason": "Invalid|AlreadyExists",
14-
"message": "<error message>"
12+
"body": {
13+
"nameAvailable": false,
14+
"reason": "AlreadyExists",
15+
"message": "<error message>"
16+
}
1517
}
1618
}
1719
}

specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/PutManagementGroup.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"parameters": {
33
"api-version": "2018-01-01-preview",
44
"groupId": "ChildGroup",
5-
"createGroupRequest": {
5+
"createManagementGroupRequest": {
66
"properties": {
77
"displayName": "ChildGroup",
88
"parent": {

specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/CheckManagementGroupNameAvailability.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99
},
1010
"responses": {
1111
"200": {
12-
"nameAvailable": "true|false",
13-
"reason": "Invalid|AlreadyExists",
14-
"message": "<error message>"
12+
"body": {
13+
"nameAvailable": false,
14+
"reason": "AlreadyExists",
15+
"message": "<error message>"
16+
}
1517
}
1618
}
1719
}

specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/StartTenantBackfillRequest.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
},
66
"responses": {
77
"200": {
8-
"tenantId": "20000000-0000-0000-0000-000000000000",
9-
"status": "Started"
8+
"body": {
9+
"tenantId": "20000000-0000-0000-0000-000000000000",
10+
"status": "Started"
11+
}
1012
}
1113
}
1214
}

specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/TenantBackfillStatusRequest.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
},
66
"responses": {
77
"200": {
8-
"tenantId": "20000000-0000-0000-0000-000000000000",
9-
"status": "Started"
8+
"body": {
9+
"tenantId": "20000000-0000-0000-0000-000000000000",
10+
"status": "Started"
11+
}
1012
}
1113
}
1214
}

0 commit comments

Comments
 (0)