Exemplo n.º 1
0
 /// <summary>
 /// Gets all the data stores/repositories in the given resource.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The Resource Group Name
 /// </param>
 /// <param name='dataManagerName'>
 /// The name of the DataManager Resource within the specified resource group.
 /// DataManager names must be between 3 and 24 characters in length and use any
 /// alphanumeric and underscore only
 /// </param>
 /// <param name='odataQuery'>
 /// OData parameters to apply to the operation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <DataStore> > ListByDataManagerAsync(this IDataStoresOperations operations, string resourceGroupName, string dataManagerName, ODataQuery <DataStoreFilter> odataQuery = default(ODataQuery <DataStoreFilter>), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListByDataManagerWithHttpMessagesAsync(resourceGroupName, dataManagerName, odataQuery, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }