def list_by_subscription(skiptoken:nil, custom_headers:nil)
      first_page = list_by_subscription_as_lazy(skiptoken:skiptoken, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_by_subscription(skiptoken:nil, custom_headers:nil)
      first_page = list_by_subscription_as_lazy(skiptoken:skiptoken, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_by_subscription ( skiptoken : nil , custom_headers : nil ) first_page = list_by_subscription_as_lazy ( skiptoken : skiptoken , custom_headers :custom_headers ) first_page . get_all_items end
Lists all the available machine learning workspaces under the specified
 subscription.

 @param skiptoken [String] Continuation token for pagination.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<Workspace>] operation results.
Lists all the available machine learning workspaces under the specified subscription .