public async virtual Task <Response> DeleteVnetRouteAsync(string routeName, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(routeName, nameof(routeName)); using var scope = _serverfarmVirtualNetworkConnectionAppServicePlansClientDiagnostics.CreateScope("ServerfarmVirtualNetworkConnection.DeleteVnetRoute"); scope.Start(); try { var response = await _serverfarmVirtualNetworkConnectionAppServicePlansRestClient.DeleteVnetRouteAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, routeName, cancellationToken).ConfigureAwait(false); return(response); } catch (Exception e) { scope.Failed(e); throw; } }