Skip to content

Commit

Permalink
chore: jsonfmt managementgroups (#6154)
Browse files Browse the repository at this point in the history
Ran `jsonfmt -w "specification/managementgroups/**/*.json"`
  • Loading branch information
nschonni authored and sergey-shandar committed Jun 4, 2019
1 parent a2e744b commit f1841da
Show file tree
Hide file tree
Showing 47 changed files with 2,456 additions and 2,435 deletions.
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"
}
}
]
}
}
}
}
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"
}
}
}
}
}
}
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"
}
]
}
}
}
}
}
Loading

0 comments on commit f1841da

Please sign in to comment.