-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: jsonfmt managementgroups (#6154)
Ran `jsonfmt -w "specification/managementgroups/**/*.json"`
- Loading branch information
1 parent
a2e744b
commit f1841da
Showing
47 changed files
with
2,456 additions
and
2,435 deletions.
There are no files selected for viewing
60 changes: 30 additions & 30 deletions
60
.../resource-manager/Microsoft.Management/preview/2017-08-31-preview/examples/GetGroups.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2017-08-31-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/providers/Microsoft.Management/managementGroups/10000000-d002-0000-0000-000000000000", | ||
"type": "/providers/Microsoft.Management/managementGroups", | ||
"name": "10000000-d002-0000-0000-000000000000", | ||
"properties": { | ||
"tenantId": "10000000-0000-0000-0000-000000000000", | ||
"displayName": "Department 2 under Enrollment 1" | ||
} | ||
}, | ||
{ | ||
"id": "/providers/Microsoft.Management/managementGroups/10000000-a001-0000-0000-000000000000", | ||
"type": "/providers/Microsoft.Management/managementGroups", | ||
"name": "10000000-a001-0000-0000-000000000000", | ||
"properties": { | ||
"tenantId": "10000000-0000-0000-0000-000000000000", | ||
"displayName": "Account 1, under Department 1" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
"parameters": { | ||
"api-version": "2017-08-31-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/providers/Microsoft.Management/managementGroups/10000000-d002-0000-0000-000000000000", | ||
"type": "/providers/Microsoft.Management/managementGroups", | ||
"name": "10000000-d002-0000-0000-000000000000", | ||
"properties": { | ||
"tenantId": "10000000-0000-0000-0000-000000000000", | ||
"displayName": "Department 2 under Enrollment 1" | ||
} | ||
}, | ||
{ | ||
"id": "/providers/Microsoft.Management/managementGroups/10000000-a001-0000-0000-000000000000", | ||
"type": "/providers/Microsoft.Management/managementGroups", | ||
"name": "10000000-a001-0000-0000-000000000000", | ||
"properties": { | ||
"tenantId": "10000000-0000-0000-0000-000000000000", | ||
"displayName": "Account 1, under Department 1" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
50 changes: 25 additions & 25 deletions
50
...-manager/Microsoft.Management/preview/2017-08-31-preview/examples/GetManagementGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2017-08-31-preview", | ||
"groupId": "20000000-0001-0000-0000-000000000000" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000", | ||
"type": "/providers/Microsoft.Management/managementGroups", | ||
"name": "20000000-0001-0000-0000-000000000000", | ||
"properties": { | ||
"tenantId": "20000000-0000-0000-0000-000000000000", | ||
"displayName": "Group 1 Tenant 2", | ||
"details": { | ||
"version": 1, | ||
"updatedTime": "2017-01-01T00:00:00.00Z", | ||
"updatedBy": "Test", | ||
"parent": "null", | ||
"managementGroupType": "Enrollment" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
"parameters": { | ||
"api-version": "2017-08-31-preview", | ||
"groupId": "20000000-0001-0000-0000-000000000000" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000", | ||
"type": "/providers/Microsoft.Management/managementGroups", | ||
"name": "20000000-0001-0000-0000-000000000000", | ||
"properties": { | ||
"tenantId": "20000000-0000-0000-0000-000000000000", | ||
"displayName": "Group 1 Tenant 2", | ||
"details": { | ||
"version": 1, | ||
"updatedTime": "2017-01-01T00:00:00.00Z", | ||
"updatedBy": "Test", | ||
"parent": "null", | ||
"managementGroupType": "Enrollment" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
92 changes: 47 additions & 45 deletions
92
...icrosoft.Management/preview/2017-08-31-preview/examples/GetManagementGroupWithExpand.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,48 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2017-08-31-preview", | ||
"groupId": "10000000-E001-0000-0000-000000000000", | ||
"$expand": "children" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/providers/Microsoft.Management/managementGroups/10000000-E001-0000-0000-000000000000", | ||
"type": "/providers/Microsoft.Management/managementGroups", | ||
"name": "10000000-E001-0000-0000-000000000000", | ||
"properties": { | ||
"tenantId": "10000000-0000-0000-0000-000000000000", | ||
"displayName": "Enrollment 1, under Tenant 1", | ||
"details": { | ||
"version": 1, | ||
"updatedTime": "2017-02-13T00:00:00Z", | ||
"updatedBy": "*", | ||
"managementGroupType": "Enrollment" | ||
}, | ||
"children": [{ | ||
"childType": "Department", | ||
"childId": "/providers/Microsoft.Management/managementGroups/10000000-D001-0000-0000-000000000000", | ||
"displayName": "Department 1 under Enrollment 1" | ||
}, | ||
{ | ||
"childType": "Department", | ||
"childId": "/providers/Microsoft.Management/managementGroups/10000000-D002-0000-0000-000000000000", | ||
"displayName": "Department 2 under Enrollment 1" | ||
}, | ||
{ | ||
"childType": "Account", | ||
"childId": "/providers/Microsoft.Management/managementGroups/10000000-A004-0000-0000-000000000000", | ||
"displayName": "Account 4, under Enrollment 1" | ||
}, | ||
{ | ||
"childType": "Account", | ||
"childId": "/providers/Microsoft.Management/managementGroups/10000000-A005-0000-0000-000000000000", | ||
"displayName": "Account 5, under Enrollment 1" | ||
}] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
"parameters": { | ||
"api-version": "2017-08-31-preview", | ||
"groupId": "10000000-E001-0000-0000-000000000000", | ||
"$expand": "children" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/providers/Microsoft.Management/managementGroups/10000000-E001-0000-0000-000000000000", | ||
"type": "/providers/Microsoft.Management/managementGroups", | ||
"name": "10000000-E001-0000-0000-000000000000", | ||
"properties": { | ||
"tenantId": "10000000-0000-0000-0000-000000000000", | ||
"displayName": "Enrollment 1, under Tenant 1", | ||
"details": { | ||
"version": 1, | ||
"updatedTime": "2017-02-13T00:00:00Z", | ||
"updatedBy": "*", | ||
"managementGroupType": "Enrollment" | ||
}, | ||
"children": [ | ||
{ | ||
"childType": "Department", | ||
"childId": "/providers/Microsoft.Management/managementGroups/10000000-D001-0000-0000-000000000000", | ||
"displayName": "Department 1 under Enrollment 1" | ||
}, | ||
{ | ||
"childType": "Department", | ||
"childId": "/providers/Microsoft.Management/managementGroups/10000000-D002-0000-0000-000000000000", | ||
"displayName": "Department 2 under Enrollment 1" | ||
}, | ||
{ | ||
"childType": "Account", | ||
"childId": "/providers/Microsoft.Management/managementGroups/10000000-A004-0000-0000-000000000000", | ||
"displayName": "Account 4, under Enrollment 1" | ||
}, | ||
{ | ||
"childType": "Account", | ||
"childId": "/providers/Microsoft.Management/managementGroups/10000000-A005-0000-0000-000000000000", | ||
"displayName": "Account 5, under Enrollment 1" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.