def list_with_http_info(skiptoken:nil, skip:nil, top:nil, select:nil, search:nil, filter:nil, view:nil, group_name:nil, cache_control:'no-cache', custom_headers:nil)
      list_async(skiptoken:skiptoken, skip:skip, top:top, select:select, search:search, filter:filter, view:view, group_name:group_name, cache_control:cache_control, custom_headers:custom_headers).value!
    end
def list_with_http_info(skiptoken:nil, skip:nil, top:nil, select:nil, search:nil, filter:nil, view:nil, group_name:nil, cache_control:'no-cache', custom_headers:nil)
      list_async(skiptoken:skiptoken, skip:skip, top:top, select:select, search:search, filter:filter, view:view, group_name:group_name, cache_control:cache_control, custom_headers:custom_headers).value!
    end
List all entities (Management Groups, Subscriptions, etc.) for the
 authenticated user.

 @param skiptoken [String] Page continuation token is only used if a previous
 operation returned a partial result. If a previous response contains a
 nextLink element, the value of the nextLink element will include a token
 parameter that specifies a starting point to use for subsequent calls.
 @param skip [Integer] Number of entities to skip over when retrieving
 results. Passing this in will override $skipToken.
 @param top [Integer] Number of elements to return when retrieving results.
 Passing this in will override $skipToken.
 @param select [String] This parameter specifies the fields to include in the
 response. Can include any combination of
 Name,DisplayName,Type,ParentDisplayNameChain,ParentChain, e.g.
 '$select=Name,DisplayName,Type,ParentDisplayNameChain,ParentNameChain'. When
 specified the $select parameter can override select in $skipToken.
 @param search [Enum] 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. Possible
 values include: 'AllowedParents', 'AllowedChildren',
 'ParentAndFirstLevelChildren', 'ParentOnly', 'ChildrenOnly'
 @param filter [String] The filter parameter allows you to filter on the the
 name or display name fields. You can check for equality on the name field
 (e.g. name eq '{entityName}')  and you can check for substrings on either the
 name or display name fields(e.g. contains(name, '{substringToSearch}'),
 contains(displayName, '{substringToSearch')). Note that the '{entityName}'
 and '{substringToSearch}' fields are checked case insensitively.
 @param view [Enum] The view parameter allows clients to filter the type of
 data that is returned by the getEntities call. Possible values include:
 'FullHierarchy', 'GroupsOnly', 'SubscriptionsOnly', 'Audit'
 @param group_name [String] A filter which allows the get entities call to
 focus on a particular group (i.e. "$filter=name eq 'groupName'")
 @param cache_control [String] Indicates that the request shouldn't utilize
 any caches.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.