Exemplo n.º 1
0
 /// <summary>
 /// Lists the Data Lake Store accounts within the subscription. The response
 /// includes a link to the next page of results, if any.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='odataQuery'>
 /// OData parameters to apply to the operation.
 /// </param>
 /// <param name='select'>
 /// OData Select statement. Limits the properties on each entry to just those
 /// requested, e.g. Categories?$select=CategoryName,Description. Optional.
 /// </param>
 /// <param name='count'>
 /// The Boolean value of true or false to request a count of the matching
 /// resources included with the resources in the response, e.g.
 /// Categories?$count=true. Optional.
 /// </param>
 /// <param name='search'>
 /// A free form search. A free-text search expression to match for whether a
 /// particular entry should be included in the feed, e.g.
 /// Categories?$search=blue OR green. Optional.
 /// </param>
 /// <param name='format'>
 /// The desired return format. Return the response in particular formatxii
 /// without access to request headers for standard content-type negotiation
 /// (e.g Orders?$format=json). Optional.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <DataLakeStoreAccount> > ListAsync(this IAccountOperations operations, ODataQuery <DataLakeStoreAccount> odataQuery = default(ODataQuery <DataLakeStoreAccount>), string select = default(string), bool?count = default(bool?), string search = default(string), string format = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListWithHttpMessagesAsync(odataQuery, select, count, search, format, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Gets information about the Batch accounts associated with the subscription.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <AccountResource> > ListAsync(this IAccountOperations operations, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }