diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/GetEntities.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/GetEntities.json index 91a26cba5065..d233d7d30ea0 100644 --- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/GetEntities.json +++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/GetEntities.json @@ -21,7 +21,9 @@ "inheritedPermissions": "view", "parentDisplayNameChain": ["Tenant Root Group", "Group 1 Tenant 2 Parent"], "parentNameChain": ["TenantRootGroup", "Group1Tenant2Parent"], - "numberOfDescendants": 2 + "numberOfDescendants": 3, + "numberOfChildren": 2, + "numberOfChildGroups": 1 } }, { @@ -38,8 +40,9 @@ "inheritedPermissions": "delete", "parentDisplayNameChain": ["Tenant Root Group", "Group 4 Tenant 2 Parent"], "parentNameChain": ["TenantRootGroup", "Group4 Tenant2Parent"], - "numberOfDescendants": 0 - } + "numberOfDescendants": 0, + "numberOfChildren": 0, + "numberOfChildGroups": 0 } } ], "nextLink": null diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json index 691c4f2d8eaf..f517d090124c 100644 --- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json +++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json @@ -955,6 +955,11 @@ "$ref": "#/definitions/EntityInfo" } }, + "count": { + "description": "Total count of records that match the filter", + "type": "integer", + "readOnly": true + }, "nextLink": { "description": "The URL to use for getting the next set of results.", "type": "string", @@ -1024,6 +1029,18 @@ "type": "integer", "x-nullable": true }, + "numberOfChildren": { + "title": "Number of Children", + "description": "Number of children is the number of Groups and Subscriptions that are exactly one level underneath the current Group.", + "type": "integer", + "x-nullable": true + }, + "numberOfChildGroups": { + "title": "Number of Child Groups", + "description": "Number of child groups is the number of Groups that are exactly one level underneath the current Group.", + "type": "integer", + "x-nullable": true + }, "parentDisplayNameChain": { "type": "array", "description": "The parent display name chain from the root group to the immediate parent", @@ -1407,7 +1424,9 @@ "enum": [ "AllowedParents", "AllowedChildren", - "ParentAndFirstLevelChildren" + "ParentAndFirstLevelChildren", + "ParentOnly", + "ChildrenOnly" ], "x-ms-parameter-location": "method", "description": "The $search parameter is used in conjunction with the $filter parameter to return three different outputs depending on the parameter passed in. With $search=AllowedParents the API will return the entity info of all groups that the requested entity will be able to reparent to as determined by the user's permissions. With $search=AllowedChildren the API will return the entity info of all entities that can be added as children of the requested entity. With $search=ParentAndFirstLevelChildren the API will return the parent and first level of children that the user has either direct access to or indirect access via one of their descendants."