/// <summary> /// Gets a list of integration service environments by subscription. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='top'> /// The number of items to be included in the result. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <IntegrationServiceEnvironment> > ListBySubscriptionAsync(this IIntegrationServiceEnvironmentsOperations operations, int?top = default(int?), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListBySubscriptionWithHttpMessagesAsync(top, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }