Пример #1
0
 /// <summary>
 /// To list all the file servers available under the given subscription (and
 /// across all resource groups within that subscription)
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='fileServersListOptions'>
 /// Additional parameters for the operation
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <FileServerInner> > ListAsync(this IFileServersOperations operations, FileServersListOptionsInner fileServersListOptions = default(FileServersListOptionsInner), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListWithHttpMessagesAsync(fileServersListOptions, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }