/// <summary> /// Updates an integration service environment. /// </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='integrationServiceEnvironment'> /// The integration service environment. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IntegrationServiceEnvironment> BeginUpdateAsync(this IIntegrationServiceEnvironmentsOperations operations, string resourceGroup, string integrationServiceEnvironmentName, IntegrationServiceEnvironment integrationServiceEnvironment, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginUpdateWithHttpMessagesAsync(resourceGroup, integrationServiceEnvironmentName, integrationServiceEnvironment, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }