Ejemplo n.º 1
0
 /// <summary>
 /// Lists the Data Lake Store accounts within a specific resource group. 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='resourceGroupName'>
 /// The name of the Azure resource group that contains the Data Lake Store
 /// account(s).
 /// </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'>
 /// A 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> > ListByResourceGroupAsync(this IAccountOperations operations, string resourceGroupName, 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.ListByResourceGroupWithHttpMessagesAsync(resourceGroupName, odataQuery, select, count, search, format, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets information about the Batch accounts associated within the specified
 /// resource group.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group whose Batch accounts to list.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <AccountResource> > ListByResourceGroupAsync(this IAccountOperations operations, string resourceGroupName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListByResourceGroupWithHttpMessagesAsync(resourceGroupName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }