Skip to content

Commit 2e8eb98

Browse files
ArcturusZhangFredericHeem
authored andcommitted
add x-ms-enum for management groups (Azure#17231)
1 parent 1f710ee commit 2e8eb98

File tree

1 file changed

+12
-0
lines changed
  • specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01

1 file changed

+12
-0
lines changed

specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/management.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1980,6 +1980,10 @@
19801980
"path",
19811981
"ancestors"
19821982
],
1983+
"x-ms-enum": {
1984+
"name": "ManagementGroupExpandType",
1985+
"modelAsString": true
1986+
},
19831987
"x-ms-parameter-location": "method",
19841988
"description": "The $expand=children query string parameter allows clients to request inclusion of children in the response payload. $expand=path includes the path from the root group to the current group. $expand=ancestors includes the ancestor Ids of the current group."
19851989
},
@@ -2047,6 +2051,10 @@
20472051
"ParentOnly",
20482052
"ChildrenOnly"
20492053
],
2054+
"x-ms-enum": {
2055+
"name": "EntitySearchType",
2056+
"modelAsString": true
2057+
},
20502058
"x-ms-parameter-location": "method",
20512059
"description": "The $search parameter is used in conjunction with the $filter parameter to return three different outputs depending on the parameter passed in. \nWith $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.\nWith $search=AllowedChildren the API will return the entity info of all entities that can be added as children of the requested entity.\nWith $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.\nWith $search=ParentOnly the API will return only the group if the user has access to at least one of the descendants of the group.\nWith $search=ChildrenOnly the API will return only the first level of children of the group entity info specified in $filter. The user must have direct access to the children entities or one of it's descendants for it to show up in the results."
20522060
},
@@ -2121,6 +2129,10 @@
21212129
"SubscriptionsOnly",
21222130
"Audit"
21232131
],
2132+
"x-ms-enum": {
2133+
"name": "EntityViewParameterType",
2134+
"modelAsString": true
2135+
},
21242136
"x-ms-parameter-location": "method",
21252137
"description": "The view parameter allows clients to filter the type of data that is returned by the getEntities call."
21262138
}

0 commit comments

Comments
 (0)