/// <summary>
 /// Return the gateway status of the specified Analysis Services server
 /// instance.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the Azure Resource group of which a given Analysis Services
 /// server is part. This name must be at least 1 character in length, and no
 /// more than 90.
 /// </param>
 /// <param name='serverName'>
 /// The name of the Analysis Services server.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <GatewayListStatusLive> ListGatewayStatusAsync(this IServersOperations operations, string resourceGroupName, string serverName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListGatewayStatusWithHttpMessagesAsync(resourceGroupName, serverName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }