/// <summary>
 /// Gets the integration service environment managed Apis.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroup'>
 /// The resource group.
 /// </param>
 /// <param name='integrationServiceEnvironmentName'>
 /// The integration service environment name.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <ManagedApi> > ListAsync(this IIntegrationServiceEnvironmentManagedApisOperations operations, string resourceGroup, string integrationServiceEnvironmentName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroup, integrationServiceEnvironmentName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Gets the integration service environment managed Api.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroup'>
 /// The resource group name.
 /// </param>
 /// <param name='integrationServiceEnvironmentName'>
 /// The integration service environment name.
 /// </param>
 /// <param name='apiName'>
 /// The api name.
 /// </param>
 public static ManagedApi Get(this IIntegrationServiceEnvironmentManagedApisOperations operations, string resourceGroup, string integrationServiceEnvironmentName, string apiName)
 {
     return(operations.GetAsync(resourceGroup, integrationServiceEnvironmentName, apiName).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Deletes the integration service environment managed Api.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroup'>
 /// The resource group.
 /// </param>
 /// <param name='integrationServiceEnvironmentName'>
 /// The integration service environment name.
 /// </param>
 /// <param name='apiName'>
 /// The api name.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task BeginDeleteAsync(this IIntegrationServiceEnvironmentManagedApisOperations operations, string resourceGroup, string integrationServiceEnvironmentName, string apiName, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroup, integrationServiceEnvironmentName, apiName, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <summary>
 /// Gets the integration service environment managed Apis.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 public static IPage <ManagedApi> ListNext(this IIntegrationServiceEnvironmentManagedApisOperations operations, string nextPageLink)
 {
     return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Deletes the integration service environment managed Api.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroup'>
 /// The resource group.
 /// </param>
 /// <param name='integrationServiceEnvironmentName'>
 /// The integration service environment name.
 /// </param>
 /// <param name='apiName'>
 /// The api name.
 /// </param>
 public static void BeginDelete(this IIntegrationServiceEnvironmentManagedApisOperations operations, string resourceGroup, string integrationServiceEnvironmentName, string apiName)
 {
     operations.BeginDeleteAsync(resourceGroup, integrationServiceEnvironmentName, apiName).GetAwaiter().GetResult();
 }